Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 30, 2024
 Members List
 IRC chat
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 Sql Char Encoder
 y3dips ITsec
 Md5 Cracker
 User Manuals
 Recommend Us
 Your Account

User Info
Welcome, Anonymous

Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 316
Members: 0
Total: 316
PacketStorm News
·301 Moved Permanently

Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Remote file inclusion -> Take A Look Anything possible here?
Post new topic  Reply to topic View previous topic :: View next topic 
Take A Look Anything possible here?
PostPosted: Sat Oct 11, 2008 3:15 am Reply with quote
Advanced user
Advanced user
Joined: Jul 14, 2007
Posts: 85

Right now if i did site.com/graphics/glitter/index.php?pg=../../ it shows me what files are where.

Is anything else possible?

 * index.php - Glitter graphics script
include ($sm['path_inc'] . 'header.php');
$sm['page_name'] = 'Glitter Graphics';

<div class="text">
  <div align="center"><img src="{url_base}graphics/glitter/3/i88566774_35866.gif"><br>
    <a href="{url_base}graphics/glitter/glitter1.php">Page 1</a> ;; ;;
    <a href="{url_base}graphics/glitter/glitter2.php">Page 2</a><br />
    <a href="{url_base}graphics/glitter/glitter3.php">Page 3</a> ;; ;;
    <a href="{url_base}graphics/glitter/glitter4.php">Page 4</a><br />
    <a href="{url_base}graphics/glitter/glitter5.php">Page 5</a><br>
    <br />


    $sm['page_name'] = 'MySpace Glitter Graphics, Page ' . $_GET['pg'];
    $path = $sm['path_base'] . 'graphics/glitter/' . $_GET['pg'];
    //using the opendir function
    $dir_handle = @opendir($path) or die("Unable to open $path");
    echo "<table width=\"100%\" align=\"center\">
        <td style=\"padding-right: 10px;\"><div class=\"text\"><div align=\"center\">Just copy and paste the code where you would like the picture to be!<br></div>
    //running the while loop
    while ($file = readdir($dir_handle))
       if($file!="." && $file!="..")
          echo "      <table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
              <td style=\"padding-right: 10px;\" class=\"too\"><a href=\"" . $sm['url_base'] . "graphics/glitter/" . $_GET['pg'] . "/$file\" target=\"_blank\"><img src=\"" . $sm['url_base'] . "graphics/glitter/" . $_GET['pg'] . "/$file\" width=\"150\" height=\"150\" border=\"1\" style=\"border-color: 000000;\"></a><br><div align=\"center\"><a href=\"" . $sm['url_base'] . "/graphics/glitter/" . $_GET['pg'] . "/$file\" target=\"_blank\">Click to Enlarge</a></div></td>
              <td class=\"too\" valign=\"top\"><div style=\"padding-bottom: 5px;\"></div>
    <textarea name=\&quot;textarea2\&quot; cols=23 rows=8 class=\"bginput\" onClick=\"this.focus();this.select()\">&lt;a href=&quot;" . $sm['url_base'] . "&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;" . $sm['url_base'] . "graphics/glitter/" . $_GET['pg'] . "/$file&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
    &lt;a href=&quot;" . $sm['url_base'] . "&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;" . $sm['url_base'] . "support.gif&quot; alt=&quot;Myspace Layouts&quot; style=&quot;position:absolute; left:0px; top: 0px;&quot; border=&quot;0&quot;&gt;&lt;/a&gt; </textarea></td>
    <br />
    echo "   

include ($sm['path_inc'] . 'footer.php');
View user's profile Send private message
Take A Look Anything possible here?
  www.waraxe.us Forum Index -> Remote file inclusion
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 vote in polls in this forum
All times are GMT  
Page 1 of 1  

 Post new topic  Reply to topic  

Powered by phpBB 2001-2008 phpBB Group

Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.113 Seconds