Code Monkey home page Code Monkey logo

faitagram's Introduction

Faitagram - Don't Use This (Doesn't work anymore)-

A Bruter for FAcebook, twITter, and InstAGRAM. Made with python, developed from brut3k1t.

[You will need python!]

CREDIT:

This project was developed from brut3k1t,which was made by ex0dus-0x. Here is the page : https://github.com/ex0dus-0x/brut3k1t Since this script was not functionning, and was not ready for a attack, so I decided to develop this program from his.

I am not responsible for your action.

---------------- How To Use ----------------

Get the requirements:

python setup.py

Command:

python faitagram -s [service] -u [username] -w [wordlist] -d [delay(Optional)]

Examples:

python faitagram -s facebook -u [email protected] -w /root/passwd.txt -d 10

(Execute faitagram) (facebook)  (Email of the target)  (wordlist path)   (delay[10secs])


python faitagram -s instagram -u justin -w wlist

(Execute faitagram) (Instagram) (username) (wordlist)


python faitagram -s twitter -u hellohahahha -w wlist -d 3

(Execute faitagram) (Twitter)  (Username)  (wordlist) (delay[3secs])

Memorize:

-s, -u, -w parameters are musts, and -d is optional.

-d in default is 1 sec.

In facebook, you would have to type the email in the -u.

In facebook, the script will ask you the Name of the target.

Specific tutorial will be on NullByte, I would put a link after I make a tutorial:

https://null-byte.wonderhowto.com/forum/hacking-facebook-twitter-instagram-account-passwords-with-bruteforce-0181808/

How it works:

This script uses selenium web driver, and Xvfb and pyvirtualdisplay to make the web driver invisible so you can keep doing work, this script also uses STEM as the proxy.

faitagram's People

Contributors

complexpotato avatar josiahgithub avatar sogol75 avatar tzuhaofeng 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  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

faitagram's Issues

How to run on mac OS

`Checking Username...

Traceback (most recent call last):
File "faitagram", line 159, in
main()
File "faitagram", line 47, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 66, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 75, in usercheck
display = Display(visible=0, size=(800, 600))
File "/Library/Python/2.7/site-packages/pyvirtualdisplay/display.py", line 34, in init
self._obj = self.display_class(
File "/Library/Python/2.7/site-packages/pyvirtualdisplay/display.py", line 52, in display_class
cls.check_installed()
File "/Library/Python/2.7/site-packages/pyvirtualdisplay/xvfb.py", line 38, in check_installed
ubuntu_package=PACKAGE).check_installed()
File "/Library/Python/2.7/site-packages/easyprocess/init.py", line 180, in check_installed
raise EasyProcessCheckInstalledError(self)
easyprocess.EasyProcessCheckInstalledError: cmd=['Xvfb', '-help']
OSError=[Errno 2] No such file or directory
Program install error!`

Help with setup.py

When I try to chmod faitagram and enter "chmod +x faitagram && chmod +x setup.py"
I get chmod: cannot access 'setup.py' :No such file or directory.

Errooorr 111

Arrriiigth.

Steps i was through that was not included in the tutorial:
-Install TOR: sudo apt-get install tor
-Install Selenium (Had the same PATH problem as the guy Xceed): found random youtubevideo that got the right codes to use in description. (It worked)

After that i started testing Instagram.
After 3 attemtps:
ERROR : ERRNO 111 Connection refused.
tried "service tor start" - didnt work

Last script was jumping IPS after 3 attempts. Perhaps you could change the script to jump ip after 2 attempts?

Update

Tested twitter aswell. Got same error after 3 tries.
Anyway. The script find the right password (within the 3 times). Tried to change password on a test account i got to second password in the wlist. It did find the right password and script stopped.

ALz

Unexpected token error while installing

