summaryrefslogtreecommitdiff
path: root/pwn/packages/onesixtyone.scm
diff options
context:
space:
mode:
authorc0co.channel <c0co.channel@braincrime.com>2025-09-22 17:32:35 +0100
committerc0co.channel <c0co.channel@braincrime.com>2025-09-22 17:32:35 +0100
commit44b4a979250cf7771aafa552ec1515ec79660b56 (patch)
tree1cae1cd37f459a7b458bbed8436c3154847e9e70 /pwn/packages/onesixtyone.scm
parent441ee5792c71c0f021b9e90a7f609fef2cdb5e7e (diff)
Add impacket, medusa and onesixtyone
Diffstat (limited to 'pwn/packages/onesixtyone.scm')
-rw-r--r--pwn/packages/onesixtyone.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/pwn/packages/onesixtyone.scm b/pwn/packages/onesixtyone.scm
new file mode 100644
index 0000000..6c0f7a9
--- /dev/null
+++ b/pwn/packages/onesixtyone.scm
@@ -0,0 +1,39 @@
+(define-module (pwn packages onesixtyone)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix licenses)
+ #:use-module (gnu packages tls))
+
+(define-public onesixtyone
+ (package
+ (name "onesixtyone")
+ (version "0.3.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/trailofbits/onesixtyone/archive/refs/tags/v" version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1an695jmb1mxy3pxl1crnhscsa8zr5vnya897d5x5bixwg631iwf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:make-flags
+ #~`("CC=gcc")
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete `configure)
+ (delete `check)
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "onesixtyone" bin)))))))
+ (synopsis "SNMP scanner")
+ (description "onesixtyone takes a different approach to SNMP scanning. It takes advantage of the fact that SNMP is a connectionless protocol and sends all SNMP requests as fast as it can. Then the scanner waits for responses to come back and logs them, in a fashion similar to Nmap ping sweeps. By default onesixtyone waits for 10 milliseconds between sending packets, which is adequate for 100MBs switched networks. The user can adjust this value via the -w command line option. If set to 0, the scanner will send packets as fast as the kernel would accept them, which may lead to packet drop.")
+ (home-page "https://github.com/trailofbits/onesixtyone")
+ (license gpl2)))
+onesixtyone
+