You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the following Photon command, I receive an error: python3 photon.py -u example.com --headers
This only happens when including the --headers flag.
Traceback (most recent call last):
File "photon.py", line 138, in <module>
headers = extract_headers(prompt())
File "/home/myuser/bounty/tools/Photon/core/prompt.py", line 18, in prompt
os.execvp(editor, [editor, tmpfile.name])
File "/usr/lib/python3.7/os.py", line 571, in execvp
_execvpe(file, args)
File "/usr/lib/python3.7/os.py", line 613, in _execvpe
raise last_exc
File "/usr/lib/python3.7/os.py", line 604, in _execvpe
exec_func(fullname, *argrest)
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "photon.py", line 138, in <module>
headers = extract_headers(prompt())
File "/home/myuser/bounty/tools/Photon/core/prompt.py", line 22, in prompt
return tmpfile.read().strip()
File "/usr/lib/python3.7/tempfile.py", line 639, in __exit__
self.close()
File "/usr/lib/python3.7/tempfile.py", line 646, in close
self._closer.close()
File "/usr/lib/python3.7/tempfile.py", line 583, in close
unlink(self.name)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpd56bth_3'
The text was updated successfully, but these errors were encountered:
When running the following Photon command, I receive an error:
python3 photon.py -u example.com --headers
This only happens when including the
--headers
flag.The text was updated successfully, but these errors were encountered: