Jan 09, 2024, 01:53 PM
Hello, BF community
The story begins a week ago when I was searching for specific servers. I came across some of them on Shodan and decided to use the Shodan API to obtain their IPs. However, I encountered an issue - my Shodan API had reached its limit.
As I contemplated how to extract the IPs, a solution struck me: let's utilize the "Regular Expression" feature on the Shodan website. So, I devised a method:
The method:
I design a Regression Expression to Extract The IPs
1- Perform a search on Shodan for anything of interest.
2- Open the source code using "Ctrl + U" and copy it.
3- Visit https://regexr.com/ and paste the copied code into the text field.
4- Enter the designed Regular Expression into the Expression field.
The Expression:
5-Navigate to the list.
Regular Expression for Fofa:
Note: Feel free to develop a tool to automate this method if you find it useful.
enjoy, استمتع
⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
⭐ ⭐ ⭐ ⭐ ⭐Sharing is Caring⭐ ⭐ ⭐ ⭐ ⭐
⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
