H4T3D

Online Devices Search Engine - H4T3D

Dec 18th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.32 KB | None | 0 0
  1. <?php
  2. // image >> http://i.imgur.com/qYao74O.jpg
  3.  
  4.  
  5. set_time_limit(0);
  6. error_reporting(0);
  7. echo "
  8. <head>
  9. <title>Online Devices Search Engine - H4T3D</title>";
  10.  
  11. echo"</head>
  12. <style>
  13. html, body{
  14.  
  15.    background:#000000;
  16.    color:#00FF00;
  17.   font-family:monospace;
  18.   height: 100%;
  19.   text-decoration:  none;
  20.   background: url(http://www.netanimations.net/GPS-satellite-around-Earth-moving-animation.gif) no-repeat center center fixed;
  21.  -webkit-background-size: cover;
  22.  -moz-background-size: cover;
  23.  -o-background-size: cover;
  24.  background-size: cover;
  25. }
  26.  
  27. textarea {
  28.     //background:#000000;
  29.     resize:none;
  30.     color: #00FF00 ;
  31.     border:1px solid red ;
  32.     border: 4px solid red ;
  33. }
  34. select {
  35.      color: ##33CCFF;
  36.      border:1px dotted #33CCFF;
  37.      height:5%;
  38.      width:55%;
  39.  
  40. }
  41. input{
  42.     color: #33CCFF;
  43.      border:1px dotted #33CCFF;
  44.      height:5%;}
  45.  
  46.  
  47. a{
  48. color:red;
  49. }
  50.  
  51.  
  52. </style>";
  53.  
  54. echo'
  55. <body>
  56. <center>
  57. <br>
  58. <h1>Online Devices Search Engine - H4T3D</h1>
  59. <br>
  60. </br>
  61.  
  62. <form action="" method="POST">
  63.  
  64. <select name="camers">
  65. <option value="webcam">Search Web Camers World Wide</option>
  66. <option value="cctv">Search CCTV Camers World Wide</option>
  67. <option value="Vedio">Search Vedio Camers World Wide</option>
  68. <option value="routers">Search ROUTERS World Wide</option>
  69. <option value="webcamxp">Search WebCamers On XP</option>
  70. <option value="default+password">World Wide Devices Default Password</option>
  71. <option value="default+password">World Wide Devices Default Username</option>
  72. <option value="camers">World Wide Camers</option>
  73. </select>
  74.     <input type="submit" name="search" value="Search">
  75. </form>';
  76.  
  77.  
  78. if (isset($_POST['search'])) {
  79.     # code...
  80.  
  81. //http://151.60.1.230:9000/
  82.  
  83. $query = $_POST['camers'];
  84.  
  85. $token = "F4m6NrJ7EqW4NEutXasC19ycjFhaoWMA";
  86. $url = "https://api.shodan.io/shodan/host/search?key={$token}&query=$query";
  87.  // Proses Mengambil
  88. if ($data = file_get_contents($url)) {
  89.  
  90. $obj = json_decode($data,true);
  91.  
  92.  
  93. echo"<textarea style=\"margin: 0px; width: 370px; height: 611px;\">";
  94. for ($i=0; $i <count($obj['matches']) ; $i++) {
  95.    
  96.     echo $obj['matches'][$i]['ip_str'].":".$obj['matches'][$i]['port']."\n";
  97.     ob_flush();
  98. }
  99. echo"</textarea>";
  100.  
  101. }
  102.  
  103. else{
  104.     die("Something Went Wrong Please Try Again !!");
  105. }
  106.  
  107.  
  108.  
  109. }
  110.  
  111. ?>
  112. </center>
  113. </body>
Add Comment
Please, Sign In to add comment