-
Notifications
You must be signed in to change notification settings - Fork 0
/
reserve.php
43 lines (31 loc) · 972 Bytes
/
reserve.php
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
#!/usr/bin/php
<?php
// I LOVE CANS21
// Versailles ~ Sec7or ~ SHL ~ JCA ~ EXETEAM
// Versi selanjutnya akan tambah CMS Detector nya
// USAGE : php reserveip.php <domain.com>
echo "+-----------------------------+\n";
echo "| Simple Reserve IP |\n";
echo "| Versailles <3 Cans21 |\n";
echo "| Mr.541NT-3DUNT |\n";
echo "| Sec7or ~ SurabayaHackerlink |\n";
echo "+-----------------------------+\n";
if(isset($argv[1])){
$f = file_get_contents("http://viewdns.info/reverseip/?host={$argv[1]}&t=1");
preg_match('/Reverse IP results for (.*?) \((.*?)\)<br>/',$f,$r);
preg_match('/Last Resolved Date(.*?)<\/table>/',$f,$t);
preg_match_all('/<td>(.*?)<\/td><td align="center">/',$t[1],$d);
print "URL : ".$r[1]."\n";
print "IP : ".$r[2]."\n";
print "Count : ".count($d[1])." Domains\n";
$i = 1;
foreach ($d[1] as $dom){
print $i.". ".$dom."\n";
$i++;
}
}
else{
echo "usage: php reserveip.php <domain/ipaddress>\n";
}
echo "\n\n";
exit;