A simple Twitter OSINT tool written in python
$ git clone https://github.com/mathis2001/TwittosINT
$ cd TwittosINT
$ python3 twittosint.py
-
Python3
-
Pip3
-
tweepy
$ pip3 install tweepy
hashtags/profiler: ./twittosint.py [-h] -u username [-ht] [-p] [-m] [-f] [-l limit]
network comparison: ./twittosint.py [-h] -c username1/username2
Options
-------------------------------------------
-u target username
-p profile information
-ht hashtags used by the target
-c followers and following comparison
-m check for mentions (occurence)
-f print followers details
-l limit
-------------------------------------------
Config
First, you have to create an application on https://developer.twitter.com/.
Then, copy your tokens and paste them in your environment variables as 'CONSUMER_KEY', 'CONSUMER_SECRET', 'ACCESS_TOKEN', 'ACCESS_TOKEN_SECRET'
and 'BEARER_TOKEN'.
In order to use this tool, you have to create an app on https://developer.twitter.com/ to have access to your tokens and access keys. It is necessary to use the free twitter APIv2.
Steps:
- create an app on your first log in developer.twitter.com.
- Once you are in your dashboard, go to 'Projects & App' > YOUR_PROJECT.
- Go to 'Keys and tokens'.
- Finally, generate your access keys and tokens > add them to your environment variables.