From 5f72e16819d997fc3b782ae3b4087e72585a0f6d Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 22 May 2026 09:20:58 +0200 Subject: [PATCH] add spilltea, sttr, httpie & trufflehog Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- flake.lock | 41 +++++++++++++++++++++++++-- flake.nix | 2 +- home/programs/group/cybersecurity.nix | 38 ++++++++++++------------- 3 files changed, 58 insertions(+), 23 deletions(-) diff --git a/flake.lock b/flake.lock index fe7b2d0..ee3d685 100644 --- a/flake.lock +++ b/flake.lock @@ -1159,6 +1159,22 @@ } }, "nixpkgs_11": { + "locked": { + "lastModified": 1777954456, + "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_12": { "locked": { "lastModified": 1777268161, "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", @@ -1174,7 +1190,7 @@ "type": "github" } }, - "nixpkgs_12": { + "nixpkgs_13": { "locked": { "lastModified": 1777268161, "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", @@ -1472,6 +1488,7 @@ "nvf": "nvf", "sops-nix": "sops-nix", "spicetify-nix": "spicetify-nix", + "spilltea": "spilltea", "stylix": "stylix", "usbguard-tui": "usbguard-tui" } @@ -1515,6 +1532,24 @@ "type": "github" } }, + "spilltea": { + "inputs": { + "nixpkgs": "nixpkgs_11" + }, + "locked": { + "lastModified": 1778703986, + "narHash": "sha256-nVH6e+sw7LosTHDq7Al/+2vnKYfbAeXGp2lwlIVF9mI=", + "owner": "anotherhadi", + "repo": "spilltea", + "rev": "2f4765bf37d5130ada770fb52d1a47bedf7d3214", + "type": "github" + }, + "original": { + "owner": "anotherhadi", + "repo": "spilltea", + "type": "github" + } + }, "stylix": { "inputs": { "base16": "base16", @@ -1524,7 +1559,7 @@ "firefox-gnome-theme": "firefox-gnome-theme", "flake-parts": "flake-parts_6", "gnome-shell": "gnome-shell", - "nixpkgs": "nixpkgs_11", + "nixpkgs": "nixpkgs_12", "nur": "nur", "systems": "systems_8", "tinted-kitty": "tinted-kitty", @@ -1840,7 +1875,7 @@ }, "usbguard-tui": { "inputs": { - "nixpkgs": "nixpkgs_12" + "nixpkgs": "nixpkgs_13" }, "locked": { "lastModified": 1778071322, diff --git a/flake.nix b/flake.nix index 9732127..675bd30 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,7 @@ blog.url = "github:anotherhadi/blog"; awesome-wallpapers.url = "github:anotherhadi/awesome-wallpapers"; iknowyou.url = "github:anotherhadi/iknowyou"; - + spilltea.url = "github:anotherhadi/spilltea"; }; outputs = inputs @ { diff --git a/home/programs/group/cybersecurity.nix b/home/programs/group/cybersecurity.nix index f4a88e4..8c3d757 100644 --- a/home/programs/group/cybersecurity.nix +++ b/home/programs/group/cybersecurity.nix @@ -1,9 +1,13 @@ { + inputs, pkgs-stable, pkgs, ... }: { home.packages = with pkgs-stable; [ + httpie + trufflehog + sttr wireshark nmap john @@ -19,12 +23,14 @@ nuclei # Web + inputs.spilltea.packages.${pkgs.system}.default caido nuclei gobuster dirb ffuf sqlmap + katana # Utils inetutils @@ -41,22 +47,18 @@ ]; home.file = { - "Cyber/wordlists/seclists" = { - source = pkgs.fetchFromGitHub { - owner = "danielmiessler"; - repo = "SecLists"; - rev = "47aa98053fce8670c6489e4f6fb57dc34881d8bd"; - hash = "sha256-ojXLB/TXap1Qi0MtV5/WJlJpjNIDYx/sLY2KHm0uFKI="; - }; + "Cyber/wordlists/seclists".source = pkgs.fetchFromGitHub { + owner = "danielmiessler"; + repo = "SecLists"; + rev = "47aa98053fce8670c6489e4f6fb57dc34881d8bd"; + hash = "sha256-ojXLB/TXap1Qi0MtV5/WJlJpjNIDYx/sLY2KHm0uFKI="; }; - "Cyber/wordlists/fuzz4bounty" = { - source = pkgs.fetchFromGitHub { - owner = "0xPugal"; - repo = "fuzz4bounty"; - rev = "a805f6b434033f054312da0ddc2bc3021cc9a3b0"; - hash = "sha256-wMhx1CcxIyw2E7gJXQxXAFc7m5nYt0FXNkoTZqFMQh4="; - }; + "Cyber/wordlists/fuzz4bounty".source = pkgs.fetchFromGitHub { + owner = "0xPugal"; + repo = "fuzz4bounty"; + rev = "a805f6b434033f054312da0ddc2bc3021cc9a3b0"; + hash = "sha256-wMhx1CcxIyw2E7gJXQxXAFc7m5nYt0FXNkoTZqFMQh4="; }; # RULES @@ -67,11 +69,9 @@ hash = "sha256-h7MeymIXS/6wlPRt4lzsIEqOOssP0lDx9nQip65cwZw="; }; - "Cyber/wordlists/rules/best64.rule" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/CarlosLannister/OwadeReborn/refs/heads/master/owade/fileAnalyze/hashcatLib/best64.rule%7E"; - hash = "sha256-T0XkMHJZQiy63/j25nGTkaiDFjc+blmgEVGTAFgVylU="; - }; + "Cyber/wordlists/rules/best64.rule".source = pkgs.fetchurl { + url = "https://raw.githubusercontent.com/CarlosLannister/OwadeReborn/refs/heads/master/owade/fileAnalyze/hashcatLib/best64.rule%7E"; + hash = "sha256-T0XkMHJZQiy63/j25nGTkaiDFjc+blmgEVGTAFgVylU="; }; }; }