Skip to content

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

@boly38

Description

@boly38

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions