Recent
:: anonymous
4 hrs ago
:: anonymous
9 hrs ago
:: anonymous
18 hrs ago
:: igd-jojo
1 day ago
:: jteam
1 day ago
:: anonymous
1 day ago
:: jteam
1 day ago
:: jteam
1 day ago
:: jteam
1 day ago
:: jteam
1 day ago
:: anonymous
1 day ago
:: This post is secret anonymous
1 day ago
:: anonymous
3 days ago
:: jteam
3 days ago
:: This post is secret anonymous
3 days ago
rss 2.0 feed

Make New Post
Posts: 22308

Syntax:       Wrapping:  

   #6286 Posted by Numline1 2008-04-26 16:02:49
Formated by GeSHi
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  5. <title>Numlinet DirLister 1.0</title>
  6. </head>
  7. <body>
  8. <div style="background-color: #4D65F0; height: 100px;" >
  9.  
  10. <center>
  11. <form action="" method="post" >
  12. <input type="text" name="pass" value="Sem zadajte heslo ..." style="background-color: #E61A7A; color: #FFFFFF; border-color: #000000; "/>
  13. <br />
  14. <input type="submit" value="Login" style="background-color: #BBEC13; border-color: #000000;"/>
  15. </form>
  16. </center>
  17.  
  18. </div>
  19. <div style="background-color: #DCE1FC;">
  20. <?php
  21. $md5pass = "Nemate heslo vo forme md5 ? Vygenerujte si ho na http://www.adamek.biz/md5-generator.php a vlozte sem";
  22. $abs_adresar = "/home/nieco/public_html/dir_kde_je_index/tajny_podadresar/";
  23. $cesta = "/dir_kde_je_index/tajny_podadresar";
  24.  
  25. if(isset($_POST['pass']) && htmlspecialchars(md5($_POST['pass'])) == "$md5pass")
  26. {
  27. $manipulacia = @opendir($abs_adresar) or die("Nepodarilo sa otvoriť $abs_adresar");
  28. while ($subor = readdir($manipulacia))
  29. {
  30. echo "<a href='$cesta/$subor'>$subor</a><br/>";
  31. }
  32. closedir($manipulacia);
  33. }
  34. else
  35. {
  36. echo "<center>Pre pozretie histórie sa musíte prihlásiť</center>";
  37. }
  38.  
  39. ?>
  40.  
  41. <div>
  42. &copy; <?php echo Date('Y') ?> <a href="http://www.numline1.ihrisko.org">Numlinet | Numlinet DirLister 1.0</a>
  43. </div>
  44. </body>
  45. </html>
Parsed in 0.64158607 seconds
::  Inline view Inline view ::  Email this post Email  ::  Print Print   

:: Download   Download Text File6286.txt   Download Gziped text File6286.txt.gz   Download HTML File6286.html   Download PDF File6286.pdf
:: Print into    Print into HTML FileHTML document   Print into PDF FilePDF document

:: Make Diff

:: Erase Post

* Code:

To highlight particular lines, prefix each line with @@


Description:


Secret key (for later deletion)
Syntax:     


comments (0)


Copyright © 2006 Openpastebin