7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
28 lines
1.9 KiB
Diff
28 lines
1.9 KiB
Diff
--- a/libgrequest/helper.go
|
|
+++ b/libgrequest/helper.go
|
|
@@ -123,9 +123,9 @@
|
|
|
|
// PrintHelp : cli help info
|
|
func PrintHelp() {
|
|
- fmt.Printf("[+] Author: brax (https://github.com/braaaax/gofuzz)\n")
|
|
- fmt.Printf("\nUsage: gofuzz [options] <url>\n")
|
|
- fmt.Printf("Keyword: FUZZ, ..., FUZnZ wherever you put these keywords gofuzz will replace them with the values of the specified payload.\n\n")
|
|
+ fmt.Printf("[+] Author: brax (https://github.com/braaaax/gfuzz)\n")
|
|
+ fmt.Printf("\nUsage: gfuzz [options] <url>\n")
|
|
+ fmt.Printf("Keyword: FUZZ, ..., FUZnZ wherever you put these keywords gfuzz will replace them with the values of the specified payload.\n\n")
|
|
fmt.Printf("Options:\n")
|
|
fmt.Println("-h/--help : This help.")
|
|
fmt.Println("-w wordlist : Specify a wordlist file (alias for -z file,wordlist).")
|
|
@@ -146,8 +146,8 @@
|
|
fmt.Println("-k : Strict TLS connections (skip verify=false).")
|
|
fmt.Println("-q : No output.")
|
|
fmt.Printf("\n")
|
|
- fmt.Println("Examples: gofuzz -w users.txt -w pass.txt --sc 200 http://www.site.com/log.asp?user=FUZZ&pass=FUZ2Z")
|
|
- fmt.Println(" gofuzz -z file,default/common.txt -z list,-.php http://somesite.com/FUZZFUZ2Z")
|
|
- fmt.Println(" gofuzz -t 32 -w somelist.txt https://someTLSsite.com/FUZZ")
|
|
- fmt.Println(" gofuzz --print-body --sc 200 --post-form \"name=FUZZ\" -z file,somelist.txt http://somesite.com/form")
|
|
+ fmt.Println("Examples: gfuzz -w users.txt -w pass.txt --sc 200 http://www.site.com/log.asp?user=FUZZ&pass=FUZ2Z")
|
|
+ fmt.Println(" gfuzz -z file,default/common.txt -z list,-.php http://somesite.com/FUZZFUZ2Z")
|
|
+ fmt.Println(" gfuzz -t 32 -w somelist.txt https://someTLSsite.com/FUZZ")
|
|
+ fmt.Println(" gfuzz --print-body --sc 200 --post-form \"name=FUZZ\" -z file,somelist.txt http://somesite.com/form")
|
|
}
|