Permission Denied: Resources/data.txt #418

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

Originally created by @CrowGrandfather on 10/14/2020

$ sudo docker run -v $(pwd)/resources:/usr/src/app/resources -ti ghunt check_and_gen.py
[-] No stored cookies found

Enter these browser cookies found at accounts.google.com :
__Secure-3PSID => [redacted]
APISID => [redacted]
SAPISID => [redacted]
HSID => [redacted]

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

Google Docs Token => [redacted] 
Error making requestmepage...
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 91, in proxy_request
    conn.request(self.command, path, req_body, dict(req.headers))
  File "/usr/local/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.8/http/client.py", line 950, in send
    self.connect()
  File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 368, in connect
    super().connect()
  File "/usr/local/lib/python3.8/http/client.py", line 1417, in connect
    super().connect()
  File "/usr/local/lib/python3.8/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection
    raise err
  File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Waiting for the /v2/people/me/blockedPeople request, it can takes a few minutes.Request found !                                                                                                                                                 Authorization Token => SAPISIDHASH [redacted]
Hangouts Token => [redacted]
Traceback (most recent call last):
  File "check_and_gen.py", line 130, in <module>
    save_tokens(auth_token, gdoc_token, hangouts_token, cookies)
  File "check_and_gen.py", line 48, in save_tokens
    with open(config.data_path, 'w') as f:
PermissionError: [Errno 13] Permission denied: 'resources/data.txt'

*Originally created by @CrowGrandfather on 10/14/2020* ``` $ sudo docker run -v $(pwd)/resources:/usr/src/app/resources -ti ghunt check_and_gen.py [-] No stored cookies found Enter these browser cookies found at accounts.google.com : __Secure-3PSID => [redacted] APISID => [redacted] SAPISID => [redacted] HSID => [redacted] [+] The cookies seems valid! Generating the Google Docs and Hangouts token... Google Docs Token => [redacted] Error making requestmepage... Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 91, in proxy_request conn.request(self.command, path, req_body, dict(req.headers)) File "/usr/local/lib/python3.8/http/client.py", line 1255, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1301, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1250, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.8/http/client.py", line 1010, in _send_output self.send(msg) File "/usr/local/lib/python3.8/http/client.py", line 950, in send self.connect() File "/usr/local/lib/python3.8/site-packages/seleniumwire/proxy/proxy2.py", line 368, in connect super().connect() File "/usr/local/lib/python3.8/http/client.py", line 1417, in connect super().connect() File "/usr/local/lib/python3.8/http/client.py", line 921, in connect self.sock = self._create_connection( File "/usr/local/lib/python3.8/socket.py", line 808, in create_connection raise err File "/usr/local/lib/python3.8/socket.py", line 796, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused Waiting for the /v2/people/me/blockedPeople request, it can takes a few minutes.Request found ! Authorization Token => SAPISIDHASH [redacted] Hangouts Token => [redacted] Traceback (most recent call last): File "check_and_gen.py", line 130, in <module> save_tokens(auth_token, gdoc_token, hangouts_token, cookies) File "check_and_gen.py", line 48, in save_tokens with open(config.data_path, 'w') as f: PermissionError: [Errno 13] Permission denied: 'resources/data.txt' ```
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#418
No description provided.