From e943996962994289694b8c31a50f9d92574ba1a8 Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Tue, 2 Aug 2022 23:53:26 +1000 Subject: [PATCH] websploit: init at 4.0.4 --- pkgs/tools/security/websploit/default.nix | 29 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/security/websploit/default.nix diff --git a/pkgs/tools/security/websploit/default.nix b/pkgs/tools/security/websploit/default.nix new file mode 100644 index 000000000000..b8db06427f86 --- /dev/null +++ b/pkgs/tools/security/websploit/default.nix @@ -0,0 +1,29 @@ +{ lib, buildPythonApplication, fetchFromGitHub +, requests, scapy }: + +buildPythonApplication rec { + pname = "websploit"; + version = "4.0.4"; + + src = fetchFromGitHub { + owner = "f4rih"; + repo = pname; + rev = version; + sha256 = "LpDfJmH2FbL37Fk86CAC/bxFqM035DBN6c6FPfGpaIw="; + }; + + propagatedBuildInputs = [ + requests + scapy + ]; + + # Project has no tests + doCheck = false; + + meta = with lib; { + description = "A high level MITM framework"; + homepage = "https://github.com/f4rih/websploit"; + license = licenses.mit; + maintainers = with maintainers; [ emilytrau ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab743a3ff934..6387bd624986 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31329,6 +31329,8 @@ with pkgs; webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs {}; + websploit = python3Packages.callPackage ../tools/security/websploit {}; + webssh = with python3Packages; toPythonApplication webssh; webtorrent_desktop = callPackage ../applications/video/webtorrent_desktop {};