tomnomnom / meg

Fetch many paths for many hosts - without killing the hosts
MIT License
1.59k stars 266 forks source link

Deterministic output file names #51

Closed dee-see closed 4 years ago

dee-see commented 4 years ago

Would you be interested in a command line parameter that makes meg output deterministic file names? By that I mean that running meg on http://domain.tld/file.ext any number of times would always output the response in the same file.

My use case is that I run my recon in a git repo and I want to be able to diff the responses.

Basically instead of naming the file with a hash of the content, I'd use a hash of the path.

I'm going to implement this anyway in a fork, just asking this to know if you'll be interested in a PR afterwards. :)

dee-see commented 4 years ago

I've been thinking about it and having fewer files to go through is indeed appealing, I think I'll just adapt my workflow. ;)