Alıntı
<?php
$titulo = 'Linux-H.org [ Register Atttack ] Attack | Defacers';
//------------------------------>
//------------------------------>
include('../../global.php');//-->
$cmd = $_GET["cmd"];
if ($cmd == 'attacker'){
$erro = false;
$urlhttp = false;
$errodominio = false;
$errojustfree = false;
$erromy3gb = false;
$errourl = false;
$erronome = false;
$brinicio = false;
$brfim = false;
$urlok = false;
$url = trim(j($_POST['url']));
$hacker = j($_POST['hacker']);
$falha = j($_POST['falha']);
if (strstr($url, "http://http://")){
$s1 = substr($url, 14, 255);
$s2 = "http://" . $s1;
$url = "".$s2."";
} $sql = mysql_query("SELECT * FROM defacers WHERE url LIKE '%".$url."%'");
if (mysql_num_rows($sql) != 0){
$erro = true;
$errodominio = true;
} $brinicio = true;
$brfim = true;
if ($url == "http://"){
$erro = true;
$urlhttp = true;
} if(strstr($url, ".justfree.com")){
$erro = true;
$errojustfree = true;
} if(strstr($url, ".my3gb.com")){
$erro = true;
$erromy3gb = true;
} if(strlen($url)>255||strlen($url)>0&&(ereg('^http://',$url)!=1||strrpos($url,'.')<10||strstr($url, "=http://")||strstr($url, "%3C")||strstr($url, "=<"))){
$erro = true;
$errourl = true;
} if(strlen($hacker)<2||strlen($hacker)>255){
$erro = true;
$erronome = true;
} if ($erro == false){
$arquivo = md5(uniqid(time())) . "." . htm;
$file = $arquivo;
$erro = 'erro.htm';
if (@copy($url, $file)){
} else {
@copy($erro, $file);
} $data = date("j.m.Y");
mysql_query("Insert Into defacers values (NULL,'$hacker','$url','$falha','$data','$arquivo' ,'n','n')");
$urlok = true;
}
include('../../s1.php');//------>
//------------------------------>
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="c">
<tr>
<td height="28" background="/imgs/barra.jpg">&nbsp;&nbsp;<?=$me_rataque?></td>
</tr>
<tr>
<td bgcolor="#CCCCCC" id="b"><a href="/registrar,attack">Normal</a> | <a href="/registrar,attack,mass">Mass</a><br />
<?
if ($brinicio == true){ ?>
<br>
<? } ?>
<?
if ($errodominio == true){ ?>
<font color="#FF0000">Erro: &quot;
<?=$url?>
&quot;</font> <br>
<? } ?>
<?
if ($errojustfree == true){ ?>
<font color="#FF0000">Erro: &quot;justfree.com&quot;</font>
<br>
<? } ?>
<?
if ($erromy3gb == true){ ?>
<font color="#FF0000">Erro: &quot;my3gb.com&quot;</font>
<br>
<? } ?>
<?
if ($errourl == true){ ?>
<font color="#FF0000">Erro: Dom&iacute;nio &quot;
<?=$url?>
&quot;</font> <br>
<? } ?>
<?
if ($erronome == true){ ?>
<font color="#FF0000">Erro: Nome &quot;
<? if ($hacker == ''){ echo "Em branco"; } else { echo "$hacker"; } ?>
&quot;</font> <br>
<? } ?>
<?
if ($brfim == true){ ?>
<br>
<? } ?>
<form id="form1" name="form1" method="post" action="?cmd=attacker">
<table width="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF">
<tr>
<td width="150">*<?=$me_defacer?></td>
<td><label>
<input name="hacker" type="text" id="hacker" size="30" value="<?=h($hacker)?>" />
<?
if ($erronome == true){ ?>
<font color="#FF0000">Erro [ Digite nome
valido ]</font>
<? } ?>
</label></td>
</tr>
<tr>
<td>*<?=$me_dominio?></td>
<td><label>
<input name="url" type="text" id="url" value="<? if ($url == ''){ echo "http://"; } else { echo h($url); } ?>" size="30" />
<?
if ($urlhttp == true){ ?>
<font color="#FF0000">Erro [ "http://" Digite
um dom&iacute;nio ]</font>
<?
} elseif ($errojustfree == true){ ?>
<font color="#FF0000">Erro [ "justfree.com"
Não é Aceito no Attack-H ]</font>
<?
} elseif ($erromy3gb == true){ ?>
<font color="#FF0000">Erro [ "my3gb.com"
Não é Aceito no Attack-H ]</font>
<?
} elseif ($errodominio == true){ ?>
<font color="#FF0000">Erro [ Dom&iacute;nio
ja registrado ]</font>
<?
} elseif ($errourl == true){ ?>
<font color="#FF0000">Erro [ Digite Domínio
valido ]</font>
<?
} elseif ($urlok == true){ ?>
<font color="#0000FF">OK [ Registrado! ]</font>
<? } ?>
</label></td>
</tr>
<tr>
<td><?=$me_falha?></td>
<td><label>
<select name="falha" id="falha">
<option>N&atilde;o Avaliar</option>
<option>Arquivo Remoto Injection (RFI)</option>
<option>SQL Injection</option>
<option>Csrf, XSS</option>
<option>Telnet</option>
<option>Arquivo Espi&atilde;o</option>
<option>Trojan</option>
<option>Exploits</option>
<option>Engenharia Social</option>
<option>Esqueci a senha</option>
<option>Acesso Painel de Controle</option>
<option>Acesso ao Servidor</option>
<option>Brute Force</option>
<option>Sniffing</option>
<option>Dom&iacute;nio Hack</option>
<option>Acesso FTP</option>
<option>Phishing</option>
<option>Root Linux</option>
<option>Windows Root</option>
<option>URL Envenenamento</option>
<option>Reclassifica&ccedil;&atilde;o
ap&oacute;s atacar o Firewall</option>
<option>Reclassifica&ccedil;&atilde;o
ap&oacute;s atacar o Roteador</option>
<option>DNS ataque atrav&eacute;s de
engenharia social</option>
<option>DNS ataque atrav&eacute;s de
cache Poisoning</option>
<option>Outro tipo de Falha</option>
</select>
</label></td>
</tr>
<tr>
<td><label>
<input type="submit" name="button" id="button" value="<?=$me_registrar?>" />
</label></td>
<td>&nbsp;</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<?php include('../../s2.php'); } ?>
index.php bu bu dosyanın içinde çalıştırıyor işlemi, dediğinizi tam olarak bulamadım.