Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
LoPoS (Local Port Scanner) - Batch Code Bank
LoPoS (Local Port Scanner)
this batch program uses the netstat command to its advantage to list the ports that are open and listening on the local machine. It then saves the output to a log file for future referance.
this program needs to be set up so that the information gets saved properly. to use this program you have to have the batch program and a file called "LoPoSLogs" the spelling is important XD. You can always go back and edit the code though so it saves the information else where.
@ echo OFF
cd .\LoPoSLogs\
set /P username=Enter your name :
set /P purpose=What is your purpose for running this program :
set /P name=Enter Log name (If the log already exists this info will be appended) :
echo START OF LOG >> %name%_LoPoSlog.txt
echo Author: sh4d0-haxor >> %name%_LoPoSlog.txt
echo Date created: January 21, 2009 >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
echo Program Used by : _%username%_ for the following purpose: -%purpose%_ >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
date /T >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
time /T >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
ipconfig /all >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
netstat -r >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
netstat -a >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
echo END OF LOG >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
date /T >> %name%_LoPoSlog.txt
echo . >> %name%_LoPoSlog.txt
time /T >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
echo --------------------------- >> %name%_LoPoSlog.txt
echo Complete
@ echo ON
pause
Comments
Sorry but there are no comments to display