SHOW:
|
|
- or go back to the newest paste.
| 1 | <html> | |
| 2 | <head> | |
| 3 | <title>DefacerID Mass Notifier</title> | |
| 4 | </head> | |
| 5 | <center> | |
| 6 | <form method='POST' action=''> | |
| 7 | Attacker : <br><input type='text' name='nick' placeholder='isiin nickmu'><br> | |
| 8 | Team : <br><input type='text' name='team' placeholder='isiin teammu'><br> | |
| 9 | - | Sites : <br><textarea class='form-control con7' name="sites" placeholder="http://korban.com/" cols='50' rows='12'></textarea><br> |
| 9 | + | Sites : <br><textarea class='form-control con7' name="sites" placeholder="http://site.com/" cols='50' rows='12'></textarea><br> |
| 10 | <input type='submit' name='sikat' value='Submit!!'> | |
| 11 | </form> | |
| 12 | </html> | |
| 13 | <?php | |
| 14 | ini_set('display_errors', 0);
| |
| 15 | error_reporting(0); | |
| 16 | $nick = $_POST['nick']; | |
| 17 | $team = $_POST['team']; | |
| 18 | $sikat = $_POST['sikat']; | |
| 19 | $url = explode("\r\n", $_POST['sites']);
| |
| 20 | if($sikat){
| |
| 21 | echo "Notify with nick [ ".$nick." ] and With Team [ ".$team." ] <br>"; | |
| 22 | function defid($url,$nick,$team) {
| |
| 23 | $ch = curl_init("https://defacer.id/archives/notify");
| |
| 24 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| 25 | curl_setopt($ch, CURLOPT_POST, true); | |
| 26 | curl_setopt($ch, CURLOPT_POSTFIELDS, "attacker=$nick&team=$team&poc=SQL Injection&url=$url"); | |
| 27 | return curl_exec($ch); | |
| 28 | curl_close($ch); | |
| 29 | } | |
| 30 | foreach($url as $url) {
| |
| 31 | $defid = defid($url,$nick,$team); | |
| 32 | if(preg_match('#<div class="success-box">#', $defid)) {
| |
| 33 | echo "OK -> ".$url."<br>"; | |
| 34 | } else {
| |
| 35 | echo "Error -> ".$url."<br>"; | |
| 36 | } | |
| 37 | } | |
| 38 | } |