Add wordlists

This commit is contained in:
Bad 2021-10-07 19:43:43 +02:00
parent aef92606bc
commit c7cb50dd38
5 changed files with 63 additions and 5 deletions

View file

@ -12,7 +12,6 @@
leaveDotGit = false; leaveDotGit = false;
sha256 = "0rr66y86g6g8ixg69yd6ahyzirl82gfvyv6j2w6b0zv5x0979x9v"; sha256 = "0rr66y86g6g8ixg69yd6ahyzirl82gfvyv6j2w6b0zv5x0979x9v";
}; };
}; };
manix = { manix = {
pname = "manix"; pname = "manix";
@ -25,6 +24,17 @@
leaveDotGit = false; leaveDotGit = false;
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs"; sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
}; };
};
wordlists = {
pname = "wordlists";
version = "0c0b84b48a64c3b24f53410ac4e76326008a63c2";
src = fetchgit {
url = "https://github.com/Pamplemousse/nixpkgs";
rev = "0c0b84b48a64c3b24f53410ac4e76326008a63c2";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sha256 = "0a4lajmpaxh5myc6jqhhpm13hqn7cc3bckwg6s41mglspm3vyn0i";
};
}; };
} }

View file

@ -1,6 +1,7 @@
final: prev: { final: prev: rec {
# keep sources this first # keep sources this first
sources = prev.callPackage (import ./sources.nix) { }; sources = prev.callPackage (import ./sources.nix) { };
# then, call packages with `final.callPackage` # then, call packages with `final.callPackage`
go-fold-if-err-nil = prev.callPackage ./go-fold-if-err-nil.nix { }; go-fold-if-err-nil = final.callPackage ./go-fold-if-err-nil.nix { };
security-wordlists = final.callPackage (import "${sources.wordlists.src}/pkgs/tools/security/wordlists/default.nix") { };
} }

View file

@ -1 +0,0 @@
_build/generated.nix

40
pkgs/sources.nix Normal file
View file

@ -0,0 +1,40 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl }:
{
go-fold-if-err-nil = {
pname = "go-fold-if-err-nil";
version = "4f881c4f64d9caac1f59ebd5d14963f99db3d71a";
src = fetchgit {
url = "https://im.badat.dev/bad/nvimgofoldiferrnil";
rev = "4f881c4f64d9caac1f59ebd5d14963f99db3d71a";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sha256 = "0rr66y86g6g8ixg69yd6ahyzirl82gfvyv6j2w6b0zv5x0979x9v";
};
};
manix = {
pname = "manix";
version = "d08e7ca185445b929f097f8bfb1243a8ef3e10e4";
src = fetchgit {
url = "https://github.com/mlvzk/manix";
rev = "d08e7ca185445b929f097f8bfb1243a8ef3e10e4";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
};
};
wordlists = {
pname = "wordlists";
version = "0c0b84b48a64c3b24f53410ac4e76326008a63c2";
src = fetchgit {
url = "https://github.com/Pamplemousse/nixpkgs";
rev = "0c0b84b48a64c3b24f53410ac4e76326008a63c2";
fetchSubmodules = false;
deepClone = false;
leaveDotGit = false;
sha256 = "0a4lajmpaxh5myc6jqhhpm13hqn7cc3bckwg6s41mglspm3vyn0i";
};
};
}

View file

@ -1,6 +1,13 @@
[manix] [manix]
src.git = "https://github.com/mlvzk/manix" src.git = "https://github.com/mlvzk/manix"
fetch.github = "mlvzk/manix" fetch.github = "mlvzk/manix"
[wordlists]
src.git = "https://github.com/Pamplemousse/nixpkgs"
fetch.git = "https://github.com/Pamplemousse/nixpkgs"
src.branch = "wordlists"
[go-fold-if-err-nil] [go-fold-if-err-nil]
src.git = "https://im.badat.dev/bad/nvimgofoldiferrnil" src.git = "https://im.badat.dev/bad/nvimgofoldiferrnil"
fetch.git = "https://im.badat.dev/bad/nvimgofoldiferrnil" fetch.git = "https://im.badat.dev/bad/nvimgofoldiferrnil"

View file

@ -3,5 +3,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
rizin rizin
ghidra-bin ghidra-bin
(security-wordlists.withLists(ps: with ps; [ dirbuster rockyou ]))
]; ];
} }