Advertisement
Bayz21

defid

Aug 1st, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>DefacerID Mass Notifier By Bayz21</title>
  4. <style>
  5. body {
  6. background: url(http://i.imgur.com/YFRATix.jpg);
  7. cursor: url("//2.bp.blogspot.com/-uc-RVzjXLhI/VkVYXbrFXEI/AAAAAAAADas/LbzSMFo4kn4/s1600/Miku%2BCursor.png"), auto;
  8. margin : 0;
  9. padding : 0;
  10. color : white;
  11. font-size: medium;
  12. }
  13. body{background-color:#808080;color:#FFF;align:center;font: 12pt Verdana;}
  14. input[type=text],textarea,select,input[type=password],button,submit{border: 5px #f60b84 solid;background: #f19cc8;
  15. color: #200505;font: 12pt Verdana;outline: none;border-radius: 5px;opacity:0.7;}
  16. textarea{width: 525px; height: 301px;}
  17. input[type=submit], .button, input[type=reset], button {background: #ed0d0d;color: #FFF;font: 12pt Verdana;outline: none;
  18. opacity:1;filter:alpha(opacity=90); padding: 5px 8px !important;border: none !important;border-radius: 5px;}
  19. </style>
  20. </head>
  21. <center>
  22.  
  23. <form method='POST' action=''>
  24. Attacker :<div class="kotak"><br><input type='text' name='nick' placeholder='Security Ghost'><br></div>
  25. Team : <br><input type='text' name='team' value='Security Ghost'><br></div>
  26. Sites :<br><textarea class='form-control con7' name="sites" placeholder="http://korban.com/" cols='50' rows='12'></textarea><br></div>
  27. <input type='submit' name='sikat' value='Submit!!'>
  28. </form>
  29. </html>
  30. <?php
  31. ini_set('display_errors', 0);
  32. error_reporting(0);
  33. $nick = $_POST['nick'];
  34. $team = $_POST['team'];
  35. $sikat = $_POST['sikat'];
  36. $url = explode("\r\n", $_POST['sites']);
  37. if($sikat){
  38. echo "Notify with nick [ ".$nick." ] and With Team [ ".$team." ] <br>";
  39. function defid($url,$nick,$team) {
  40. $ch = curl_init("https://defacer.id/archives/notify");
  41. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  42. curl_setopt($ch, CURLOPT_POST, true);
  43. curl_setopt($ch, CURLOPT_POSTFIELDS, "attacker=$nick&team=$team&poc=SQL Injection&url=$url");
  44. return curl_exec($ch);
  45. curl_close($ch);
  46. }
  47. foreach($url as $url) {
  48. $defid = defid($url,$nick,$team);
  49. if(preg_match('#<div class="warning-box">#', $defid)) {
  50. echo "ERROR -> ".$url."<br>";
  51. } else {
  52. echo "OK -> ".$url."<br>";
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement