diff --git a/default.nix b/default.nix index dcc01e9..dccc25d 100644 --- a/default.nix +++ b/default.nix @@ -1,16 +1,11 @@ {pkgs ? import {}}: { - toutatis = pkgs.python3Packages.callPackage ./pkgs/toutatis {}; - ignorant = pkgs.python3Packages.callPackage ./pkgs/ignorant {}; - ghunt = pkgs.python3Packages.callPackage ./pkgs/ghunt {}; - user-scanner = pkgs.python3Packages.callPackage ./pkgs/user-scanner {}; github-recon = pkgs.callPackage ./pkgs/github-recon {}; gravatar-recon = pkgs.callPackage ./pkgs/gravatar-recon {}; spilltea = pkgs.callPackage ./pkgs/spilltea {}; settuings = pkgs.callPackage ./pkgs/settuings {}; usbguard-tui = pkgs.callPackage ./pkgs/usbguard-tui {}; jwt-tui = pkgs.callPackage ./pkgs/jwt-tui {}; - sheets = pkgs.callPackage ./pkgs/sheets {}; fztea = pkgs.callPackage ./pkgs/fztea {}; monitui = pkgs.callPackage ./pkgs/monitui {}; - cheatmd = pkgs.callPackage ./pkgs/cheatmd {}; + revshell = pkgs.callPackage ./pkgs/revshell {}; } diff --git a/flake.nix b/flake.nix index d995678..4702bf7 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ system: (packagesFor system) // { - default = (packagesFor system).toutatis; + default = (packagesFor system).revshell; } ); diff --git a/pkgs/cheatmd/default.nix b/pkgs/cheatmd/default.nix deleted file mode 100644 index 814ad1a..0000000 --- a/pkgs/cheatmd/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - lib, - buildGo126Module, - fetchFromGitHub, -}: -buildGo126Module rec { - pname = "cheatmd"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "cheatmd-dev"; - repo = "cheatmd"; - rev = "v${version}"; - hash = "sha256-939bFkzQcaUH7J8l+C0CkooCvV15MRmYmpOnRgei4LQ="; - }; - - vendorHash = "sha256-C3E64LYi5ReqQT9WcN8KFhi3oUkenfXf/1Y/s/sb4Mg="; - - subPackages = [ "cmd/cheatmd" ]; - - ldflags = [ - "-s" - "-w" - "-X main.version=v${version}" - ]; - - meta = with lib; { - description = "Executable Markdown cheatsheets with variable prompts, pickers, and shell integration for bash/zsh/tmux/zellij"; - homepage = "https://cheatmd.dev"; - changelog = "https://github.com/cheatmd-dev/cheatmd/releases/tag/v${version}"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = [ ]; - mainProgram = "cheatmd"; - }; -} diff --git a/pkgs/ghunt/default.nix b/pkgs/ghunt/default.nix deleted file mode 100644 index 603f6fb..0000000 --- a/pkgs/ghunt/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ - lib, - fetchFromGitHub, - buildPythonApplication, - poetry-core, - pythonRelaxDepsHook, - alive-progress, - autoslot, - beautifulsoup4, - beautifultable, - dnspython, - geopy, - httpx, - humanize, - imagehash, - inflection, - jsonpickle, - pillow, - protobuf, - python-dateutil, - rich, - rich-argparse, - packaging, -}: -buildPythonApplication (finalAttrs: { - pname = "ghunt"; - version = "2.2.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "mxrch"; - repo = "ghunt"; - rev = "5ee893929c51c7a8a665b199bbae04ce85a662b4"; - hash = "sha256-pBH8Uhh+Yg9rrX8duEPLf/+JF5PR4I5zUhQ4EMiyk7A="; - }; - - pythonRelaxDeps = true; - - nativeBuildInputs = [ - poetry-core - pythonRelaxDepsHook - ]; - - propagatedBuildInputs = - [ - alive-progress - autoslot - beautifulsoup4 - beautifultable - dnspython - geopy - httpx - humanize - imagehash - inflection - jsonpickle - pillow - protobuf - python-dateutil - rich - rich-argparse - packaging - ] - ++ httpx.optional-dependencies.http2; - - doCheck = false; - - pythonImportsCheck = [ - "ghunt" - ]; - - meta = { - description = "Offensive Google framework"; - mainProgram = "ghunt"; - homepage = "https://github.com/mxrch/ghunt"; - changelog = "https://github.com/mxrch/GHunt/releases/tag/v${finalAttrs.version}"; - license = lib.licenses.agpl3Only; - maintainers = []; - }; -}) diff --git a/pkgs/ignorant/default.nix b/pkgs/ignorant/default.nix deleted file mode 100644 index eda0ef1..0000000 --- a/pkgs/ignorant/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - buildPythonApplication, - fetchFromGitHub, - setuptools, - termcolor, - beautifulsoup4, - httpx, - trio, - tqdm, -}: -buildPythonApplication rec { - pname = "ignorant"; - version = "unstable-2026-03-15"; - - pyproject = true; - - src = fetchFromGitHub { - owner = "megadose"; - repo = "ignorant"; - rev = "40b3eb734ef3d55e6d16eb314e49dbf520fa1f64"; - hash = "sha256-t/xFRII7XKeK7sIG87UbVGiKIdJ9ag7VHFHfNg8BbUs="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace-fail '"argparse",' "" \ - --replace-fail '"bs4",' '"beautifulsoup4",' - ''; - - build-system = [setuptools]; - - dependencies = [ - termcolor - beautifulsoup4 - httpx - trio - tqdm - ]; - - doCheck = false; - - meta = with lib; { - description = "ignorant allows you to check if a phone number is used on different sites like snapchat, instagram."; - homepage = "https://github.com/megadose/ignorant"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = []; - mainProgram = "ignorant"; - }; -} diff --git a/pkgs/revshell/default.nix b/pkgs/revshell/default.nix new file mode 100644 index 0000000..639fcb3 --- /dev/null +++ b/pkgs/revshell/default.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule rec { + pname = "revshell"; + version = "0.8.9"; + + src = fetchFromGitHub { + owner = "Gubarz"; + repo = "revshell"; + rev = "v${version}"; + hash = "sha256-rCj8CT3VOsocvF1CVlimhuAsxsB91axp7oBUxxinZF4="; + }; + + vendorHash = "sha256-yC6O/+yvC0U8cms0sxfLNNb2/Q6MpACAltf7J7L1HWM="; + + ldflags = [ + "-s" + "-w" + "-X github.com/Gubarz/revshell/cmd.version=${version}" + ]; + + meta = { + description = "CLI reverse shell generator"; + homepage = "https://github.com/Gubarz/revshell"; + license = lib.licenses.unlicense; + platforms = lib.platforms.unix; + maintainers = []; + mainProgram = "revshell"; + }; +} diff --git a/pkgs/sheets/default.nix b/pkgs/sheets/default.nix deleted file mode 100644 index 0e43089..0000000 --- a/pkgs/sheets/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ - lib, - buildGo126Module, - fetchFromGitHub, -}: -buildGo126Module rec { - pname = "sheets"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "maaslalani"; - repo = "sheets"; - rev = "v${version}"; - hash = "sha256-sRJ1rqtxc4axAkVavxSR2afdvxCAjJdK2mBWnt+nzW0="; - }; - - vendorHash = "sha256-WWtAt0+W/ewLNuNgrqrgho5emntw3rZL9JTTbNo4GsI="; - - ldflags = ["-s" "-w"]; - - doCheck = false; - - meta = with lib; { - description = "A terminal spreadsheet editor with vim-like keybindings."; - homepage = "https://github.com/maaslalani/sheets"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = []; - mainProgram = "sheets"; - }; -} diff --git a/pkgs/toutatis/default.nix b/pkgs/toutatis/default.nix deleted file mode 100644 index dbb950a..0000000 --- a/pkgs/toutatis/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - buildPythonApplication, - fetchFromGitHub, - setuptools, - requests, - phonenumbers, - pycountry, -}: -buildPythonApplication rec { - pname = "toutatis"; - version = "unstable-2026-03-15"; - pyproject = true; - - src = fetchFromGitHub { - owner = "megadose"; - repo = "toutatis"; - rev = "d99967155e59966a560877148273ca0ff9f28508"; - hash = "sha256-VY3g3LNfeQtCuQfM4Ky1akJ7YgLrNM9RnuC1M8eOw4c="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace-fail '"argparse",' "" - ''; - - build-system = [setuptools]; - - dependencies = [ - requests - phonenumbers - pycountry - ]; - - doCheck = false; - - meta = with lib; { - description = "Toutatis is a tool that allows you to extract information from instagrams accounts such as e-mails, phone numbers and more"; - homepage = "https://github.com/megadose/toutatis"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = []; - mainProgram = "toutatis"; - }; -} diff --git a/pkgs/user-scanner/default.nix b/pkgs/user-scanner/default.nix deleted file mode 100644 index 18c12de..0000000 --- a/pkgs/user-scanner/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ - lib, - buildPythonApplication, - fetchFromGitHub, - flit-core, - httpx, - socksio, - colorama, - h2, -}: -buildPythonApplication rec { - pname = "user-scanner"; - version = "1.4.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "kaifcodec"; - repo = "user-scanner"; - rev = "refs/tags/v${version}"; - hash = "sha256-sJ7GTyB42cTNOHCponKL3aFOyMAlLDSw+gH3UibzgjE="; - }; - - build-system = [flit-core]; - - dependencies = [ - httpx - colorama - socksio - h2 - ]; - - doCheck = false; - - # Remove auto-update and auto-prompt features - postInstall = '' - mkdir -p $out/lib/python*/site-packages/user_scanner - echo '{"auto_update_status": false}' \ - > $out/lib/python*/site-packages/user_scanner/config.json - ''; - - meta = with lib; { - description = "🕵️🫆 (2-in-1) Emaill and Username OSINT tool that analyzes username and email presence across multiple platforms, intended for security research, investigations, legitimate analysis"; - homepage = "https://github.com/kaifcodec/user-scanner"; - license = licenses.mit; - platforms = platforms.all; - maintainers = []; - mainProgram = "user-scanner"; - }; -}