USTECHSERVICE

DORK Search Engine

Nov 21st, 2020
817
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. #################################################
  3. #DORK Search Engine (Improved)- H4T3D
  4. #Search Without getting Banned
  5. #Search Dorks without getting banned or Captcha
  6. #Re Coded By H4T3D
  7. #Changing Name wont make you L33T
  8. ###################################################
  9. ob_start();
  10. @set_time_limit(0);
  11. error_reporting(0);
  12. echo "
  13. <head>
  14. <title>H4T3D Dork Search Engine</title>
  15. </head>
  16. <style>
  17. html, body{
  18.       background:#000000;
  19.       color:#00FF00;
  20.       font-family:monospace;
  21.       height: 100%;
  22.       text-decoration:  none;
  23. }
  24.  
  25. textarea {
  26.       background:#000000;
  27.       resize:none;
  28.       color: #00FF00 ;
  29.       border:1px solid red ;
  30.       border: 4px solid red ;
  31. }
  32. input {
  33.        color: ##33CCFF;
  34.        border:1px dotted #33CCFF;
  35. }
  36.  
  37. a{
  38. color:red;
  39. }
  40. </style>";
  41.  
  42. echo'
  43. <center><h1>DORK Search Engine (Improved)- H4T3D</h1></center>
  44. <center>
  45. <form action="" method="POST">
  46. <td>Enter Dork : <input type="text" name="url" size="20">
  47. <td>No Of pages : <input type="number" min="1" max="30" step="1" value="1" name="page" \> </td>
  48. <input type="submit" name="scan" value="Fetch ..">
  49. </form>
  50. </center>
  51. ';
  52.  
  53. if(isset($_POST['scan'])){
  54. $url=$_POST['url'];
  55. $page=$_POST['page'];
  56. $ch1 =curl_init("http://www.hotbot.com/");
  57. curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
  58. $keyvoll = curl_exec($ch1);
  59. curl_close($ch1);
  60. $ma=preg_match("/\.val\('(.*?)'\);/",$keyvoll,$ke);
  61. $ch=curl_init();
  62.  
  63. for($i=1;$i<=$page;$i++){
  64.  
  65. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  66. curl_setopt($ch,CURLOPT_URL,"http://www.hotbot.com/search/web?pn=$i&q=".urlencode($url)."&keyvol=$ke[1]");
  67. curl_setopt($ch,CURLOPT_COOKIEFILE,'cookie.txt');
  68. curl_setopt($ch,CURLOPT_COOKIEJAR,'cookie.txt');
  69. curl_setopt($ch,CURLOPT_USERAGENT,'msnbot/1.0 (+http://search.msn.com/msnbot.htm)');
  70. curl_setopt($ch,CURLOPT_ENCODING,"gzip, deflate, compress");
  71. $data=curl_exec($ch);
  72. if (!(eregi("No results found", $data))) {
  73. preg_match_all("|<a[^>]+>(.*)</[^>]+>|",$data, $matches, PREG_PATTERN_ORDER);
  74. echo"<br><hr></hr><ul>";
  75. for($is=14;$is<=25;$is++){
  76.  
  77. echo "<li>".$matches[0][$is]."</li>";
  78.  flush();@ob_flush();  
  79.     }// for loop for geting output
  80.  
  81. echo"</ul>";
  82.  
  83.  
  84.  
  85.         }// end of for loop for pages
  86.  
  87.  
  88.                         }// end of no result
  89.  
  90.  
  91.  
  92. } // end of scan button
  93. ?>
RAW Paste Data