Results 1 to 1 of 1
Threaded View
-
7th Dec 2011, 05:45 PM #1OPBannedWebsite's:
Seecure.me[PHP] ProbeMyPorts
[PHP] ProbeMyPorts
Code:<?php error_reporting(0); /* * Author : Vick Kumar * Website : www.phpcanyon.net * Date : 8/12/2011 * Purpose : Probe a User Specified Port */ $port = $_GET['port']; if($port=="") { echo 'Please enter a Port then press submit!'; } else { $url = "https://www.grc.com/x/portprobe=$port"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); curl_close($ch); if(strpos($result, 'Stealth') !== false) { echo "$port is in stealth-mode. There is no existance of this port open on the internet to anyone."; } else echo "$port is open, close it or you can get hacked/ddos'd"; } ?> <html> <head> <title>PHP PmP Script</title> </head> <body> <form method="get" action="probemyport.php"> Enter Port: <input type="text" size="5" name="port" /><input type="submit" value="Submit"/> </form> </body> </html>
_Vick Reviewed by _Vick on . [PHP] ProbeMyPorts ProbeMyPorts <?php error_reporting(0); /* * Author : Vick Kumar * Website : www.phpcanyon.net * Date : 8/12/2011 * Purpose : Probe a User Specified Port Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
themaCreator - create posts from...
Version 3.45 released. Open older version (or...