Module Request: fofa API #2567
Replies: 4 comments
-
|
Hey @smithdavida, thanks for the suggestion! Fofa looks like a pretty cool service. Are you interested in writing the module? We are always looking for help in that department. It should be pretty easy, take a look at our shodan module and let me know what you think. Fofa should be pretty similar! |
Beta Was this translation helpful? Give feedback.
-
|
I'm glad you accepted my suggestion!I completed the code to be able to run locally: watched_events = ["DNS_NAME"] def query(domain): def extract_domains(fofa_results): fofa_results = query("example.com") The output is similar to this: |
Beta Was this translation helpful? Give feedback.
-
|
Would you be so kind as to put that in a pull request? 😁🙏 # ...fork bbot
# clone your fork
git clone git@github.com:smithdavida/bbot && cd bbot
# create new branch
git switch -c fofa-module
# add your module
git add bbot/modules/fofa.py
# commit and push changes
git commit -m "added fofa module"
git push |
Beta Was this translation helpful? Give feedback.
-
|
@smithdavida happy new year! Any update on the fofa module? It'd be great if you could submit the code above as a draft PR. It doesn't have to be perfect; but it gets the ball rolling. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a masterpiece! I hope fofa api can be added in the future
Beta Was this translation helpful? Give feedback.
All reactions