hacking contest

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

Merchantp
alright this has got to be so freakin simple it's in front of my noobish eyes but neway it's around 4 am and i'm frustrated because im having troulbe with the very end of a batch.

thx to webdav autorooter for giving me code for this part:

@echo off
@echo give me the txt file with IPs
set /p list=
@echo off
FOR /F "tokens=1* delims=, " %%i in (%list%) do merchantp.exe %%i >> results.txt

it's supposed to take merchantp.exe and input each ip in a list right after it then enter, exploiting a list of ips which it does and puts results into results.txt but what i want is that after it drops shell to remote comp it wont hang but rather "exit" then go on to the next line problem is I dont know exactly how to get it to input "exit" once a shell is received maybe a if exist or something bleh i dunno =/ thats why im asking for help.....so please help blink.gif


MP
Merchantp
bump because i really need an answer =/
agamemnon
Maybe you're not getting any help because people don't really know how the data being processed by merchantp.exe is presented to your batch script...

Just a thought.

-ed.
Merchantp
did it in the source thx neway tho
jimmy
yup
is good to know smile.gif
nice 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.