hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Scan500 + Batchfile
Stevy
I made a cpl of bat files for scan500 like :

scan500 -p port ip-ip

is it possible to make something like a description like

scan500 -p port ip-ip "university of ..."

so the scan executable won't take the " university of...." as an command?

thx
blackP0ster
you can make your .bat like that:

@echo off
echo scanning univiersity of nyc..>>scan.bat
scan.exe -p port ip-ip
echo scanning univiersity of la..>>scan.bat
scan.exe -p port ip-ip
...
then it will be logged in scan.txt.

or if you scan local smile.gif
@echo off
echo scanning univiersity of nyc..
scan.exe -p port ip-ip
echo scanning univiersity of la..
scan.exe -p port ip-ip
...

hope i've helped

black
Stevy
thx for the quick reply, will try it @ home.

thx for the help
ZoraX
QUOTE (blackP0ster @ Apr 19 2004, 05:52 PM)
you can make your .bat like that:

@echo off
echo scanning univiersity of nyc..>>scan.bat
scan.exe -p port ip-ip
echo scanning univiersity of la..>>scan.bat
scan.exe -p port ip-ip
...
then it will be logged in scan.txt.

wont work, u have to use a batch file like this:
echo scanning univiersity of nyc.. >> scan.txt
scan.exe -p port ip-ip
echo scanning univiersity of la.. >> scan.txt
scan.exe -p port ip-ip


u used scan.bat insted of scan.txt, just a writing mistake i guess:)
blackP0ster
oh..sorry!

you're right smile.gif

change scan.bat to scan.txt..then it works!
Stephen79
I like to add a start and end time cmd in there too.
Joc00
Now thats dedication for scanning smile.gif
might add that on 2 thx for the info guys and or gals biggrin.gif
Lanig
QUOTE (Stephen79 @ Apr 21 2004, 03:50 PM)
I like to add a start and end time cmd in there too.

to add a start time and end time in the scan log all u need to do when the scan starts type before
"time /t >> scan.txt" for the hour
"date /t >> scan.txt" for the date
and after the scan do the same
DevilishCheese
Thanks for this info, i didnt know how to put the date and time in the batch file. Its good too see how long the scans are taking, and also just some good knowledge to know. biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.