kienmarkdo / Telegram-OSINT-for-Cyber-Threat-Intelligence-Analysis

An OSINT tool tailored for comprehensive collection, analysis, and interpretation of cyber threat intelligence from Telegram channels and groups.
2 stars 0 forks source link

Collect participants from sent messages #31

Closed kienmarkdo closed 7 months ago

kienmarkdo commented 7 months ago

The current get participants feature grabs participants information directly from the get participants API. However, many admins choose to hide participants information in their groups. This makes this feature useless.

Implement a feature that iterates through the messages, grabs the message sender's user ID, and get their information via a different API.

Example usage

python scrape.py --get-participants  # outputs log message saying that this group hides participants information and that this must be ran with --get-messages
python scrape.py --get-messages --get-participants # correct usage. Iterates through the collected messages and grabs participant information from there

We'll worry about duplicated data later... Just get this done for now

kienmarkdo commented 7 months ago

Started here https://github.com/kienmarkdo/Telegram-OSINT-and-Graph-Based-Analysis-of-Criminal-Activity/commit/3aa6e63ed086f0313e047720743a2c3dfb3c5f84

Finished here https://github.com/kienmarkdo/Telegram-OSINT-and-Graph-Based-Analysis-of-Criminal-Activity/commit/8b7bae9ffd6a7aa6b0734ba80e97978dd307951f