<html>
<head>
<title>DefacerID Mass Notifier</title>
</head>
<center>
<form method='POST' action=''>
Attacker : <br><input type='text' name='nick' placeholder='isiin nickmu'><br>
Team : <br><input type='text' name='team' placeholder='isiin teammu'><br>
Sites : <br><textarea class='form-control con7' name="sites" placeholder="http://site.com/" cols='50' rows='12'></textarea><br>
<input type='submit' name='sikat' value='Submit!!'>
</form>
</html>
<?php
ini_set('display_errors', 0);
error_reporting(0);
$nick = $_POST['nick'];
$team = $_POST['team'];
$sikat = $_POST['sikat'];
$url = explode("\r\n", $_POST['sites']);
if($sikat){
echo "Notify with nick [ ".$nick." ] and With Team [ ".$team." ] <br>";
function defid($url,$nick,$team) {
$ch = curl_init("https://defacer.id/archives/notify");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "attacker=$nick&team=$team&poc=SQL Injection&url=$url");
return curl_exec($ch);
curl_close($ch);
}
foreach($url as $url) {
$defid = defid($url,$nick,$team);
if(preg_match('#<div class="success-box">#', $defid)) {
echo "OK -> ".$url."<br>";
} else {
echo "Error -> ".$url."<br>";
}
}
}
Comments