mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
wordlists: maintenance
This commit is contained in:
parent
e684b9c8e0
commit
afe3fd1179
1 changed files with 3 additions and 19 deletions
|
@ -7,28 +7,13 @@
|
|||
}:
|
||||
let
|
||||
|
||||
nmap-data = runCommand "nmap-data" { } ''
|
||||
tar --strip-components=1 -xvf ${nmap.src}
|
||||
mv nselib/data $out
|
||||
'';
|
||||
|
||||
seclists = fetchFromGitHub {
|
||||
owner = "danielmiessler";
|
||||
repo = "SecLists";
|
||||
rev = "cb81804316c634728bbddb857ce7dfa5016e01b1";
|
||||
sha256 = "QBlZlS8JJI6pIdIaD1I+7gMuPPfEybxybj2HrnQM7co=";
|
||||
rev = "2022.2";
|
||||
sha256 = "Xi4FsrVYioR5HBVJzo0bug5ETgV2mCtulPOpBXm+Y1s=";
|
||||
};
|
||||
|
||||
rockyou = runCommand "rockyou.txt"
|
||||
{
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = "0wv1d2b00x294irnqki9vvbicmysdsa1vphkqmhhbjs2fzm5y0qn";
|
||||
}
|
||||
''
|
||||
url="https://gitlab.com/kalilinux/packages/wordlists/-/raw/upstream/0.3/rockyou.txt.gz"
|
||||
${curl}/bin/curl --insecure "$url" | gunzip >$out
|
||||
'';
|
||||
|
||||
dirbuster = runCommand "dirbuster"
|
||||
{
|
||||
outputHashAlgo = "sha256";
|
||||
|
@ -46,8 +31,7 @@ in
|
|||
runCommand "wordlists" { } ''
|
||||
mkdir -p $out/share/wordlists
|
||||
ln -s ${wfuzz.src}/wordlist $out/share/wordlists/wfuzz
|
||||
ln -s ${nmap-data} $out/share/wordlists/nmap
|
||||
ln -s ${nmap}/share/nmap/nselib/data $out/share/wordlists/nmap
|
||||
ln -s ${seclists} $out/share/wordlists/seclists
|
||||
ln -s ${rockyou} $out/share/wordlists/rockyou.txt
|
||||
ln -s ${dirbuster} $out/share/wordlists/dirbuster
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue