View difference between Paste ID: 3JZqx9z2 and BWaDh5yq
SHOW: | | - or go back to the newest paste.
1
<html>
2
<style type="text/css">
3
html {
4
	margin: 10px auto;
5
	text-align: center;
6
	background: #000000;
7
	color: #008000;
8
}
9
a {
10
	color: lime;
11
	text-decoration: none;
12
}
13
textarea, input {
14
	border: 1px solid #008000;
15
	color: #bb0000;
16
	background: transparent;
17
}
18
</style>
19
<form method="post">
20
Target: <br>
21
<textarea name="url" style="resize: none; margin: 5px auto; padding-left: 5px; width: 500px; height: 250px;" placeholder="http://target.com"></textarea><br>
22
<input type="submit" name="go" value="Hajar" style="margin: 5px auto; width: 250px; height: 20px;">
23
</form>
24
<?php
25
$url = explode("\r\n", $_POST['url']);
26
$go = $_POST['go'];
27
function kirim($target,$hacker) {
28
	$ch = curl_init();
29
		  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
30
		  curl_setopt($ch, CURLOPT_URL, "http://zone-h.org/notify/single");
31
		  curl_setopt($ch, CURLOPT_POST, true);
32
		  curl_setopt($ch, CURLOPT_POSTFIELDS, array(
33
		  	"defacer" => $hacker,
34
		  	"domain1" => $target,
35
		  	"hackmode" => "1",
36
		  	"reason" => "1",
37
		  	));
38
	$res = curl_exec($ch);
39
		  curl_close($ch);
40
	return preg_match("/<font color=\"red\">OK<\/font><\/li>/", $res);
41
}
42
if($go) {
43
	foreach($url as $sites) {
44
		if(kirim($sites, "nick deface mu")) {
45
			echo "$sites => OK<br>";
46
		} else {
47
			echo "$sites => error<br>";
48
		}
49
	}
50
}
51
?>
52
</html>