Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // image >> http://i.imgur.com/qYao74O.jpg
- set_time_limit(0);
- error_reporting(0);
- echo "
- <head>
- <title>Online Devices Search Engine - H4T3D</title>";
- echo"</head>
- <style>
- html, body{
- background:#000000;
- color:#00FF00;
- font-family:monospace;
- height: 100%;
- text-decoration: none;
- background: url(http://www.netanimations.net/GPS-satellite-around-Earth-moving-animation.gif) no-repeat center center fixed;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- }
- textarea {
- //background:#000000;
- resize:none;
- color: #00FF00 ;
- border:1px solid red ;
- border: 4px solid red ;
- }
- select {
- color: ##33CCFF;
- border:1px dotted #33CCFF;
- height:5%;
- width:55%;
- }
- input{
- color: #33CCFF;
- border:1px dotted #33CCFF;
- height:5%;}
- a{
- color:red;
- }
- </style>";
- echo'
- <body>
- <center>
- <br>
- <h1>Online Devices Search Engine - H4T3D</h1>
- <br>
- </br>
- <form action="" method="POST">
- <select name="camers">
- <option value="webcam">Search Web Camers World Wide</option>
- <option value="cctv">Search CCTV Camers World Wide</option>
- <option value="Vedio">Search Vedio Camers World Wide</option>
- <option value="routers">Search ROUTERS World Wide</option>
- <option value="webcamxp">Search WebCamers On XP</option>
- <option value="default+password">World Wide Devices Default Password</option>
- <option value="default+password">World Wide Devices Default Username</option>
- <option value="camers">World Wide Camers</option>
- </select>
- <input type="submit" name="search" value="Search">
- </form>';
- if (isset($_POST['search'])) {
- # code...
- //http://151.60.1.230:9000/
- $query = $_POST['camers'];
- $token = "F4m6NrJ7EqW4NEutXasC19ycjFhaoWMA";
- $url = "https://api.shodan.io/shodan/host/search?key={$token}&query=$query";
- // Proses Mengambil
- if ($data = file_get_contents($url)) {
- $obj = json_decode($data,true);
- echo"<textarea style=\"margin: 0px; width: 370px; height: 611px;\">";
- for ($i=0; $i <count($obj['matches']) ; $i++) {
- echo $obj['matches'][$i]['ip_str'].":".$obj['matches'][$i]['port']."\n";
- ob_flush();
- }
- echo"</textarea>";
- }
- else{
- die("Something Went Wrong Please Try Again !!");
- }
- }
- ?>
- </center>
- </body>
Add Comment
Please, Sign In to add comment