Comments (3)
Hi @iddoeldor91, not sure I agree with this. This is a brute forcing tool. If you want to hit robots.txt then surely wget and curl have already got that covered?
What exactly are you looking to see happen? Bear in mind that gobuster isn't intended to be a generic web scanner, but a brute force tool. Thanks!
from gobuster.
@iddoeldor I agree with @OJ, a feature like this would make gobuster behave more like a wordlist generation tool. Consider how gobuster works, it takes a single subdirectory (/ by default) and then throws the wordlist at it. How would you expect it to behave if it parsed robots.txt? Would it create new wordlists in memory, and then run the scan multiple times using each subdirectory found in robots.txt? That's a lot of effort and complexity relative to just using a short command line wrapper. Even something as rudimentary as this would get you most of the way there:
for elements in $(seq 1 3); do
for subdir in $(curl <site>/robots.txt | cut -d '/' -f 1); do
gobuster dir -u <site/$subdir -w wordlist.txt -e
done
done
A better idea would be to do this in a dozen lines of python, grab robots.txt, use your wordlist as input, and spit out a new wordlist. Then invoke gobuster with the new wordlist.
It's a perfectly good idea and most people do make use of robots.txt, it's just not suitable for inclusion in gobuster in my opinion. The real value in gobuster is the performance of the HTTP requests and the flexibility it provides to build the various elements of those requests.
from gobuster.
Hi @OJ ,
I understand it's a brute force tool and not a generic web scanner,
I cannot convince you how important is to add it even as a bonus feature.
I am working on smart dictionary using github API & popular sitemaps,
it will reduce the amount of time & provide couple more accurate links,
also will load the dictionary file as Trie and iterate it.
from gobuster.
Related Issues (20)
- Handle empty response from server HOT 2
- Error: unknown flag: --wildcard HOT 2
- Show the path when timeout HOT 2
- MTLS not working HOT 6
- vhost mode append domain! HOT 1
- vhost not working correctly HOT 1
- invalid control character in URL HOT 1
- Is it possible to take input URLs via stdin?
- [dns] wordlist line count is always higher by one HOT 7
- Bug Report/Feature Request for vhost/fuzz mode HOT 1
- [fuzz] [fe80::1%wlp2s0]:53: server misbehaving HOT 1
- [New functionnality] - Insensitive option HOT 1
- Is it possible to scan domain like https://pubaccount10086.blob.core.windows.net? HOT 1
- Not able to perform directory enumerations HOT 5
- Recursive directory bruteforcing HOT 1
- Add `--exclude-dir` on dir mode HOT 1
- Pattern flag adds to the number of requests
- Feature Request: Ability to input multiple wordlist files HOT 1
- gobuster -u http://fakebank.com -w wordlist.txt dir HOT 3
- Vhost not working as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gobuster.