Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant use headers option : Could not load headers prompt: #192

Open
boly38 opened this issue Sep 23, 2023 · 0 comments
Open

Cant use headers option : Could not load headers prompt: #192

boly38 opened this issue Sep 23, 2023 · 0 comments

Comments

@boly38
Copy link

boly38 commented Sep 23, 2023

Hi,
I would like to setup headers

Usage:

  • there is no details under Usage wiki page
  • due to historical close issue Issue Using the --headers Flag #126 : it seems that this options asks for headers but I got an error too, cf Under 👀
  • does exist a way to configure additionnal headers in a config file or else in cmd line args without prompt (would be great improvement) ?

Thanks for this tools 👏


Error using --headers option

$ photon -u https://redacted.com --dns --keys --headers
      ____  __          __
     / __ \/ /_  ____  / /_____  ____
    / /_/ / __ \/ __ \/ __/ __ \/ __ \
   / ____/ / / / /_/ / /_/ /_/ / / / /
  /_/   /_/ /_/\____/\__/\____/_/ /_/ v1.3.2

Could not load headers prompt: [Errno 2] No such file or directory
Could not load headers prompt: [Errno 2] No such file or directory: '/tmp/tmpwi76sshx'

My config:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
$ python3 --version
Python 3.10.12
$ pip --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant