Terra – инструмент OSINT для Twitter и Instagram
Life-Hack [Жизнь-Взлом]/ХакингКлонируйте репозиторий c github:
$ git clone https://github.com/xadhrit/terra.git
Сменим каталог:
$ cd terra
Требования
Для установки зависимостей выполните следующие команды:
$ python3 -m pip install -r requirements.txt
Примечание
Для учетных данных Twitter :
Для использования terra вам нужны учетные данные, которые перечислены в файле twitter.yml в папке creds.
Вы можете узнать больше о Twitter Api и маркерах доступа на портале разработчиков Twitter.
Для учетных данных Instagram:
Вставьте имя пользователя и пароль Instagram в файл creds/insta.yml.
И все готово.
Использование
![](https://sun9-50.userapi.com/impg/VF7OA1G6DG3ppfRd_sJ39m8gTXa57MSVV566zA/iCL5Qqa8gEA.jpg?size=724x532&quality=96&sign=11a57621e15bd8c639345c774affd8fe&type=album)
Основное использование:
~/terra$ python3 terra.py <username of target> help : -j for saving results in a JSON file -f for text file
Команды разведкиTwitter:
ls: Display all Terra Commands help: For Help quit: For quiting the program clear: For cleaning your terminal screen exit: For exiting from Terra reset target : Reset new target in command line tweets : Get latest tweets tweeted by Target favtweets : Get latest tweets which favorited by Target followers : Get target's followers list following : Get target's following list info: Get overview and infomation about target profile pic: Download Target's Profile Picture banner: Download Target's Profile banner htags : Get hashtags used by Target
Команды разведки Instgram:
ls : Display Terra Commands, help : for Help, clear: for clearning your Screen, quit: for quiting, exit: For Exiting from Terra, locations : For getting Pinned location of target, captions : For gathering target's captions, reset target: For resetting target in Terra, comments : For all comments of target, followers : For getting follower's list of target, followings: For getting following list of target followers emails : For target's followers emails, following emails : For target's following emails, followers phone : For target followers phone numbers, followings phone : For target followings phone numbers, tags : For getting hashtags used by target , timeline : For overview of target's account , likes: Get total_likes of target, ' mediatype : For information of photos and video of target, photodes : For gathering target photos description, ' photos : For Downloading target's photos, profile pic : For downloading target's profile picture, stories : For downloading target's stories , tagged': For listing user who tagged by target, commenter': For getting all user who commented on target's posts ttag : For listing user tagged target in their posts
Каждый раз при повторном входе в аккаунт instagram необходимо удалять идентификаторы сессии и cookies из файла creds/settings.json и помещать в файл пустые скобки следующим образом