all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "c4droid" <c4droid@foxmail.com>
To: 47650@debbugs.gnu.org
Subject: [bug#47650] gnu: Add pwntools.
Date: Thu, 8 Apr 2021 12:07:16 +0800	[thread overview]
Message-ID: <tencent_FB36C394D706483F2B50F43E0E1E456BAC08@qq.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 84 bytes --]

[-- Attachment #2: 0001-gnu-Add-pwntools.patch --]
[-- Type: application/octet-stream, Size: 3067 bytes --]

From ae13731fe3ccfe92a38b93a6d6213c71e6f6b7fa Mon Sep 17 00:00:00 2001
From: c4droid <c4droid@foxmail.com>
Date: Thu, 8 Apr 2021 12:02:08 +0800
Subject: [PATCH] gnu: Add pwntools.

* gnu/packages/cybersecurity.scm (pwntools): New variable.
---
 gnu/packages/cybersecurity.scm | 51 +++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cybersecurity.scm b/gnu/packages/cybersecurity.scm
index e13c342342..7b4f702e39 100644
--- a/gnu/packages/cybersecurity.scm
+++ b/gnu/packages/cybersecurity.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 c4droid <c4droid@foxmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,7 +23,14 @@
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system python)
-  #:use-module (gnu packages engineering))
+  #:use-module (gnu packages engineering)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages python-crypto)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages time)
+  #:use-module (gnu packages bioinformatics)
+  #:use-module (gnu packages emulators))
 
 (define-public ropgadget
   (package
@@ -44,3 +52,44 @@
 gadgets in binaries.  Some facilities are included for automatically generating
 chains of gadgets to execute system calls.")
     (license license:bsd-3)))
+
+(define-public pwntools
+  (package
+    (name "pwntools")
+    (version "4.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pwntools" version))
+       (sha256
+        (base32
+         "1qw7j0wwm1878aia08gyw5xljjr26qsbp45w65n4qff672sha5n5"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:tests? #f))
+    (propagated-inputs
+     `(("capstone" ,capstone)
+       ("python-dateutil" ,python-dateutil)
+       ("python-intervaltree" ,python-intervaltree)
+       ("python-mako" ,python-mako)
+       ("python-packaging" ,python-packaging)
+       ("python-paramiko" ,python-paramiko)
+       ("python-psutil" ,python-psutil)
+       ("python-pyelftools" ,python-pyelftools)
+       ("python-pygments" ,python-pygments)
+       ("python-pyserial" ,python-pyserial)
+       ("python-pysocks" ,python-pysocks)
+       ("python-requests" ,python-requests)
+       ("ropgadget" ,ropgadget)
+       ("python-six" ,python-six)
+       ("python-sortedcontainers"
+        ,python-sortedcontainers)
+       ("unicorn" ,unicorn)))
+    (home-page "https://github.com/Gallopsled/pwntools")
+    (synopsis
+     "CTF framework and exploit development library")
+    (description
+     "Pwntools is CTF framework and exploit development library.
+Written in Python, it is designed for rapid prototyping and development,
+and intended to make exploit writing as simple as possible.")
+    (license license:expat)))
-- 
2.31.1


             reply	other threads:[~2021-04-08 13:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08  4:07 c4droid [this message]
2021-06-06 13:32 ` bug#47650: gnu: Add pwntools Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_FB36C394D706483F2B50F43E0E1E456BAC08@qq.com \
    --to=c4droid@foxmail.com \
    --cc=47650@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.