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
MP