*** PortScan v3.4
*** PortListen v2.2
*** by Kall (kall@scripterspt.org)

for mIRC v5.71+

 I believe this is self-explanatory...

 The portscanner is just that, a portscanner. It scans a given host for open ports, by connecting to them all. Be aware that some users may consider this as an attack.
 It features logging and socket flood protection.
 You can choose the delay as you want, but keep in mind that, the less delay it has, the faster it will scan...but will also have less time for each connection, so it could pass over some open ports. 100 or 50ms is a reasonable delay, depending on your connection.

 The portlisten is the opposite, it's main use is to detect other user's scans. You get the script listening on given ports, and it will warn you if someone attempted to connect to them, and his/her IP.
 Also features logging (until disconnection), SYN flood protection (it closes the socket for 10secs after being connected), and auto-start on connect.

 Since it's an .ini file, the settings are also saved in it.

Instalation:
 Unzip all files to any directory
 Then, just type //load -rs $$file *
and then locate the file ports.ini

Usage:
 You can type /pscan for the portscanner and /pl for the portlistener

End:
 This code was adapted from extreme script (http://kall.cjb.net)
 If you want to use it in your script, plz drop me a line first

contact (as above):
 kall@scripterspt.org
 http://kall.cjb.net

Kall 2000
