ffuf / ffuf

Fast web fuzzer written in Go
MIT License
12.6k stars 1.29k forks source link

Is batch packet sending supported? #480

Open superboy-zjc opened 3 years ago

superboy-zjc commented 3 years ago

There are one hundred HTTP messages in one of my folders. I want to send them in batches through the -request option of ffuf. Is this possible?

bsysop commented 3 years ago

Hi @superboy-zjc

Do you mean you have hundreds HTTP RAW requests in files in a folder and you want to fuzz each of them, right?

You need to do a loop using for or while

for FILE in $(ls -1 ./folder/*); do( ffuf args[] $FILE ); done

superboy-zjc commented 3 years ago

Hi @superboy-zjc

Do you mean you have hundreds HTTP RAW requests in files in a folder and you want to fuzz each of them, right?

You need to do a loop using for or while

for FILE in $(ls -1 ./folder/*); do( ffuf args[] $FILE ); done

Thanks,it's one of solutions. But this method depends on bash and couldn't give full play to the speed advantage of ffuf 🤔

superboy-zjc commented 3 years ago

Hi @superboy-zjc

Do you mean you have hundreds HTTP RAW requests in files in a folder and you want to fuzz each of them, right?

You need to do a loop using for or while

for FILE in $(ls -1 ./folder/*); do( ffuf args[] $FILE ); done

In fact, The hundreds of HTTP RAW requests in files in a folder as if a dict. Each item of dict is multi-lines HTTP request header and HTTP request body. Because I only send each HTTP RAW requests once😊