complexpotato / faitagram Goto Github PK
View Code? Open in Web Editor NEW(Doesn't work anymore)
License: MIT License
(Doesn't work anymore)
License: MIT License
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'
Justin,
Thank you again for making this script working. I have some suggestion, please let me know if they make sense
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
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.
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.
It shows error of selenium webdriver
How do i install selenium webdriver in kali linux ?
Once it verifies that the account is real the page https://www.instagram.com/accounts/login/?force_classic_login say's it the page is either broken, or has been removed. Did they just catch on, and disable it.
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
[ 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"
[ 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
selenium webdriver import error
no module names selenium
after 3 attempts it stops
[ 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
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
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
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..
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
Ligne 258 : il manque une parenthèse
:-p
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
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
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
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
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
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?
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
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 ?
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
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
@Juniorn1003
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
Justin,
I am running a non kali linux distribution. Can you please confirm the following:
Which line were you un-commenting in setup.py\
#SOCKSPort 9050 ?
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]
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
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'
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 .
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
Have selenium and tor butonce i rum python setup.py in script i geterrors regarding geckodriver
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
Error : local variable 'my_ip' referenced before assignment
thats the code. Whats the issue(Questionmark)
How come I keep getting Syntax Error file faitagram line 260???
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 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.
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
tor is not there, what is this tor and how do i get it
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
After trying 3 passwords this pop up (Error : [Errno 111] Connection refused)
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
`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!`
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.
@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?
Traceback (most recent call last):
File "setup.py", line 28, in
fp = open("/etc/tor/torrc")
[....] 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.