mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gfuzz: update to 0.2
added gfuzz name patches
This commit is contained in:
parent
e013f03f55
commit
abefccdac9
3 changed files with 41 additions and 2 deletions
28
srcpkgs/gfuzz/patches/helper-gofuzz.patch
Normal file
28
srcpkgs/gfuzz/patches/helper-gofuzz.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
--- libgrequest/helper.go
|
||||||
|
+++ 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")
|
||||||
|
}
|
11
srcpkgs/gfuzz/patches/main-gofuzz.patch
Normal file
11
srcpkgs/gfuzz/patches/main-gofuzz.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- main.go
|
||||||
|
+++ main.go
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
|
- "github.com/braaaax/gofuzz/libgrequest"
|
||||||
|
+ "github.com/braaaax/gfuzz/libgrequest"
|
||||||
|
)
|
||||||
|
|
||||||
|
// ParseCmdLine : eval cmdline arguments
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gfuzz'
|
# Template file for 'gfuzz'
|
||||||
pkgname=gfuzz
|
pkgname=gfuzz
|
||||||
version=0.1
|
version=0.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="gfuzz-${version}"
|
wrksrc="gfuzz-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
|
@ -11,4 +11,4 @@ maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/braaaax/gfuzz"
|
homepage="https://github.com/braaaax/gfuzz"
|
||||||
distfiles="https://github.com/braaaax/gfuzz/archive/v${version}.tar.gz"
|
distfiles="https://github.com/braaaax/gfuzz/archive/v${version}.tar.gz"
|
||||||
checksum=9e5b371d4b571fa9970e7678090f010d9adf23eb4f0f3c90da9b64b452f99e63
|
checksum=054163243181db528715bf904ee7656aa0a12e9feb120c8afbfd43bd6504ccd1
|
||||||
|
|
Loading…
Add table
Reference in a new issue