Categories: Kali Linux

Twitter-Intelligence : OSINT Project Performs Tracking & Analysis Of The Twitter

Twitter-Intelligence is a project written in Python to twitter tracking and analysis without using Twitter API.

  • This project is a Python 3.x application.
  • The package dependencies are in the file requirements.txt. Run that command to install the dependencies.
pip3 install -r requirements.txt
  • SQLite is used as the database.
  • Tweet data are stored on the Tweet, User, Location, Hashtag, HashtagTweet tables.
  • The database is created automically.

Also ReadLibssh-Scanner : Script to identify hosts vulnerable to CVE-2018-10933

Twitter-Intelligence Usage Example

Application work view:

  • Get help
 python3 tracking.py -h 
  • Get tweets by username
 python3 tracking.py --username "HaberSau" 
  • Get tweets by query
 python3 tracking.py --query "sakarya" 
  • Get tweet at a specific date range
 python3 tracking.py --username "HaberSau" --since 2015-09-10 --until 2015-09-12 --maxtweets 10 
  • If you get location of tweets, add –location “True” param but application will be slower due to new response times.
     python3 tracking.py --query "sakarya" --location "True"

Analysis

analysis.py performs analysis processing. User, hashtag and location analyzes are performed.

 

  • Get help:

 

python3 analysis.py -h

 

  • for location analysis

 

python3 analysis py --location

location analysis runs through address http://localhost:5000/locations

You must write Google Map Api Key in setting.py to display google map.

GOOGLE_MAP_API_KEY='YOUR_GOOGLE_MAP_API_KEY'

 

  • Runs hashtag analysis.

 

python3 analysis.py --hashtag

 

  • Runs user analysis.

 

python3 analysis.py --user

Graphical User Interface

socialgui.py used for GUI application

R K

Recent Posts

xargs Command in Linux: Build and Execute Commands from Input

The xargs command in Linux reads items from standard input and passes them as arguments to another…

2 days ago

locate Command in Linux: Find Files Fast with a Database Search

The locate command in Linux searches for files and directories by name. It queries a pre-built database…

2 days ago

Listing Linux Services with systemctl: A Complete Guide

Most modern Linux distributions use systemd as the default service manager. Knowing how to list…

2 days ago

How to Truncate Files in Linux: Empty Files Without Deleting

Truncating a file in Linux means removing its contents while leaving the file itself in…

2 days ago

ss Command in Linux: Display Socket Statistics and Connections

The ss command in Linux lists open sockets and active network connections. It replaced the deprecated netstat command and…

3 days ago

ftp Command in Linux: Connect to Servers and Transfer Files

The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything…

3 days ago