chromedriver_autoinstaller identified as a Chrome driver in virtualenv. #367

Closed
opened 2025-10-14 17:17:17 -06:00 by navan · 0 comments
Owner

Originally created by @JingBh on 11/10/2020

I created a virtualenv in the project directory and installed the dependencies in it:

GHunt $ virtualenv venv
GHunt $ source ./venv/bin/activate
(venv) GHunt $ pip install -r requirements.txt

Then I run the program:

(venv) GHunt $ python check_and_gen.py
[-] No stored cookies found

Enter these browser cookies found at accounts.google.com:
...

[+] The cookies seems valid!
Generating the Google Docs and Hangouts token...

...
selenium.common.exceptions.WebDriverException: Message: Service ./venv/bin/chromedriver-path unexpectedly exited. Status code was: 0

It turns out the program searches for the driver in the project directory:
493427c0d8/lib/utils.py (L89-L93)

This should be fixed, or the program won't work in this situation.

*Originally created by @JingBh on 11/10/2020* I created a `virtualenv` in the project directory and installed the dependencies in it: ```bash GHunt $ virtualenv venv GHunt $ source ./venv/bin/activate (venv) GHunt $ pip install -r requirements.txt ``` Then I run the program: ```bash (venv) GHunt $ python check_and_gen.py [-] No stored cookies found Enter these browser cookies found at accounts.google.com: ... [+] The cookies seems valid! Generating the Google Docs and Hangouts token... ... selenium.common.exceptions.WebDriverException: Message: Service ./venv/bin/chromedriver-path unexpectedly exited. Status code was: 0 ``` It turns out the program searches for the driver in the project directory: https://github.com/mxrch/GHunt/blob/493427c0d8f0f485622d16965c69a1abb16b2258/lib/utils.py#L89-L93 This should be fixed, or the program won't work in this situation.
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#367
No description provided.