How to: Crack Instagram Passwords Using Instainsane

Instagram is one of the most widely used social media applications. I am pretty confident that at least one of your friends or you are using it pretty much everyday. Today I am going to show you how you can crack your friend's Instagram password using a script called Instainsane.

Step 1: Download Instainsane

Unfortunately, Instainsane isn't built into our Kali distribution, so we will have to clone its repository from github.
kali > git clone

Now, we need to install it. Go to the directory where you cloned the github repository and run the "" bash script.

kali > cd <path to directory>
kali > chmod +x
kali > ./

Step 2: Crack That Password!

It is finally time to crack your friend's password. The only thing we need now is your friend's Instagram username and you could also prepare a wordlist, though the script provides us with a default one which is actually preferable to use.

Note: the longer and bigger the wordlist, the slower the cracking process. This is due to the way the script handles files, so a big dictionary like rockyou.txt isn't advised.

Start by running the Instainsane script. You will need to be in the directory where you cloned it.
kali > chmod +x
kali > ./

Note: depending on your terminal settings or due to a bug in the script, the printing might be cut a little (like on my terminal), but for the most part you should be fine.

You will be prompted for the username that you wish to crack the password of. Enter your friend's username. For the purpose of this tutorial I have created an account to test the script on.

Next, you will be asked to set a wordlist. Just press enter here or if you really want to use one, just specify the path to it.

If you have that text being cut bug, you won't be able to see the ports, but you don't need them anyway. For those of you who want to know them they are: 9051, 9052, 9053, 9054 and 9055.

After the connection has been established the cracking process will begin.

The way that Instainsane works is it creates a connection through the TOR network as Instagram only allows for 10 login attempts per IP to the same account. That way every 10 guesses Instainsane switches IPs through TOR to allow the cracking process. To speed up the process the script creates multiple threads.

Step 3: Success

If the password is in the wordlist, given enough patience you will have it.

Now you have your friend's Instagram password! How cool is that?!

Note: there is a bug in the script and sometimes when it finds the password it won't stop the process, so you will see more and more passwords being tested. The script pauses for a few seconds automatically every 100 guesses, so keep an eye out for the password.

Note: also when it finds the right password your friend would be told that a suspicious login was attempted. As of now there is no way of getting rid of this, so sorry :(

Note: Neither me nor anyone is responsible for your actions. Hope you use this knowledge for good!

If Instainsane fails to crack the password, try another wordlist.

Ask any questions or problems you have down in the comments and I will be more than glad to respond to them!
Have a nice day hacker and thank you for reading the whole article. Keep coming back for more!

Never Miss a Hacking or Security Guide

New Null Byte in your inbox, every week.

17 Responses

Look what I found
bash: ./ Permission denied
help plz

Before this command ./, Run this command chmod +x

I faced the same issue and now its working like a charm:)

Can you send me a detailed explanation of how to download the software and run the code.
Thank you.
Instagram id: vichithmere

Downloading the software is just cloning it from the git repository. The running does the rest of the job. The steps of using the software are explained in the article.

pls message me on instagram @thesecretaccofc

pls message me on instagram @thesecretaccofc

Running chmod +x before the start command will fix the issue.

  • Use :

sudo ./

pls message me on instagram @thesecretaccofc

bash: ./ Permission denied
Pls help to slove my problem*

Before this command ./, Run this command chmod +x

I faced the same issue and now its working like a charm:)

Hi author.... the default wordlist is working like a charm, though it gave error on 19303 entry.Anyways i wanna ask that how to specify the path to add manually word list.Can you please give an example.

Kali Linux has a lot of built in wordlists, located under /usr/share/wordlists. If you want to use another wordlist, instead of pressing ENTER when asked for a password list, just specify the path to the wordlist. Example:


I'm having a problem where when I write "./" it says "Tor is not installed".
Do I need to install Tor for this to work?

Yea but it's easy to get
Type in "pip install mechanize"

Then there will be a line of command to install pip and just type that in and then put in the following commands in order

install mechanize with: pip install mechanize

install requests with: pip install requests

install Tor with: sudo apt-get install tor

pls message me on instagram @thesecretaccofc

Hi! I would like to know, since I know therr's a pattern for my victim's password (spanish word-four digit number), what would be the code for it to try to crack it using that pattern?

Share Your Thoughts

  • Hot
  • Active