I want to install the script, but whenever I type "./setup.py" it gives me this error:
./setup.py: line 3: syntax error near unexpected token (' ./setup.py: line 3: OS_bit = (round(math.log(sys.maxint,2)+1)) # get the bit'
I also tried to manually changing the variable from "(round(math.log(sys.maxint,2)+1)) " to 32 but nor luck.
I hope you can clarify that. Thank you.

help

Traceback (most recent call last):
File "faitagram", line 159, in
main()
File "faitagram", line 47, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 66, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 77, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 311, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

Issue

Well I think you remember me... brut3k1t didn't work and I saw your comment to download faitagram.. I downloaded but it doesn't work too
hh
any help???

connection refused

think there is something wrong with geckodriver
[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 299, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 131, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 148, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

geckodriver.log

1516175356446 geckodriver INFO geckodriver 0.19.0
1516175356454 geckodriver INFO Listening on 127.0.0.1:33687
1516175357458 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.ZfVWIuzDFEmE"
1516175360965 Marionette ERROR Error on starting server: [Exception... "Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.initSpecialConnection]" nsresult: "0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE)" location: "JS frame :: chrome://marionette/content/server.js :: MarionetteServer.prototype.start :: line 95" data: no]
[Exception... "Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.initSpecialConnection]" nsresult: "0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE)" location: "JS frame :: chrome://marionette/content/server.js :: MarionetteServer.prototype.start :: line 95" data: no]
MarionetteServer.prototype.start@chrome://marionette/content/server.js:95:19
MarionetteComponent.prototype.init@resource://gre/components/marionette.js:217:5
MarionetteComponent.prototype.handle@resource://gre/components/marionette.js:112:5

real ip or tor ip ?

My only problem is that i cannot have a tor's ip,

i always have my real internet ip by using ip.42.pl in my_ip.

what do you think about it ? do i have a pb with self.setIP()?
Do i have to launch Faitagram in a root session ?

Got connection refused

after doing this
python faitagram -s instagram -u username -w wlist

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 299, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 131, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 148, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

h

after everything install correctly and finally getting to the end i got this

Error : Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused
Traceback (most recent call last):
File "faitagram", line 254, in
main()
File "faitagram", line 63, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 97, in execute
self.webBruteforce(self.username, self.wordlist, self.service, self.delay)
File "faitagram", line 245, in webBruteforce
driver.quit()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 191, in quit
RemoteWebDriver.quit(self)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 689, in quit
self.execute(Command.QUIT)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 310, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 466, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 489, in _request
self._conn.request(method, parsed_url.path, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 566, in create_connection
sock.connect(sa)
File "/usr/lib/python2.7/dist-packages/socks.py", line 777, in connect
raise ProxyConnectionError(msg, error)
socks.ProxyConnectionError: Error connecting to SOCKS5 proxy 127.0.0.1:9050: [Errno 111] Connection refused

pb with tor cookie

[ ok ] Restarting tor (via systemctl): tor.service.
Please Enter The NAME Of The Facebook Account : jjj
[ ok ] Checking Account Existence

"We were unable to read tor's authentication cookie...

Path: /var/run/tor/control.authcookie
Issue: Authentication failed: unable to read '/var/run/tor/control.authcookie' ([Errno 13] Permission denied: u'/var/run/tor/control.authcookie')
sh: 1: service: not found"

tor_process not defined

Hey,
There were some IndentationError's and I fixed them by adjusting spaces and stuff, but after that I get the:
sh: 1: m: not found
Traceback (most recent call last):
File "faitagram", line 279, in
main()
File "faitagram", line 58, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 120, in execute
self.webBruteforce(self.username, self.wordlist, self.service, self.delay)
File "faitagram", line 272, in webBruteforce
self.stopTOR()
File "faitagram", line 81, in stopTOR
tor_process.kill()
NameError: global name 'tor_process' is not defined

What do you think I should do?
I would like to assist in this in any way possible

tor

tor is not there, what is this tor and how do i get it

Syntax error

How come I keep getting Syntax Error file faitagram line 260???

torrc question

Justin,
I am running a non kali linux distribution. Can you please confirm the following:

  1. Which line were you un-commenting in setup.py\
    #SOCKSPort 9050 ?

  2. In main script, is it also trying to read the same above line?

    with open('/etc/tor/torrc','r') as f:

    contents = f.readlines()
    
    data = contents[59]
    
    Hash = data.rsplit(":",1)[1]
    

No connection error

Installed tor, installed selenium, chmod setup.py and faitagram, python setup.py, copied geckodriver to faitagram folder, ran command line:

How can I fix?

Checking Username...

Traceback (most recent call last):
File "faitagram", line 159, in
main()
File "faitagram", line 47, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 66, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 77, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 311, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

Questions!

Cant you do like a video or so... for us begginers at this who dont have a single clue how to downlad all this stuff for example can i download it on windows and so and so.... please make a video of it i have been trying for the last 2 hours and still cant get it right

what is wrong with webdriver ?

Please help me.

root@ubuntu-512mb-0905-snapshots-bootscript-kcptun-512mb-nyc3-09:~/Faitagram# sudo python faitagram -s facebook -u [email protected] -w ./wlist -d 10
Checking Username...

Traceback (most recent call last):
File "faitagram", line 159, in
main()
File "faitagram", line 47, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 66, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 77, in usercheck
driver = webdriver.Firefox()
File "/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 51, in init
self.binary, timeout),
File "/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/extension_connection.py", line 47, in init
self.binary.launch_browser(self.profile)
File "/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py", line 43, in launch_browser
self._start_from_profile_path(self.profile.path)
File "/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py", line 65, in _start_from_profile_path
env=self._firefox_env).communicate()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
AttributeError: 'NoneType' object has no attribute 'rfind'
root@ubuntu-512mb-0905-snapshots-bootscript-kcptun-512mb-nyc3-09:~/Faitagram#

I have no clue what is going on

I used the install file and turned on the service for tor, but I get this message when trying to use it and I have no idea what is going on.
Here is the terminal log:

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 306, in
main()
File "faitagram", line 81, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 136, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 153, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 148, in init
self.service.start()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error

Please help

line 299 and 75

[....] Restarting tor (via systemctl): tor.serviceJob for tor.service failed because the control process exited with error code.

Traceback (most recent call last):
File "faitagram", line 299, in
main()
File "faitagram", line 75, in main
Hash = data.rsplit(":",1)[1]

IndexError: list index out of range`

when i run setup.py

Job for tor.service failed because the control process exited with error code.
See "systemctl status tor.service" and "journalctl -xe" for details.

after this it says torrc modification succesful, so i dont think this is wrong

See "systemctl status tor.service" and "journalctl -xe" for details.
failed!

after systemctl status tor.service

Jan 16 08:51:33 kalilinux tor[11884]: Checking if tor configuration is valid ... failed!
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.881 [notice] Tor v0.2.5.12 (git-3731dd5c3071dc
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.881 [notice] Tor can't help you if you use it
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.881 [notice] Read configuration file "/usr/sha
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.882 [notice] Read configuration file "/etc/tor
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.884 [warn] Failed to parse/validate config: Un
Jan 16 08:51:33 kalilinux tor[11884]: Jan 16 08:51:33.884 [err] Reading config failed--see warnings
Jan 16 08:51:33 kalilinux systemd[1]: tor.service: Control process exited, code=exited status=1
Jan 16 08:51:33 kalilinux systemd[1]: tor.service: Failed with result 'exit-code'.
Jan 16 08:51:33 kalilinux systemd[1]: Failed to start LSB: Starts The Onion Router daemon processes

sorry for bad format new to github

help......

[ ok ] Restarting tor (via systemctl): tor.service.
Traceback (most recent call last):
File "faitagram", line 267, in
main()
File "faitagram", line 69, in main
data = contents[59]
IndexError: list index out of range

Still getting Webdriver connection refused

I have updated Faitagram to the last version but i still get the same selenium.WebdriverException connection refused error :

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 306, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 138, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 157, in usercheck
driver = webdriver.Firefox(executable_path="/usr/local/bin/geckodriver")
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

I have executed the setup and all of that .

how to get rid of it?

geckodriver-v0.19.0 100%[===================>] 2.15M 50.6KB/s in 48s

2018-01-22 17:47:39 (46.0 KB/s) - ‘geckodriver-v0.19.0-linux64.tar.gz’ saved [2259579/2259579]

geckodriver
Traceback (most recent call last):
File "setup.py", line 28, in
fp = open("/etc/tor/torrc")
IOError: [Errno 2] No such file or directory: '/etc/tor/torrc'

faitagram

selenium webdriver import error
no module names selenium

socket.error: [Errno 111] Connection refused

  1. i tested with wordlist (wlist)

Username: sxxxxxxxxxxxxxx -> Password found: 123456

Traceback (most recent call last):
File "faitagram", line 342, in
main()
File "faitagram", line 102, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 168, in execute
self.webBruteforce(self.username, self.wordlist, self.service, self.delay)
File "faitagram", line 326, in webBruteforce
self.stopTOR()
File "faitagram", line 124, in stopTOR
driver.close()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 510, in close
self.execute(Command.CLOSE)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 234, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 401, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 432, in _request
self._conn.request(method, parsed_url.path, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
socket.error: [Errno 111] Connection refused

  1. i tested with my own worldist

Error : 'utf8' codec can't decode byte 0xc2 in position 0: unexpected end of data
Traceback (most recent call last):
File "faitagram", line 342, in
main()
File "faitagram", line 102, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 168, in execute
self.webBruteforce(self.username, self.wordlist, self.service, self.delay)
File "faitagram", line 334, in webBruteforce
self.stopTOR()
File "faitagram", line 124, in stopTOR
driver.close()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 510, in close
self.execute(Command.CLOSE)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 234, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 401, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 432, in _request
self._conn.request(method, parsed_url.path, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 844, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 821, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
socket.error: [Errno 111] Connection refused

Help

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 295, in
main()
File "faitagram", line 78, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 127, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 146, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

File "faitagram", line 97

root@kali:~/Faitagram# python faitagram -s instagram -u username -w
/root/Downloads/10_million_password_list_top_1000000.txt.icloud
File "faitagram", line 97
def setIP(self): # Changing Public IP

IndentationError: unindent does not match any outer indentation level

Selenium Webdriver connection refused

Output:
Traceback (most recent call last):
File "faitagram", line 159, in
main()
File "faitagram", line 47, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 66, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 77, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 311, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

Geckodriver runs fine though and i tried pip install -U selenium and it still didn't work

Still getting problems

I downloaded your latest update and when typing in the command, it said about restarting tor service and then it didn't do anything and then finally it ended up coming up with a error. btw im using kali linux like you need.
Here is the terminal log:

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C

Traceback (most recent call last):
File "faitagram", line 306, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 138, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 157, in usercheck
driver = webdriver.Firefox(executable_path="/usr/local/bin/geckodriver")
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: connection refused

Error while installing

Hey Bro, Im new on this things but I wana learn but anyway, while I was installing by the comand python setup.py this happens, any idea? I have just installed Kali Linux on Virtual Box, myabe that matters, THX!
2222

script suggestion

Justin,
Thank you again for making this script working. I have some suggestion, please let me know if they make sense

  1. User check function unnecessary: There is no correlation between trying different password and usercheck method. At the beginning of script, I can just proceed by typing any common name like "David" and script will let us proceed. I think this is unnecessary as private profile will always fail during script execution and exit script

  2. checking current ip address. currently you are checking ip address by

my_ip = urlopen("http://ip.42.pl/raw").read()

The above will always give your real ip address, not what tor changing it to.

  1. Also, since, you are using tor to change ip address, why not use tor browser itself. When you are using firefox, it maybe loosing its effect.

Better yet, why not remove some of the heavier things from the script and make it bare bone script.

Use
a. tor to change ip
b. use curl to send requst
c. perform xml parsing to verify whether we are successful; thus remove dependency on heavier things like selenium. Anytime I see JAVA dependency, it tells me, soon or later there will be memory bloating.

Please let me know if they make sense, I can possibly lend a hand in this with my limited knowledge of http protocol.

IndentationError. Changing public IP

File "faitagram", line 99
def setIP(self): # Changing Public IP
^
IndentationError: unindent does not match any outer indentation level

Did i miss out anything or..

Error: Traceback (most recent call last):

@Juniorn1003 Heyyy how do I solve this error?

I'm using Kali Linux

I installed Selenium

I have Geckodriver in /usr/bin/geckodriver

But I'm still getting this error:

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 299, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 131, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 148, in usercheck
driver = webdriver.Firefox()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in init
keep_alive=True)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

I edited line 148 and still got this error:

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
File "faitagram", line 299, in
main()
File "faitagram", line 79, in main
Bruter(service, username, wordlist, delay).execute()
File "faitagram", line 131, in execute
if self.usercheck(self.username, self.service) == 1:
File "faitagram", line 148, in usercheck
driver = webdriver.Firefox(executable_path="/usr/bin/geckodriver")
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 148, in init
self.service.start()
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

What else needs to be done?

stem.socketerror: connection refused

You fixed the first thing, but with that this came up.
Traceback (most recent call last):
File "faitagram", line 25, in
controller = Controller.from_port(port=9051)
File "/usr/local/lib/python2.7/dist-packages/stem/control.py", line 1026, in from_port
control_port = stem.socket.ControlPort(address, port)
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 376, in init
self.connect()
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 247, in connect
self._socket = self._make_socket()
File "/usr/local/lib/python2.7/dist-packages/stem/socket.py", line 405, in _make_socket
raise stem.SocketError(exc)
stem.SocketError: [Errno 111] Connection refused

There is something wrong with the ports. it should be 9051 and 9050, and it is 9051 and 9050 so think there is and error in the code

Selenium WebDriver

It shows error of selenium webdriver
How do i install selenium webdriver in kali linux ?

Unicode and strings?

Dammit, almost worked

Now I get:

Traceback (most recent call last):
File "faitagram", line 277, in
main()
File "faitagram", line 44, in main
if os.path.exists(wordlist) == False:
File "/usr/lib/python2.7/genericpath.py", line 26, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Is there any unicode method that's returning a field that is not entered?

how to fix this error

sh: 1: /etc/init.d/tor: not found
Traceback (most recent call last):
File "faitagram", line 295, in
main()
File "faitagram", line 68, in main
with open('/etc/tor/torrc','r') as f:
IOError: [Errno 2] No such file or directory: '/etc/tor/torrc'

Unable to find matching set of capabilities

So I removed Firefox version 52 ESR, the version that came with Kali out of the box, and installed firefox 58 but I'm facing this issue right here:

[ ok ] Restarting tor (via systemctl): tor.service.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
Traceback (most recent call last):
  File "faitagram", line 267, in <module>
    main()
  File "faitagram", line 75, in main
    Bruter(service, username, wordlist, delay).execute()
  File "faitagram", line 101, in execute
    if self.usercheck(self.username, self.service) == 1:
  File "faitagram", line 118, in usercheck
    driver = webdriver.Firefox()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 158, in __init__
    keep_alive=True)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Always same password

Hello,

I tried everthing for that to work, fixed tor.service issue then all my accounts show the same password:
123456 which is wrong for sure. can you help please

General SOCKS server error

After testing the third password, I receive the following error:

Error : 0x01: General SOCKS server failure
Traceback (most recent call last):
  File "faitagram", line 267, in <module>
    main()
  File "faitagram", line 75, in main
    Bruter(service, username, wordlist, delay).execute()
  File "faitagram", line 109, in execute
    self.webBruteforce(self.username, self.wordlist, self.service, self.delay)
  File "faitagram", line 258, in webBruteforce
    driver.close()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 679, in close
    self.execute(Command.CLOSE)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 310, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 466, in execute
    return self._request(command_info[0], url, body=data)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 489, in _request
    self._conn.request(method, parsed_url.path, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1042, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1076, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/lib/python2.7/httplib.py", line 924, in putrequest
    raise CannotSendRequest()
httplib.CannotSendRequest

How to solve this?

Traceback (most recent call last):
File "setup.py", line 28, in
fp = open("/etc/tor/torrc")

question about the algorithm

Juniorn1003,
I saw in the script a variable "j" that is initialized to 0 at the beginning. The data can be incremented by 1, but when j=2, it is reinitialized.
Can you tell what is the utility of "j" because i cannot see a condition where "j" is used?

Thanks

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.