Показать сообщение отдельно

  #7  
Старый 01.02.2006, 19:55
TANZWUT
Крёстный отец :)
Регистрация: 22.06.2005
Сообщений: 1,330
Провел на форуме:
5302668

Репутация: 2054


По умолчанию

PHP код:
<?
/* * * * * * * * * * * * * * * * * * * * * * * * * *
* PHP - "inet crack" v1.1, 01.02.2006 18:50pm         *
* Powered by TANZWUT (_http://forum.antichat.ru/)*
* ICQ: 7377287, 659061                                      *
* E-mail: admin[|at|]tanzwut[|dot|]be                  *
* * * * * * * * * * * * * * * * * * * * * * * * * */
$content="<HTML>
<HEAD>
<TITLE>PHP -\"inet crack\" v1.1</TITLE>
<META NAME=\"GENERATOR\" CONTENT=\"Hands.dll :)\">
</HEAD>
<BODY>
<form method=POST>
<B>
URL: <input type=text name=url value=\"
$url\">(e.g. site.ru)<BR>
GET/POST:<input type=text name=method value=\"
$method\"><input type=text name=site value=\"$site\">(e.g. _http://site.ru)<BR>
Accept: <input tipe=text name=accept value=\"
$accept\"><BR> (e.g. image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */*)<BR>
Referer: <input type=text name=referer value=\"
$referer\">(e.g. _http://refer.ru/ Accept-Language: <input type=text name=lang value=\"$lang\">(e.g. ru)<BR>
Connection: <input type=text name=pc value=\"
$pc\">(e.g. Keep-Alive)<BR>
X-Forwarded-For: <input type=text name=forwarded value=\"
$forwarded\">(e.g. 192.168.0.1)<BR>
User-Agent: <input type=text name=agent value=\"
$agent\">(e.g. Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1))<BR>
Host: <input type=text name=host value=\"
$host\">(e.g. site.ru)<BR>
Cookie: <input type=text name=cookie value=\"
$cookie\">(e.g. Login=user; Pass=pass)<BR>
Action1: <input type=text name=action1 value=\"
$action1\"><BR>
Action2: <input type=text name=action2 value=\"
$action2\"><BR>
Action3: <input type=text name=action2 value=\"
$action3\"><BR>
<input type=submit value=go>
</B>
</form>
</BODY>
</HTML>"
;
echo 
$content;

$z="$method $site HTTP/1.0\r\n";
if (
$accept){$z.="Accept: $accept\r\n";}
if (
$referer){$z.="Referer: $referer\r\n";}
if (
$lang){$z.="Accept-Language: $lang\r\n";}
if (
$pc){$z.="Proxy-Connection: $pc\r\n";}
if (
$agent){$z.="User-Agent: $agent\r\n";}
if (
$host){$z.="Host: $host\r\n";}
if (
$cookie){$z.="Cookie: $cookie\r\n";}
if (
$forwarded){$z.="X-Forwarded-For: $forwarded\r\n";}
if (
$action1){$z.="$action1\r\n";}
if (
$action2){$z.="$action2\r\n";}
if (
$action3){$z.="$action3\r\n";}
$z.="\r\n";

echo 
"$z <BR>";

$f=fsockopen($url80);
echo 
$f;
fwrite($f$z);
fputs($f$z);
while(!
feof($f)){$contenturl.=fread($f,2048);}
echo 
"<BR><textarea rows=\"15\" cols=\"120\">$contenturl</textarea>";
fclose($f);
?>
Обновил скрипт, теперь необязательно заполнять все поля в запросе, выводит ответ сервера, выбор GET/POST запросов, спасибо censored! за помощ
__________________
Лучший способ защиты - это нападение!!!
 
Ответить с цитированием