Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta content="XPLOITER BY AZZATSSINS CYBERSERKERS OF PSYCHOPATH" name="description" />
- <title>REVERSE IP | AZZATSSINS | IDBTE4M</title>
- <body style='color: #000000;background:url(http://azzat.wap.mu/files/1049320/IMG_20150725_103425.JPG) repeat scroll center top;background-attachment: fixed;SCROLLBAR-FACE-COLOR: #F1F1F1; MARGIN: 0px;SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto;'>
- <center>
- <h1>Reverse IP</h1>
- <form method=POST>
- IP: <input type=text size=30 name=ip>
- <input type=submit value=Start.>
- </form>
- </center>
- <?php
- #Reverse iP
- @set_time_limit(0);
- if(isset($_POST['ip'])){
- $ip=trim($_POST['ip']);
- echo"<center><font size='2' face='Courier'>Reverse IP results for $ip<br />==============<br /><br />There are ".sizeof(bing($ip))." domains hosted on this server.<br />The complete listing of these is below:<br /><br />";
- echo'<table border="1"><tr><td>Domain</td></tr>';
- foreach(bing($ip) as $domain){
- echo"<tr><td>$domain</td></tr>";
- }
- echo'</font></center>';
- }
- function bing($ip){
- $ch=curl_init();
- $i=1;
- while($i){
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch,CURLOPT_URL,"http://www.bing.com/search?q=ip%3A$ip&first=$i");
- curl_setopt($ch,CURLOPT_COOKIEFILE,'cookie.txt');
- curl_setopt($ch,CURLOPT_COOKIEJAR,'cookie.txt');
- curl_setopt($ch,CURLOPT_USERAGENT,'msnbot/1.0 (+http://search.msn.com/msnbot.htm)');
- curl_setopt($ch,CURLOPT_ENCODING,"gzip, deflate, compress");
- $data=curl_exec($ch);
- preg_match_all('/<h2><a href="(.*?)"/',$data,$matches);
- $links=array_unique($matches[1]);
- foreach($links as $link){
- $alllinks[]=correctit($link);
- }
- if(!preg_match('#"sw_next"#',$data)) break;
- $i+=10;
- }
- curl_close($ch);
- if(!empty($alllinks) && is_array($alllinks)){
- return array_unique($alllinks);
- }
- }
- function correctit($http){
- if((strpos(trim($http), "http://") === 0) || (strpos(trim($http), "https://") === 0)){
- return parse_url($http, PHP_URL_HOST);
- }else{
- return trim($http);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement