Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo '<form action="" method="post">
- <font class="os">Url:</font><br /><textarea name="urljom" cols="30" rows="30">http://targetsite.com</textarea>
- <br /><button type="submit" class="rbtn">SCAN</button>
- </form>';
- $urljom = $_POST["urljom"];
- $masslis = preg_split('/(\r?\n)+/', $urljom);
- if($urljom != null)
- {
- foreach($masslis as $mas)
- {
- echo "[".$mas."]<br />Loading";
- if($urljom != null)
- {
- $comx = file_get_contents("http://pastebin.com/raw.php?i=gv0jP0jd");
- $arrayjom = preg_split('/(\r?\n)+/', $comx);
- foreach($arrayjom as $allcom)
- {
- echo ".";
- $tazjom = curl_init($mas."/".$allcom);
- curl_setopt($tazjom, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($tazjom, CURLOPT_TIMEOUT, 5);
- $res = curl_exec($tazjom);
- curl_close($tazjom);
- if($res === false)
- {}
- else
- {
- //check
- $che = strripos($res, "403");
- $che2 = strripos($res, "404");
- $che3 = strripos($res, "method not allowed");
- $che4 = strripos($res, "Webmaster please contact");
- $che5 = strripos($res, "Not found");
- $che6 = strripos($res, "Account Suspended");
- if($che or $che2 or $che3 or $che4 or $che5 or $che6 > 1)
- {
- }
- else
- {
- $cr = curl_init();
- curl_setopt($cr, CURLOPT_URL, $mas."/".$allcom);
- curl_setopt($cr, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($cr, CURLOPT_TIMEOUT, 5);
- $respons = curl_exec($cr);
- $errno = curl_errno($cr);
- $error = curl_error($cr);
- $response = $response;
- $info = curl_getinfo($cr);
- $chek = $info['http_code'];
- curl_close($cr);
- if($chek < 300)
- {
- echo "<br /><a href='".$mas."/".$allcom."'>".$mas."/".$allcom."</a>:[<font style='color:red;'>mungkin shell ni]</font><br />Loading";
- }
- else
- {
- echo ".";
- }
- }
- }
- }
- }
- echo "----------------------------------<br />";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement