Code Monkey home page Code Monkey logo

terra's Introduction

Terra :

terra

Terra : Recon tool on Social Media Networks.

Recon Available on :

Twitter

Instagram

Installation

Clone the github repo

$ git clone https://github.com/xadhrit/terra.git

Change Directory

$ cd terra

Requirements :

For requirements run following commands:

$ python3 -m pip install -r requirements.txt

Note

For Twitter Credentials :

You need credentials which are listed in twitter.yml file in creds folder for using terra.

You can find more about Twitter Api and Access Tokens on Twitter's Developer Portal

For Instagram Credentails:

Put your Instagram's username and password in creds/insta.yml file. And you are good to go.

Usage :

Terra

Basic Usage:

~/terra$ python3 terra.py <username of target> 

help :  -j for saving results in a JSON file
       -f for text file

Twitter Recon Commands :

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 Recon Commands :

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

Contribution :

Every pull request with good and understandable code :) is welcomed.

TroubleShooting

Open an issue on Github.

Every time you relogin in instagram account you have to delete session ids and cookies and from creds/settings.json file and put an empty braces in file like this

External Libraries :

Python-twitter : https://github.com/bear/python-twitter

Instagram Private API : https://github.com/ping/instagram_private_api

Terra is no longer an active project. I am looking for maintainers.

For those who can't run terra after the recent commit

Change your creds in creds.yml file
username: "username"
password: "password"

terra's People

Contributors

bonber avatar fifirex avatar katedodd avatar tintedfireglass avatar xadhrit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terra's Issues

error

File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 794, in init
self.setFont()
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 801, in setFont
self.Font = FigletFont(font=self.font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 126, in init
self.data = self.preloadFont(font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 147, in preloadFont
raise FontNotFound(font)
pyfiglet.FontNotFound: isometric3

error parsing

i'm getting this error after attemp login
Error Parsing error response : Expecting value : line 1 column 1 (char 0) Not found

Cannot Start Whatsoever

After inputting the command python3 terra.py & inputting the target user I get this.

Traceback (most recent call last):
File "/home/kali/terra/terra.py", line 286, in
main()
File "/home/kali/terra/terra.py", line 140, in main
banner()
File "/home/kali/terra/terra.py", line 117, in banner
banner = Figlet(font='isometric3',justify='right')
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 794, in init
self.setFont()
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 801, in setFont
self.Font = FigletFont(font=self.font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 126, in init
self.data = self.preloadFont(font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 147, in preloadFont
raise FontNotFound(font)
pyfiglet.FontNotFound: isometric3

pyfiglet is installed so im not sure whats going on here. Is there a solution to this?

'Instagram' object has no attribute 'on_login_callback'

I put login and password in insta.yml but it returned this error

ClientCookieExpiredError/ClientLoginRequiredError Cookie expired at 1646644050
Please re-check credentials again in ./creds/insta.yml file :)
'Instagram' object has no attribute 'on_login_callback'

using python 3.10 on windows 10

$ python terra.py testuser -f
imagem_2022-10-17_220829504

"on_login_callback" problem

I get prompted this when I try to use the program. Creds are okay. What can be wrong?

'Instagram' object has no attribute 'on_login_callback'

Error !

Getting error like this ,

Traceback (most recent call last):
File "/home/sahil/terra/terra.py", line 357, in
main()
File "/home/sahil/terra/terra.py", line 160, in main
banner()
File "/home/sahil/terra/terra.py", line 136, in banner
banner = Figlet(font='isometric3',justify='right')
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 794, in init
self.setFont()
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 801, in setFont
self.Font = FigletFont(font=self.font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 126, in init
self.data = self.preloadFont(font)
File "/usr/lib/python3/dist-packages/pyfiglet/init.py", line 147, in preloadFont
raise FontNotFound(font)
pyfiglet.FontNotFound: isometric3

Message: ClientCookieExpiredError/ClientLoginRequiredError Cookie expired at 1646644050

Hi,

when i select the option 2 (> for instagram) i recive the error in object, i paste one screen :

immagine

i found 'on_login_callback' in terra/src/instagram.py, inside the function login :

immagine

i tried with a "sudo apt update", i also cleaned the cookies of firefox but don't work, the credential in insta.yml are correct.
Maybe there is some problem with 2FA, or whit captcha controll?

Error

It gives me error on the execution of the command
sudo python3 -m pip install -r requirements.txt
also by changing it to
sudo python3 -m pip3 install -r requirements.txt

ERROR: Invalid requirement: 'urllib3 = 1.26.7' (from line 5 of requirements.txt)
Hint: = is not a valid operator. Did you mean ==

What's wrong?

Error

Please re-check credentials again in ./creds/insta.yml file :)
'Instagram' object has no attribute 'on_login_callback'

Login required?

When I try to use the instagram tool it says that it is attempting to login, and then gives me an error saying that login is required.

Attempting to Login :)

login_required

I've checked insta.yml and the credentials are all correct. Does anyone have a fix?

Error finding any users but myself.

The error says

Not Found ```

Doesn't find any users. As I'm gathering there are very similar issues with Osintgram and this error might be caused by Instagram changint their API...? 

Regardless if there are any updates on the issue or it's being solved, any information would be most welcome!

tweet: unsupported operand type(s) for +: 'dict' and 'int'

Whenever I am running tweet command inside console after few tweets from target account i get following error:


unsupported operand type(s) for +: 'dict' and 'int'

and program exits to shell.
I am running on Ubuntu 20.04
My Env:

python3 --version
Python 3.8.10

pip3 --version
pip 20.0.2 from /root/terra/venv/lib/python3.8/site-packages/pip (python 3.8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.