Advertisement
rhiby

auto submit

Mar 23rd, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * @author BlueBoyz
  5. * @copyright 2012 Forum.ExploreCrew.Org
  6. * @version 12.3.21
  7. */
  8.  
  9. //config
  10. $url = "http://www.anonymousteam.com/" ;
  11.  
  12. $output = null ;
  13. function jHTTP( $languagge = 'en_gb', $method = 'POST', $url, $data, $cookies = "",$urlref )
  14. {
  15. $header = array( 'Accept-Language: ' . $languagge . ',en-us;q=0.7,en;q=0.3' ) ;
  16. $ch = curl_init() ;
  17. if ( $method == 'POST' )
  18. {
  19. curl_setopt( $ch, CURLOPT_URL, $url ) ;
  20. curl_setopt( $ch, CURLOPT_POST, TRUE ) ;
  21. curl_setopt( $ch, CURLOPT_POSTFIELDS, $data ) ;
  22. } elseif ( $method == 'GET' )
  23. {
  24. curl_setopt( $ch, CURLOPT_URL, $url . '' . $data ) ;
  25. } elseif ( $method == 'UPLOAD' )
  26. {
  27. curl_setopt( $ch, CURLOPT_URL, $url ) ;
  28. curl_setopt( $ch, CURLOPT_POSTFIELDS, $data ) ;
  29. }
  30. curl_setopt( $ch, CURLOPT_REFERER, $urlref ) ;
  31. //curl_setopt( $ch, CURLOPT_COOKIESESSION, true ) ;
  32. curl_setopt( $ch, CURLOPT_COOKIEFILE, dirname( __FILE__ ) . '/cookie.txt' ) ;
  33. curl_setopt( $ch, CURLOPT_COOKIEJAR, dirname( __FILE__ ) . '/cookie.txt' ) ;
  34. curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE ) ;
  35. curl_setopt( $ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0 Viva XCrew' ) ;
  36. curl_setopt( $ch, CURLOPT_HTTPHEADER, $header ) ;
  37. curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, TRUE ) ;
  38. return curl_exec( $ch ) ;
  39. curl_close( $ch ) ;
  40. }
  41. if ( isset( $_POST['login'] ) )
  42. {
  43. $login_form = array( "txtuser" => $_POST["txtuser"], "txtpass" => $_POST["txtpass"], "Submit" => "Go" ) ;
  44. $login_html = jHTTP( "id", "POST", $url . "setuser.php?do=login", $login_form, "",$url ) ;
  45. if ( preg_match( '/WRONG Username/', $login_html ) )
  46. {
  47. $output = '<p>Gagal Login, Silahkan isi username dan password yang benar.</p>' ;
  48. }else{
  49. $output = '<p>Berhasil Login.</p>' ;
  50. }
  51. }
  52. if ( isset( $_POST['reset'] ) )
  53. {
  54. unlink( dirname( __FILE__ ) . '/cookie.txt' ) ;
  55. $output = '<p>Cookies telah dihapus silahkan login lagi.</p>' ;
  56. }
  57. if ( isset( $_POST['post'] ) )
  58. {
  59. $victim = explode( "\n", $_POST['victim'] ) ;
  60. $output = "<ol>";
  61. for ( $i = 0; $i < count( $victim ); $i++ )
  62. {
  63.  
  64.  
  65. $post_form = array(
  66. "txturl" => trim($victim[$i]),
  67. "Submit" => "Submit"
  68. ) ;
  69. $submit_html = jHTTP( "id", "POST", $url . "/ajax/submit.php", $post_form, "",$url . "submit/" ) ;
  70. if ( preg_match( '/berhasil/', strtolower($submit_html) ) ){
  71. $output .= "<li>Berhasil : ".$victim[$i]."</li>";
  72. }else{
  73. $output .= "<li>Gagal : ".$victim[$i]."</li>";
  74. }
  75.  
  76. }
  77. $output .= "</ol>";
  78. }
  79.  
  80. ?>
  81. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  82. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  83. <head>
  84. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  85. <meta name="author" content="BlueBoyz XCrew" />
  86. <title>Anonymous Team Defacer Indonesia</title>
  87. <style type="text/css">
  88. <!--
  89. body {background: #222; color: #fff;}
  90. #victim{width: 100%;}
  91. #notice {background: #555; border: 1px solid green; color: red;}
  92. -->
  93. </style>
  94. </head>
  95. <body>
  96. <div id="notice">
  97. <?php echo @$output ?>
  98. </div>
  99. <form method="post" action="" >
  100. <table>
  101. <tr>
  102. <td>Username: <input type="text" name="txtuser" value="<?php echo @$_POST['txtuser'];?>" /></td>
  103. <td>Password: <input type="text" name="txtpass" /></td>
  104. <td><input type="submit" name="login" value="Get Cookies" /> <input type="submit" name="reset" value="Reset Cookies" /> </td>
  105. </tr>
  106. </table>
  107. </form>
  108. <p>Masukan Web Depesan Kamu dipisah dengan Enter happy submit.</p>
  109. <form method="post" action="" >
  110. <textarea name="victim" id="victim" rows="25"></textarea>
  111. <input type="submit" name="post" value="Submit deface" />
  112. </form>
  113. </body>
  114. </html>
  115. <?php
  116. echo jHTTP( "id", "GET", $url,"", "",$url) ;
  117. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement