Source code used at TweetFeed
Web version at TweetFeed.live
- tweetfeed.py → Main script.
- tags.py → Tags being searched on Twitter.
- whitelist.py → Lists of whitelisted IOCs.
- secrets.py → API keys.
- output/ → Directory with output files.
- Update your API keys in the secrets.py file. (To get API keys go to https://developer.twitter.com/apps)
- Install requirements
$ pip3 install -r requirements.txt
- Execute tweetfeed.py
$ python3 tweetfeed.py
This is the core part of the code at TweetFeed, I have tried to keep it as simple as possible. In the official code that I use I added some more regex, filters and whitelists as folks on Twitter use many formats to publish IOCs.
Any Issue, PR or Feedback is welcome!
If you like the project, please consider giving it a star!