Skip to content

0xDanielLopez/TweetFeed_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TweetFeed (code)

Source code used at TweetFeed

Web version at TweetFeed.live

Files

  • 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.

Installation

  1. Update your API keys in the secrets.py file. (To get API keys go to https://developer.twitter.com/apps)
  2. Install requirements
$ pip3 install -r requirements.txt
  1. Execute tweetfeed.py
$ python3 tweetfeed.py

Example output

Screenshot

Some comments

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!

Author

Give a Star! ⭐

If you like the project, please consider giving it a star!