Comments (8)
Ok After upgrading, The Issue was resolved. But If I keep GHunt in my /opt Directory, It has permissions Issue writing Files like data.txt (Created when running the check_and_gen.py) & tmp.html (Created while running the hunt.py)
Copied the GHunt Folder to my Desktop and it does not have Issues with the Permission.
from ghunt.
I had the same issue , to fix this I added this < chrome_options.add_argument("--no-sandbox") >
whenever chrome is being initiated ( check_and_gen.py , gmaps.py )
I'm on Kali
https://stackoverflow.com/questions/50642308/webdriverexception-unknown-error-devtoolsactiveport-file-doesnt-exist-while-t
from ghunt.
Hmm I run it as normal user, no issues, why you think it has to be root?
from ghunt.
If I run this as a normal user, I get the following Error.
Traceback (most recent call last):
File "check_and_gen.py", line 74, in
driver = webdriver.Chrome(executable_path=driverpath, seleniumwire_options=options, options=chrome_options)
File "/usr/local/lib/python3.8/dist-packages/seleniumwire/webdriver/browser.py", line 86, in init
super().init(*args, **kwargs)
TypeError: init() got an unexpected keyword argument 'options'
I read that I can do a chown on the /usr/local/lib/python3.8/dist-packages/* directory in stack overflow, But I didn't want to do that. So I ran this as the Root user itself. Sorry if I'm beeing Too Noob...
from ghunt.
@KrishSai1997 Hmm did you install the packages as root ?
If not, try to reinstall them with pip without sudo (and without being root) and the option "-U" (I think it's that)
from ghunt.
Okay, cool !
Yes, the /opt directory is reserved to root users, so it's normal and nothing related to GHunt.
I will still review your --no-sandbox edit to avoid future errors if someones runs it as root, I just need to test it on Windows.
from ghunt.
Ok Thanks. :)
from ghunt.
I pushed the fix of @KrishSai1997 in the commit ae4d8ed, I'm closing this issue if it's okay :)
from ghunt.
Related Issues (20)
- [Bug] Function `is_default_profile_pic` does not work as expected.
- [Suggestion] Introduce linter, integrate as GitHub Actions.
- Doesn't work!( HOT 10
- ghunt and android HOT 3
- Seems like the cookies are invalid, try regenerating them. HOT 4
- Facing dependencies issue
- Maps analysis causes systematic error HOT 3
- KeyError: 'people' HOT 15
- Hint: The package was installed by debian.
- pip3 install pipx $ pipx ensurepath $ pipx install ghunt HOT 1
- Plenty of errors HOT 1
- Vision API error HOT 1
- Parsing first name and last name from Google Account by email doesn't work
- Search from GAIA ID HOT 1
- Generate Token
- KeyError: 'people' on 3 different accounts HOT 4
- Word Limit Error
- Ghunt won't retrieve name HOT 9
- Can't generate a 'Master Token'
- Ghunt
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 ghunt.