9 python3Packages.buildPythonApplication rec {
14 src = fetchFromGitHub {
18 hash = "sha256-7qZ91WEzQg9k9V/FlREW4YLlEnloeVkisDO8q/+bheo=";
21 nativeBuildInputs = [ makeWrapper ];
23 dependencies = with python3Packages; [
33 mkdir -p $out/{bin,share/villain}
34 rm README.md requirements.txt LICENSE.md
35 cp -a * $out/share/villain/
36 makeWrapper ${python3}/bin/python $out/bin/villain \
37 --add-flags "$out/share/villain/Villain.py" \
38 --prefix PYTHONPATH : ${python3Packages.makePythonPath dependencies}
43 description = "High level stage 0/1 C2 framework that can handle multiple TCP socket & HoaxShell-based reverse shells";
44 homepage = "https://github.com/t3l3machus/Villain";
45 license = lib.licenses.cc-by-nc-nd-40;
46 mainProgram = "villain";
47 maintainers = with lib.maintainers; [ d3vil0p3r ];
48 platforms = lib.platforms.unix;