mirror of
https://github.com/OJ/gobuster.git
synced 2024-06-01 18:26:03 +02:00
Merge branch 'master' of github.com:OJ/gobuster
This commit is contained in:
commit
88cc6bc6c6
|
@ -91,7 +91,7 @@ Usage:
|
|||
gobuster dir [flags]
|
||||
|
||||
Flags:
|
||||
-f, --addslash Apped / to each request
|
||||
-f, --addslash Append / to each request
|
||||
-c, --cookies string Cookies to use for the requests
|
||||
-e, --expanded Expanded mode, print full URLs
|
||||
-x, --extensions string File extension(s) to search for
|
||||
|
|
|
@ -28,7 +28,7 @@ func runDir(cmd *cobra.Command, args []string) error {
|
|||
if goberr, ok := err.(*gobusterdir.ErrWildcard); ok {
|
||||
return fmt.Errorf("%s. To force processing of Wildcard responses, specify the '--wildcard' switch", goberr.Error())
|
||||
}
|
||||
return fmt.Errorf("error on running goubster: %v", err)
|
||||
return fmt.Errorf("error on running gobuster: %v", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ func init() {
|
|||
cmdDir.Flags().BoolP("expanded", "e", false, "Expanded mode, print full URLs")
|
||||
cmdDir.Flags().BoolP("nostatus", "n", false, "Don't print status codes")
|
||||
cmdDir.Flags().BoolP("includelength", "l", false, "Include the length of the body in the output")
|
||||
cmdDir.Flags().BoolP("addslash", "f", false, "Apped / to each request")
|
||||
cmdDir.Flags().BoolP("addslash", "f", false, "Append / to each request")
|
||||
cmdDir.Flags().BoolP("wildcard", "", false, "Force continued operation when wildcard found")
|
||||
|
||||
cmdDir.PersistentPreRun = func(cmd *cobra.Command, args []string) {
|
||||
|
|
|
@ -85,7 +85,7 @@ func BenchmarkDirMode(b *testing.B) {
|
|||
}
|
||||
|
||||
if err := cli.Gobuster(ctx, &globalopts, plugin); err != nil {
|
||||
b.Fatalf("error on running goubster: %v", err)
|
||||
b.Fatalf("error on running gobuster: %v", err)
|
||||
}
|
||||
os.Stdout = oldStdout
|
||||
os.Stderr = oldStderr
|
||||
|
|
|
@ -29,7 +29,7 @@ func runDNS(cmd *cobra.Command, args []string) error {
|
|||
if goberr, ok := err.(*gobusterdns.ErrWildcard); ok {
|
||||
return fmt.Errorf("%s. To force processing of Wildcard DNS, specify the '--wildcard' switch", goberr.Error())
|
||||
}
|
||||
return fmt.Errorf("error on running goubster: %v", err)
|
||||
return fmt.Errorf("error on running gobuster: %v", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ func runVhost(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
if err := cli.Gobuster(mainContext, globalopts, plugin); err != nil {
|
||||
return fmt.Errorf("error on running goubster: %v", err)
|
||||
return fmt.Errorf("error on running gobuster: %v", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ func BenchmarkVhostMode(b *testing.B) {
|
|||
}
|
||||
|
||||
if err := cli.Gobuster(ctx, &globalopts, plugin); err != nil {
|
||||
b.Fatalf("error on running goubster: %v", err)
|
||||
b.Fatalf("error on running gobuster: %v", err)
|
||||
}
|
||||
os.Stdout = oldStdout
|
||||
os.Stderr = oldStderr
|
||||
|
|
Loading…
Reference in New Issue