-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdnsverify.php
More file actions
executable file
·43 lines (42 loc) · 818 Bytes
/
Copy pathdnsverify.php
File metadata and controls
executable file
·43 lines (42 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
$ip = explode('.',$argv[1]);
$ip = implode('.',array_reverse($ip));
$result = dns_get_record("wjrkudvgxlao.".$ip.".dnsbl.httpbl.org");
if (isset($result[0]))
if (isset($result[0]['ip']))
{
$r = explode('.',$result[0]['ip']);
if ($r[3]>0)
{
$map = array(
1 => 'Suspicious',
2 => 'Harvester ',
3 => 'Suspicious & Harvester',
4 => 'Comment Spammer',
5 => 'Suspicious & Comment Spammer',
6 => 'Harvester & Comment Spammer',
7 => 'Suspicious & Harvester & Comment Spammer',
);
if (isset($map[$r[3]]))
echo $map[$r[3]]."\r\n";
else
echo $r[3]."\r\n";
echo $r[2]."\r\n";
}
else
{
echo "0"."\r\n";
echo "0"."\r\n";
}
}
else
{
echo "0"."\r\n";
echo "0"."\r\n";
}
else
{
echo "0"."\r\n";
echo "0"."\r\n";
}
?>