tomnomnom / meg

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

Adds a prefix into the path #55

Closed rbadillap closed 3 years ago

rbadillap commented 4 years ago

Hi, @tomnomnom hope you're doing well.

What do you think about this addition? Let me explain the scenario.

I'm using meg with a different wordlist. I'm combining the wordlist from dirsearch with the benefits of meg's runtime.

Since your wordlist assumes each path should start with an "/", I'm having problems doing the request in the way that I want.

So I'm thinking, why if meg supports a prefix flag that should be appended dynamically to each path before to send the request? So I don't need to edit my wordlist and we make meg more adaptable to a different source.

Tested and works perfectly:

meg -v -p / hosts.txt paths.txt output

Let me know your thoughts. Ronny