Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <title>Pajri Homo By UstadCage_48</title>
- <link href='http://fonts.googleapis.com/css?family=Patrick+Hand' rel='stylesheet' type='text/css'>
- <style>
- body {color:white;font-family: Patrick Hand}
- a { text-decoration:none;color:DeepPink; }
- .entryfield { background:black;color:white;border: 1px solid DeepPink; font-family: Patrick Hand;
- padding: 10px; height:200; width:400;
- }
- .subbtn {background:DeepPink;color:white;border: 1px solid #000; padding:6px 6px 6px 6px; font-family: Patrick Hand; }
- .subbtn:hover {background:#c0bfbf;color:#000000;}
- </style>
- <center>
- <body bgcolor=' #000 '><br>
- <form method="post">
- <textarea class="entryfield" name="target"></textarea>
- <br>
- <input class="subbtn" type="submit" name="homo" value="ewe">
- </form><br>
- <?php
- set_time_limit(0);
- error_reporting(0);
- function ngcurl($url, $http_code) {
- $ch = curl_init($url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
- curl_setopt($ch, CURLOPT_COOKIESESSION, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
- $result = curl_exec($ch);
- $info = curl_getinfo($ch);
- if($http_code == "ya") {
- return $info['http_code'];
- } else {
- return $result;
- }
- curl_close($ch);
- }
- if($_POST['homo']) {
- $get=$_POST['target'];
- $j=explode("\r\n",$get);
- foreach($j as $url) {
- if(!preg_match("/^http:\/\//", $url) AND !preg_match("/^https:\/\//", $url)) {
- $url = "http://$url";
- } else {
- $url = $url;
- }
- print "[+] Scanning: $url<br>";
- $cek_index = ngcurl($url, "no");
- preg_match("/Mage.Cookies.path = '(.*?)';/", $cek_index, $mage_path);
- $cek_robot = ngcurl($url.$mage_path[1]."/robots.txt", "ya");
- $cek_log = ngcurl($url.$mage_path[1]."/result.txt", "ya");
- if($cek_robot == "200" || preg_match("/disallow/i", $cek_robot)) {
- print "[+] Robots.txt F0und!<br>";
- } else {
- print "robot gk ada<br>";
- }
- if($cek_log == "200") {
- print "[+] Result.txt F0und!<br>";
- } else {
- print "[+] Result Gk Ada<br>";
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement