Portscan en php

Iniciado por ANTRAX, Febrero 24, 2010, 11:30:31 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Febrero 24, 2010, 11:30:31 AM Ultima modificación: Marzo 22, 2014, 02:26:09 PM por Expermicid
Código: php
<html>
<head>

<title>-cSc Port Scaner-</title>

<style type="text/css">
b {color: green}
p {color: white}
h4 {color: red}
</style>

</head>
<body bgcolor = "#010101">
<center>
</br></br></br></br>
<img src="http://www.csc-n3tw0rk.org/portscan/header.jpg"><br>
<form name="input" action="" method="post">
<p>TARGET IP:</p>
<input type="text" name="ip" size="15" maxlength="30" value = "www.google.com"></br>
<p>PORT TO SCAN:</p>
<input type="text" name="port" size="15" maxlength="15" value = "80"></br></br>
<input type="submit" value="Start Scaning"></br></br>

<?php
set_time_limit(0);
$ip = $_POST['ip'];
$port = $_POST['port'];

$connection = @fsockopen($ip, $port);
if ($connection) {
    echo "<b>Port $port on $ip is open.</b>";
    fclose($connection);
} else {
    echo "<h4>Port $port on $ip is not open.</h4>";
}


?>
</center>
</body>



he encontrado este simple escaner de puertos en php .. ideal para cuando tenemos algun servidor donde No tienes permitido ver los links. Registrarse o Entrar a mi cuenta puede mejorar.