diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a1706862..4a6f5921 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,8 +20,9 @@ "golang.go", "shardulm94.trailing-spaces", "IBM.output-colorizer", - "ms-vscode.makefile-tools" + "ms-vscode.makefile-tools", + "ms-azuretools.vscode-docker" ] } } -} +} \ No newline at end of file diff --git a/gobusterdir/gobusterdir.go b/gobusterdir/gobusterdir.go index 33d37116..5336b7e9 100644 --- a/gobusterdir/gobusterdir.go +++ b/gobusterdir/gobusterdir.go @@ -40,7 +40,7 @@ func (e *ErrWildcard) Error() string { } else { addInfo = fmt.Sprintf("%s => %d (Length: %d)", e.url, e.statusCode, e.length) } - return fmt.Sprintf("the server returns a status code that matches the provided options for non existing urls. %s", addInfo) + return fmt.Sprintf("the server returns a status code that matches the provided options for non existing urls. %s. Please exclude the response length or the status code or set the wildcard option.", addInfo) } // GobusterDir is the main type to implement the interface diff --git a/gobusterfuzz/gobusterfuzz.go b/gobusterfuzz/gobusterfuzz.go index 850089b5..1d49cd2c 100644 --- a/gobusterfuzz/gobusterfuzz.go +++ b/gobusterfuzz/gobusterfuzz.go @@ -26,7 +26,7 @@ type ErrWildcard struct { // Error is the implementation of the error interface func (e *ErrWildcard) Error() string { - return fmt.Sprintf("the server returns a status code that matches the provided options for non existing urls. %s => %d", e.url, e.statusCode) + return fmt.Sprintf("the server returns a status code that matches the provided options for non existing urls. %s => %d. Please exclude the response length or the status code or set the wildcard option.", e.url, e.statusCode) } // GobusterFuzz is the main type to implement the interface