Advertisement
BogorCyberSec

Reverse Path

Jul 22nd, 2019
584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Reverse Path - Newbiesec</title>
  5.     <meta name="description" content="Rare1337">
  6.     <meta name="keyword" content="Rare1337">
  7.     <link href="https://fonts.googleapis.com/css?family=Skranji|Play" rel="stylesheet">
  8.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  9. </head>
  10. <?php
  11. //tools reverse path
  12. //thanks my friends
  13. //by Rare1337
  14. //ShiroGans - Y45H1 - B4DB0Y - WhiteSystem404
  15.   ?>
  16. <body>
  17.     <iframe width="0" height="0" src="" frameborder="0" allowfullscreen></iframe>
  18.     <style type="text/css">
  19.        
  20.         html{
  21.             background: #333333;
  22.         }
  23.         textarea:hover{
  24.             border:2px solid #33a7ff;
  25.             color: white;
  26.             border-radius: 4px 4px;
  27.         }
  28.         input:hover{
  29.             border:2px solid #33a7ff;
  30.             color: black;
  31.             border-radius: 4px 4px;
  32.         }
  33.         h1{
  34.             font-family: Skranji;
  35.         }
  36.         @media screen and (max-width: 780px){
  37.             h1{
  38.                 width: auto;
  39.                 float: none;
  40.             }
  41.             .url{
  42.                 width: auto;
  43.                 float: none;
  44.             }
  45.             textarea{
  46.                 width: auto;
  47.                 float: none;
  48.             }
  49.             input{
  50.                 width: auto;
  51.                 float: none;
  52.             }
  53.  
  54.         }
  55.    
  56.     </style>
  57.     <center>
  58.             <h1><font color="white">Reverse Path </h1>
  59. </center>
  60. <br>
  61. <form action='' method='post'>
  62. <center>
  63. <input type='text' name='url' style="width: 55%; height:30px; border-radius: 4px 4px;" placeholder="  /admin , /timthumb.php , /kcfinder/upload.php , /js/jQuery-File-Upload/server/php/">
  64. </center>
  65. <br>
  66. <center>
  67. <textarea name='path' placeholder="example.com not https://" style="width: 60%; color: white; height: 250px; border:2px solid green; border-radius: 4px 4px; background: #444444;"></textarea>
  68. </center>
  69. <center><input type='submit' name='gas' value="Reverse" style="width: 300px;">
  70. </center>
  71. </form>
  72. </div>
  73. <?php
  74. //tools reverse path
  75. //by Rare1337
  76.  
  77. error_reporting(E_ALL ^ (E_NOTICE | E_WARNING));
  78.  
  79. //ekse
  80.  
  81. if($_POST['gas']){
  82. $url  = $_POST['url'];
  83. $path = $_POST['path'];
  84. $ajg  = explode("\r\n", $path);
  85.  
  86. foreach($ajg as $_path){
  87. $full = "$_path$url";  
  88. $ch = curl_init($full);
  89.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  90.     curl_setopt($ch, CURLOPT_HEADER, true);  
  91.     curl_setopt($ch, CURLOPT_NOBODY, true);
  92.     curl_setopt($ch, CURLOPT_TIMEOUT,10);
  93.     curl_setopt($ch, option, value);
  94.     $exec = curl_exec($ch);
  95.     $info = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  96.     curl_close($ch);
  97. echo "
  98.  
  99. <style type='text/css'>
  100. a{
  101. color:white;
  102. pading-top:50px;
  103. text-decoration:none;
  104. text-align:center;
  105. }
  106. table{
  107. background:none;
  108. color:white;
  109. width:60%;
  110. height:35px;
  111.  
  112. border: 1px solid white;   
  113. }
  114. td{
  115.     border:none;
  116.     color:#33a7ff;
  117.     background:#333333;
  118. }
  119.  
  120. .code{
  121. pading:10px auto;
  122. text-align:center;
  123. width:30px;
  124. background:#33a7ff;
  125. border-radius:2px;
  126. color:white;
  127. }
  128.  
  129. html{
  130.     background: #333333;
  131.     }
  132. </style>
  133. <center>   
  134. <table width='550px' >
  135. <tr>
  136. <td style='width:85%;'>$full</td><br>
  137. <td><center><div class='code'><b>$info<b></div></center></td>
  138. </tr>
  139. </table>
  140. </center>";
  141. }
  142. }
  143. ?>
  144. </body>
  145. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement