?>
>[ PERSONALIZADO ]</label>
            <label><a href="#" style='margin:5px;' onclick="javascript:popUpCal('bot.php?comando=phpinfo')"> (INFOPHP) </a></label>
            <label><a href="#" style='margin:5px;' onclick="javascript:popUpCal('bot.php?comando=cript')"></a></label>
            <label><a href="#" style='margin:5px;' onclick="javascript:popUpCal('bot.php?comando=fingeprint')"> (FINGEPRINT) </a></label>
        </p>
    </form>
</div>

<div class='resultado' >
    <?php 
$config[] = array();
$config['dork'] = urlencode(opcao(isset($_POST['dork']) ? $_POST['dork'] : '', "DORK!"));
$config['host'] = opcao($_POST['googleHost'], "HOST GOOGLE!");
$config['arquivo'] = opcao($_POST['arquivo'], "ARQUIVO!");
$config['tipoerro'] = opcao($_POST['tipoerro'], "TIPO DE ERRO!");
$config['ipProxy'] = isset($_POST['proxy']) && !empty($_POST['proxy']) ? $_POST['proxy'] : NULL;
$config['porta'] = isset($_POST['porta']) && !empty($_POST['porta']) ? $_POST['porta'] : NULL;
echo !isset($_POST['exploit']) && empty($_POST['exploit']) ? '<info>EXPLOIT SEM DEFINIÇÃO!</info>' : NULL;
$config['url'] = "/search?q={$config['dork']}&num=1500&btnG=Search";
$config['port'] = 80;
$config['host'] = trim($config['host']);
$packet = "GET {$config['url']} HTTP/1.0\r\n";
$packet .= "Host: {$config['host']}\r\n";
$packet .= "Connection: Close\r\n\r\n";
function opcao($valor, $op)
{
    if (isset($valor) && !empty($valor)) {
        return $valor;
    } else {
        echo "<info>FALTA DEFINIR..::: {$op}</info>\n            {$desc}";
Example #2
0
function enviar($metodo, $op)
{
    global $conexao;
    $emailremetente = check_input($_POST['emailremetente']);
    if ($metodo == "Hospedagem") {
        $array_domain = array("@oi.com.br", "@gmail.com");
        foreach ($array_domain as $elemento) {
            $emailsender = str_replace("{$elemento}", "@127.0.0.1", $emailremetente);
        }
    } else {
        if ($metodo == "smtpGmail") {
            require_once "pp/class.phpmailer.php";
            $emailsender = smtplogin();
        }
    }
    $nomeremetente = check_input($_POST['nomeremetente']);
    $assunto = check_input($_POST['assunto']);
    $para = array();
    $para = explode("\n", check_input($_POST['para']));
    $boundary = "XYZ-" . md5(date("dmYis")) . "-ZYX";
    $message = "<div style='background-color:#FFF;color:#FFF;font-family:Arial;font-size:10px;'>";
    $message .= "--{$boundary}" . PHP_EOL;
    //$message .= "Content-Type: text/html; charset='utf-8'" . PHP_EOL;
    $message .= "</div>";
    $message .= "<div style='clear:both;background-color:#FFF;color:#000;'>" . opcao("{$op}") . "</div>";
    //mensagem
    $message .= "<div style='clear:both;margin-top:25px;margin-bottom:15px;height:1px;background-color:lightblue;width:100%;'></div>";
    /*if (isset($_FILES["anexo"]['name'])){
    			echo "Serviço indisponível para manuteção - att andre machado</br>";
    			echo var_dump($_FILES["anexo"]["tmp_name"]);
    			echo var_dump($_FILES["anexo"]["name"]);
    		$path = $_FILES["anexo"]['tmp_name']; 
    		$fileType = $_FILES["anexo"]['type']; 
    		$fileName = $_FILES["anexo"]['name'];
    		$fp = fopen( $path, "rb" ); // abre o arquivo enviado
    		$anexo = fread( $fp, filesize( $path ) ); // calcula o tamanho
    		$anexo = chunk_split(base64_encode( $anexo )); // codifica o anexo em base 64
    		fclose( $fp ); // fecha o arquivo
    
    		$message .= "Content-Type: ". $fileType ."; name=\"". $fileName . "\"" . PHP_EOL;
    		$message .= "Content-Transfer-Encoding: base64" . PHP_EOL;
    		$message .= "Content-Disposition: attachment; filename=\"". $fileName . "\"" . PHP_EOL;
    	}*/
    $message .= "<div style='color:#FFF;font-size:12px;font-weight:normal;font-family:Arial;'> --{$boundary} </div>" . PHP_EOL;
    imprime_headers($para, $nomeremetente, $emailsender, $emailremetente, $assunto);
    $x = 1;
    foreach ($para as $elemento) {
        ?>
	<div style="color:white;border:1px solid black;padding-left:15px;padding-bottom:0px;background-color:rgba(150,50,50,0.3);font-family:Arial;margin-bottom:5px;font-size:12px;">
		<div style="float:left;padding-top:8px;">
			<?php 
        echo "<div class='NUMERO'>{$x}</div>";
        echo "<div style='float:left;'>{$elemento}</div>";
        $x++;
        ?>
		</div>
		<?php 
        if ($metodo == "Hospedagem") {
            $headers = headers($emailsender, $emailremetente, $assunto);
            if (mail($elemento, $assunto, $message, implode("\r\n", $headers), "-r" . $emailsender) && disponivel($_SESSION['userid']) > 0) {
                ENVIADO($elemento, $metodo, $nomeremetente);
            } else {
                FALHA($elemento, $metodo, $nomeremetente);
            }
        } else {
            if ($metodo == "smtpGmail") {
                smtpmailer($elemento, $emailremetente, $nomeremetente, $assunto, $message, $metodo);
            }
        }
        ?>
		<div style="clear:both;"></div>
	</div>
		<?php 
    }
    ?>
<div class="imprime_msgSent">Terminou! Veja a mensagem que foi enviada:</div><?php 
    echo "<div style='font-weight:normal;font-size:12px;font-family:Arial;border:1px solid gray;padding:15px;background-color:#FFF;margin-bottom:5px;'>{$message}</div>";
    echo "<div style='font-weight:normal;font-size:12px;font-family:Arial;border:1px solid gray;padding:15px;background-color:rgba(255,255,255,0.5);margin-bottom:5px;color:black;'>" . htmlentities($message) . "</div>";
    if (isset($_SESSION['errorsmtp'])) {
        echo $_SESSION['errorsmtp'];
        unset($_SESSION['errorsmtp']);
    }
}