Comments (20)
Are you sure Geckodriver is in /usr/local/bin?
from faitagram.
Or it just may be the version problem, (Selenium 3.40 + Geckodriver 0.16.0 + Firefox 53.0) Works Ok, under that firefox will not function properly.
from faitagram.
I have two versions of Firefox in Kali Linux - The version that came with Kali Linux and the the latest version I manually installed. Should I remove the old Kali Linux version of Firefox? I also have updated versions of Selenium and Geckodriver 0.18..0
from faitagram.
MelissaMv,
Looking at your error output, it looks like selinium looking for geckodriver in /usr/bin. You probably installed it in /usr/local/bin. I guess you can just create a symlink to solve the problem
Solution 1:
su -
ln -s /usr/local/bin/geckodriver /usr/bin/geckodriver
solution 2:
Also, do you have the latest code for faitagram; because Justin is calling
driver = webdriver.Firefox()
your local version appears to be calling as
driver = webdriver.Firefox(executable_path="/usr/bin/geckodriver")
You can update code by doing
git pull
in your local repository
from faitagram.
I think this problem is solved, according to selenium issues #3884, ( SeleniumHQ/selenium#3884 ) It was just about the version of the geckodriver. I changed the geckodriver v.13 install to v.19 latest. So it will work now.
from faitagram.
RE: driver = webdriver.Firefox(executable_path="/usr/bin/geckodriver")
Re: /usr/local/bin
@vanguard71 @Juniorn1003 I added that line to the script to see if it would work but no luck I also corrected the path location "/usr/local/bin/geckodriver" still no luck...I think I give up lol it appears to be working with others except me :( and I think its prolly because I'm using a 32 bit operating system not sure. I installed Selenium and Geckodriver and followed the instructions but...no luck. At least I tried lol hopefully I will get a script to work lol but I think this tool is awesome tho.
from faitagram.
what is the most recent error?
from faitagram.
Heyy @vanguard71 this is the error i'm getting with or without the added script:
driver = webdriver.Firefox(executable_path="/usr/local/bin/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(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.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
root@kali:~/Desktop/Faitagram#
from faitagram.
@MelissaMV According to selenium issue SeleniumHQ/selenium#3884 , this is an issue of the version.... Are you sure you have the correct version?
from faitagram.
try to output and ensure you are running right version with following
https://askubuntu.com/questions/261499/how-do-i-check-the-version-of-the-selenium-api-installed
Also, following line is incorrect. You want the directory; not the full path of executable
webdriver.Firefox(executable_path="/usr/local/bin/geckodriver")
you want
webdriver.Firefox(executable_path="/usr/local/bin/")
BTW, do not share your password in the forum and public media when you are putting exception details. you should change that phrase.
[ ok ] Successfully Scanned Password : 872860B76453A77D60CA2BB8C1A7042072093276A3D701AD684053EC4C
from faitagram.
@vanguard71 Thanks for your correction. And also, the hashed password is okay to share, since it is not that important, and you can change it easily and generate a new one easily.
from faitagram.
@Juniorn1003 @vanguard71 these are the versions I'm using:
root@kali:~# python -c "import selenium; print(selenium.version)"
3.8.1
root@kali:~# geckodriver
1516239285388 geckodriver INFO geckodriver 0.19.0
1516239285455 geckodriver INFO Listening on 127.0.0.1:4444
@vanguard71 the Hash password is incorrect but thx for your advice and concern :)
@Juniorn1003 setup.py is configured to install Geckodriver 64 Bit: "geckodriver-v0.19.0-linux64.tar.gz" but some folks still has a 32 Bit Operating system - I suggest you revert to the original script and let folks manually install Geckodriver 32 Bit or 64 Bit.
from faitagram.
@Juniorn1003 For some reason its not executing tonight, i'm getting this error:
root@kali:~/Desktop/Faitagram# ls
faitagram LICENSE README.md setup.py wlist
root@kali:~/Desktop/Faitagram# python faitagram -h
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
root@kali:~/Desktop/Faitagram#
from faitagram.
netstat -nltp
Is anything running on 9051
from faitagram.
Have you tried restarting tor ?
Just use /etc/init.d/tor restart , it worked for me
Though Iām still getting an error ( Iām going to make an issue soon)
from faitagram.
@vanguard71 nope nothings running on 9051
@SpartanKing4 thx for the tip - i restarted tor but same error.
from faitagram.
Oh, Thats the proxy problem.
from faitagram.
script updated. This script will go until you encounter the proxy problem.
from faitagram.
Also Added a function that makes the setup.py calculate the OS bit, and installs the right geckodriver.
from faitagram.
I think this problem is fixed.
from faitagram.
Related Issues (20)
- Python cant open faitgram HOT 2
- faitagram error line 263 HOT 1
- python faitagram -s facebook -u [email protected] -w /root/passwd.txt -d 10 HOT 2
- Error HOT 3
- OS_bit is not defined HOT 5
- I get this when typing python setup py
- index out of range in setup.py HOT 1
- faitagram
- Problem HOT 3
- Runs first password fails even when correct, then: Error: Message: Cannot Connect to the Service Geckodriver HOT 1
- OSError: [Errno 8] Exec format error HOT 1
- Help, ValueError: need more than 2 values to unpack
- After installing MITMf i got this traceback issue
- Syntax Error when running setup
- error python setup.py
- SYNTAX ERROR
- Why?Can't I try it anymore? HOT 3
- OPERATION NOT PERMITTED
- Code error line 42 HOT 1
- chmod +x faitagram SyntaxError: invalid syntax HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faitagram.