summaryrefslogtreecommitdiff
path: root/pwn/packages/ffuf.scm
diff options
context:
space:
mode:
Diffstat (limited to 'pwn/packages/ffuf.scm')
-rw-r--r--pwn/packages/ffuf.scm82
1 files changed, 82 insertions, 0 deletions
diff --git a/pwn/packages/ffuf.scm b/pwn/packages/ffuf.scm
new file mode 100644
index 0000000..100822a
--- /dev/null
+++ b/pwn/packages/ffuf.scm
@@ -0,0 +1,82 @@
+;; Authored by awth13, committed by c0co
+(define-module (awth13 packages ffuf)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
+ #:use-module (guix packages)
+ #:use-module (guix build-system go)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages golang)
+ #:use-module (gnu packages golang-build)
+ #:use-module (gnu packages golang-web)
+ #:use-module (gnu packages golang-xyz)
+ #:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-compression))
+
+(define-public go-github-com-ffuf-pencode
+ (package
+ (name "go-github-com-ffuf-pencode")
+ (version "0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ffuf/pencode")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0l4kvsb73p8c03xh3sqkgfbzcfljlwh3ab2fl2a5akyqw20p6nqb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.17
+ #:skip-build? #t
+ #:tests? #f
+ #:import-path "github.com/ffuf/pencode"))
+ (home-page "https://github.com/ffuf/pencode")
+ (synopsis "Complex payload encoder")
+ (description
+ "Pencode is a tool that helps you to create payload encoding chains. It has been designed to be used in automation whereever it is required to apply multiple encodings to a payload (and possibly inserting the payload to a template in between).")
+ (license license:expat)))
+
+
+(package
+ (name "go-github-com-ffuf")
+ (version "2.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ffuf/ffuf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ifdclyywv2q9d3c00n1jrhsq9cld0f30mr25s1cq1zd06lhs1zv"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.17
+ #:import-path "github.com/ffuf/ffuf"
+ ;; fixed upstream but no release yet (can package commit instead of release)
+ ;; https://github.com/ffuf/ffuf/commit/6487328cd8a67c8f4e3ccd82f9a24d32aa7533bb
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-test
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file "pkg/output/file_csv_test.go")))))))
+ (propagated-inputs
+ (list go-github-com-puerkitobio-goquery
+ go-github-com-adrg-xdg
+ go-github-com-andybalholm-brotli
+ go-github-com-ffuf-pencode
+ go-github-com-pelletier-go-toml
+ go-github-com-andybalholm-cascadia
+ go-github-com-davecgh-go-spew
+ go-golang-org-x-net
+ go-golang-org-x-sys))
+ (home-page "https://github.com/ffuf/ffuf")
+ (synopsis "A fast web fuzzer written in GO.")
+ (desription
+ "Ffuf is a web penetration testing / enumeration tool for fuzzing and identifying vhosts, subdomains and web paths with an optional feature to drop into an interactive shell mid-scan to queue-manage and reconfigure filters.")
+ (license license:expat))
+go-github-com-ffuf-pencode