PHP written port query program portscanner

xiaoxiao2021-03-06  82

PHP written port query program portscanner

1) {$ a = min ($ port); $ b = 0; While (Max ($ port)> $ A-1) {$ TMPPORT [$ b] = $ A IF ($ B> 100) {Print "Do Not Scan More Than 100 Ports (Bandwidth Purposes"; exit;} $ A ; $ B ;} $ port = $ tmport;} $ a = 0; $ b = 0 $ Count = count ($ port); print "

Scanning: $ ip ; while ($ b <$ count) {$ fp = Fsockopen ($ IP, $ Port [$ B], & $ Errno, & $ Errstr, 30); if (! $ fp) {print "
Closed: $ port [$ b] ";} else {print"
Opened: $ port [$ b] < / TR> ";} $ b ;} print" "; $ endtime1 = d ATE ("H: I: S"); $ endtime2 = time (); $ TOTALSEC = $ endtime2- $ starttime2; if ($ TOTALSEC == 0) {$ TOTALSEC = 1;} $ portcount = count ($ port) ; $ pps = $ portcount / $ totalsec; print "

Script started at: $ starttime1 and finished at: $ endtime1
Script took: $ totalsec seconds to complete

Ports per second: ";} else {print"

IP :
port: You can use this: from port-to port or port, port, etc ...)
script by: The_eener }?> PHP Moved port sniffer - can specify the website and port

转载请注明原文地址:https://www.9cbs.com/read-105261.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.234, SQL: 9