maurosoria / dirsearch

Web path scanner
12.17k stars 2.31k forks source link

batch process will use so many cpu and memory , the computer is stuck. can optimize the performance ,gobuster scan is use a litttle cpu and memory #1007

Closed fayewong00 closed 3 weeks ago

fayewong00 commented 2 years ago

batch process will use so many cpu and memory , the computer is stuck. can optimize the performance ,gobuster scan is use a litttle cpu and memory.gobuster is use golang.

shelld3v commented 2 years ago

You can reduce the threads

fayewong00 commented 2 years ago

You can reduce the threads

so many webs penetration testing ,batch

shelld3v commented 2 years ago

I don't understand what do you mean

fayewong00 commented 2 years ago

I don't understand what do you mean

With a small amount of testing, the tool is fine. But batch testing will consume a lot of computer resources, causing the computer to freeze. Usually batch testing is very much, reducing the number of threads will not solve the problem. Gobuster runs the same tasks with very few resources, a little CPU and memory! Can performance be improved!

shelld3v commented 2 years ago

I will try to figure out how to improve dirsearch performance, but this seems to be a long-term issue, might take a lot of time and can not be fully fixed

fayewong00 commented 2 years ago

I will try to figure out how to improve dirsearch performance, but this seems to be a long-term issue, might take a lot of time and can not be fully fixed

Thank you very much! Found in batch test process, occupy computer resources too much, so make a suggestion! I also know that this is a long and arduous task. If you have time, you can try to improve the performance. If you don't have time, you can do it temporarily. Multithreaded coroutine concurrency, occupying resources, Golang language shows natural superiority! Python is also great, but less performance wise!

zrquan commented 1 month ago

Dirsearch can now enable asynchronous mode with --async, which should help improve this issue. Feel free to try it and provide feedback!