Yoko

All sides of Injection
It is currently 2024-03-29 04:14:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Помогите
PostPosted: 2007-06-03 16:03:21 
Offline
User avatar

Joined: 2004-12-30 18:13:16
Posts: 175
Location: Russia
Code:
<html>
<head>
<title>u0rypT Hack#Project -&gt; Exploit Admin.#Site View</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body bgcolor="#000000">
<table width="800" height="1049" border="8" align="center" bordercolor="#000000" bgcolor="#FFFFFF">
  <tr>
    <th height="1" align="center" valign="middle" nowrap bordercolor="#000000" bgcolor="#000000"><center>
<font color="skyblue"><em><strong>Script create by <a href="http://uoo.ru" target="_blank"><font color="skyblue">«3Jlо6Hblu' u0rypT©»</font></a><a href="http://uoo.ru" target="_blank"></a></strong></em></font>
    </center></th>
  </tr>
  <tr>
    <td height="1" align="center" valign="top"><p><em><strong><font color="skyblue">Your' Notes... </font></strong></em></p>
     </b></i></form>
   <form name="form1" method="post" action="<? link ?>">
     <label for="link"></label>
     <textarea name="link" cols="100" rows="10" id="link">Всем привет,как вам скрипт ? По мне норм..
Как Юзать
http://192.168.10.232/engine/new/index.php?go=http://сдесь_пишем_вашу_ссылку - так вы сможете просматривать страницы
Адрес,имя и т.д канеш ваше, и не забудте писать http:// 
http://192.168.10.232/engine/new/index.php?load=http://сдесь_пишем_вашу_ссылку - так вы сможете скачивать файлы :)
Адрес,имя и т.д канеш ваше, и не забудте писать http://
Удачи
</textarea>
     <input type="submit" name="link" value="link" id="link">
   </form>
   <p>&nbsp;</p>
      <p></p></td>
  </tr>
  <tr>
    <td width="1" height="0">
<?php
if(isset($HTTP_GET_VARS['go']))
  $fn = $HTTP_GET_VARS['go'];
  $handle = fopen ($fn, 'rb');
  $contents = "";
  if(!$handle)
    echo 'Error open source file';
  else
  $handle = readfile ($fn , 'wb');
  readfile ($handle);
?>






<br><br><br><br>
<?php
if(isset($HTTP_GET_VARS['load']))
{
  $fn = $HTTP_GET_VARS['load'];
  $handle = fopen ($fn, 'rb');
  $contents = "";
  if(!$handle)
    echo 'Ну...типо ашибка,файл не найден типо :( <br> Проверь ссылку!';
  else
  {
    while(!feof($handle))
    {
      $data = fread($handle, 8192);
      $contents .= $data;
    }
    fclose ($handle);

    // './download/' можно заменить, например, на $HTTP_GET_VARS['path']
    $handle = fopen ('./download/' . basename($fn), 'wb');
    if(!$handle)
      echo 'Error create local file';
    else
    {
      fwrite($handle, $contents);
      fclose($handle);
      echo 'Файл скачалсу <br> можеш качать другой  :) ';

    }
  }
}
?>
</td>
  </tr>
</table>

Помогите короче маза такая, как можно автоматическую замену url делать, т.е я захожу по запросу index.php?go=$handle и все ссылки будут $handle+url

_________________
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc


Top
   
 Post subject:
PostPosted: 2007-06-03 16:10:59 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
<?php 
if(isset($HTTP_GET_VARS['go']))
  $fn = $HTTP_GET_VARS['go'];
  $handle = fopen ($fn, 'rb');
  $contents = "";
  if(!$handle)
    echo 'Error open source file';
  else
  $handle = readfile ($fn , 'wb');
  readfile ($handle);
?>

получения параметра go должно быть раньшена формирования ссылок.
дальше дело в куса...
Можешь все тело через эхи прописать.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited