Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #################################################
- #DORK Search Engine (Improved)- H4T3D
- #Search Without getting Banned
- #Search Dorks without getting banned or Captcha
- #Re Coded By H4T3D
- #Changing Name wont make you L33T
- ###################################################
- ob_start();
- @set_time_limit(0);
- error_reporting(0);
- echo "
- <head>
- <title>H4T3D Dork Search Engine</title>
- </head>
- <style>
- html, body{
- background:#000000;
- color:#00FF00;
- font-family:monospace;
- height: 100%;
- text-decoration: none;
- }
- textarea {
- background:#000000;
- resize:none;
- color: #00FF00 ;
- border:1px solid red ;
- border: 4px solid red ;
- }
- input {
- color: ##33CCFF;
- border:1px dotted #33CCFF;
- }
- a{
- color:red;
- }
- </style>";
- echo'
- <center><h1>DORK Search Engine (Improved)- H4T3D</h1></center>
- <center>
- <form action="" method="POST">
- <td>Enter Dork : <input type="text" name="url" size="20">
- <td>No Of pages : <input type="number" min="1" max="30" step="1" value="1" name="page" \> </td>
- <input type="submit" name="scan" value="Fetch ..">
- </form>
- </center>
- ';
- if(isset($_POST['scan'])){
- $url=$_POST['url'];
- $page=$_POST['page'];
- $ch1 =curl_init("http://www.hotbot.com/");
- curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
- $keyvoll = curl_exec($ch1);
- curl_close($ch1);
- $ma=preg_match("/\.val\('(.*?)'\);/",$keyvoll,$ke);
- $ch=curl_init();
- for($i=1;$i<=$page;$i++){
- curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch,CURLOPT_URL,"http://www.hotbot.com/search/web?pn=$i&q=".urlencode($url)."&keyvol=$ke[1]");
- 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);
- if (!(eregi("No results found", $data))) {
- preg_match_all("|<a[^>]+>(.*)</[^>]+>|",$data, $matches, PREG_PATTERN_ORDER);
- echo"<br><hr></hr><ul>";
- for($is=14;$is<=25;$is++){
- echo "<li>".$matches[0][$is]."</li>";
- flush();@ob_flush();
- }// for loop for geting output
- echo"</ul>";
- }// end of for loop for pages
- }// end of no result
- } // end of scan button
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement