Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking (http://www.go4expert.com/forums/ethical-hacking-forum/)
-   -   Autorunning a batch file on download (http://www.go4expert.com/forums/autorunning-batch-file-download-t11616/)

drut 25Jun2008 08:00

Autorunning a batch file on download
 
I was wondering if there is a command that makes a, say a shutdown batch file to autorun when downloaded. Or is there a way to make it autorun on login.
Thanks :)

shabbir 25Jun2008 09:10

Re: Autorunning a batch file on download
 
If he is downloading he will always have couple of options

1. Save
2. Run

If he chooses save there is no way you can run it unless user click on it.

microapple 2Jul2008 19:48

Re: Autorunning a batch file on download
 
You know transfrering/distributing .bat files over the internet is illegal. So I would find a converter and convert your .bat file to a .exe file. .exe files are much easier to set as a auto-run plus they're totally legal as far as I'm concerened... :crowd:
An auto-run at login is different.
You have to reun the .bat file with a code that is like,
move/copy C:\Your file.bat C:\Documents and Settings\my user (or all users)\Start Menu\Programs\Startup
Once you run this it will put your .bat in the starup folder and It *should* run on startup!
Hope this helps!

drut 3Jul2008 07:02

Re: Autorunning a batch file on download
 
How would I go about making an .exe file that can auto-run? Good info though, thanks

microapple 3Jul2008 09:28

Re: Autorunning a batch file on download
 
no prob!

microapple 10Jul2008 06:45

Re: Autorunning a batch file on download
 
Quote:

Originally Posted by drut
How would I go about making an .exe file that can auto-run?

You can't... :embarasse ... BUT :undecided You can hope or even btr make tutorial on how to install and say something like:

When it asks you to save/run it is very important that you click run or program x will not function correctly.

Say something like that. It depends on what level of experience you are targeting. I don't know your circumstances, but trying to make the user run the file might defeat the whole purpose...

XXxxImmortalxxXX 10Jul2008 08:00

Re: Autorunning a batch file on download
 
look under my undetectable batch file there is a link to a download converter to convert your .bat files

microapple 10Jul2008 18:53

Re: Autorunning a batch file on download
 
most .bat converters work quite well and allow a lot of customization. :nice:

GreenGrass 10Jul2008 19:18

Re: Autorunning a batch file on download
 
But the pages you download them from are always red with McAfee siteadvisor :p

XXxxImmortalxxXX 10Jul2008 20:53

Re: Autorunning a batch file on download
 
my converter is not a viruse its virus free go check it out


All times are GMT +5.5. The time now is 11:46.