s0md3v / Photon

Incredibly fast crawler designed for OSINT.
GNU General Public License v3.0
10.96k stars 1.49k forks source link

Add headers_file as arg #137

Closed otherpirate closed 5 years ago

otherpirate commented 5 years ago

Now we can keep same headers for many executions

Usage examples: python3 photon.py -u example.com --headers_file /home/user/ci_headers python3 photon.py -u example.com --headers_file ../../ci_headers python3 photon.py -u example.com --headers_file ci_headers

s0md3v commented 5 years ago

Hi there,

I am actually working on adding new features and re-writing some parts of Photon. The behavior you opened a PR for will be introduced but instead of loading headers from a file with a command line argument, they will be part of the configuration file .config. XSStrike also uses this implementation, check this.

Sorry mate, I have to close this one.

otherpirate commented 5 years ago

Hi @s0md3v, no problem

Nice to know that the project keeping growing :heart: