Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 135 Vote(s) - 3.57 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shodanier - A expanded version of Shodan search engine

#11
The lack of information with your Shodanier script has always been what made me stick with regular Shodan but its still a really great script. As always, thanks for the share!

Quote:(12-29-2018, 07:15 PM)samuraje77 Wrote:

[To see links please register here]

can a friend tell me what code to enter the "shodanier"

Like what type of device I believe, webcam, radio, router, etc...
Reply

#12
for (x in myObj.matches) {

document.write('<a href="http://'+ myObj.matches[x].ip_str +'" target="_blank">'+ myObj.matches[x].ip_str +'</a><br>');
}
document.write('</td></tr></table></center>');
document.write('</center></center></div></body></html>');
}
};
xmlhttp.open("GET", "https://api.shodan.io/shodan/host/search?key=CevVNIYrV6gUzMoxiMhcaO3JIJOmpCY1&facets=&query="+keyword+"", true);
xmlhttp.send();
}
</script>

it should be changed to the script to show it
for example
92.249.157.142 (en)
95.226.165.10 (en)
92.80.22.33 (ro)
188.6.25.13 (en)
151.74.211.160 (en)
2.232.250.212 (en)
83.41.182.143 (es)
Reply

#13
@"samuraje77" - You have to program in JSON. Point the XmlHTTP query to a hoster you control (

[To see links please register here]

.0.0.1 or

[To see links please register here]

) and format the text to a JSON string.


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#14
I do not know how to program a friend, can you make a shodanier edit your friend to see the name of the state next to the IP address?
Reply

#15
<script>
var keyword = prompt("Type a targeted keyword!", "radio");
if (keyword != null) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var myObj = JSON.parse(this.responseText);
document.write("<html><head><title>Shodani


document.write('<a href="http://'+ myObj.matches[x].ip_str +'" target="_blank">'+ myObj.matches[x].ip_str +'</a><br>');
}
document.write('</td></tr></table></center>');
document.write('</center></center></div></body></html>');
}
};
xmlhttp.open("GET", "https://api.shodan.io/shodan/host/search?key=CevVNIYrV6gUzMoxiMhcaO3JIJOmpCY1&facets=&query="+keyword+"", true);
xmlhttp.send();
}
</script>
my friend, where in the script to add this
{"name":"John", "age":31, "city":"New York"} ?????
Reply

#16
Yes, just add the ip string to the html page
Reply

#17
No, it doesn't work that way.

The JSON entry must be hosted in a server and then use the script above to get the JSON data.

Here is the script disassembled.

Defines a keyword in the prompt.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Starts the script if not equal to null

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Starts the xmlhttp

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Specifies that the JSON string has a object myObj.
(This object must exist inside the JSON string)


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Overwrittes the html page with a new one

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Make a hyperlink with a JSON object called ip_str inside matches inside myObj

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


HTML CODE

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Url to request the JSON String

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


TIP: I was trying to comment the keys as they appear on your post but it's missing code. Hope it highlights all the important questions.
Reply

#18
probably the google translate does not translate well. Interestingly, in the script can be entered a code that would show country_code with an ip address. Here is the shodanier version 1 because it is shorter. And where should the code be written to show country_code with ip address?

<script>
var keyword = prompt("Type targeted keyword!", "radio");
if (keyword != null) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var myObj = JSON.parse(this.responseText);
document.write('<center><table><tr><td>');
for (x in myObj.matches) {

document.write(''+ myObj.matches[x].ip_str +'<br>');
}
document.write('</td></tr></table></center>');
}
};
xmlhttp.open("GET", "https://api.shodan.io/shodan/host/search?key=CevVNIYrV6gUzMoxiMhcaO3JIJOmpCY1&facets=&query="+keyword+"", true);
xmlhttp.send();
}
</script>
Reply

#19
The API is not working for a few days now. But, teorically it should be myObj.matches[x].country or something similar.

Note: The change should be at this line inside the while loop


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Note 2: The code inside the document.write is HTML + variables
Reply

#20
Hi, got access to the API. The object is "country_name ".

Here is the code:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


This will give you a diferent text for each search. For Example: "Korea, Republic of", "Bulgaria", etc

Also you can use

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through