Open D3vil0p3r opened 4 months ago
Actually, rockyou
is packaged...
$ nix-shell -p 'wordlists.override { lists = with (import <nixpkgs> {}); [ rockyou ]; }'
...
$ wordlists
/nix/store/vxwq7ba089nffxfv4ii335xzaxf4v7p3-wordlists-collection/share/wordlists
└── rockyou.txt -> /nix/store/66b599j6m4fx26d3cvh644zqpq3bnpvm-rockyou-2024.2/share/wordlists/rockyou.txt
1 directory, 1 file
$ head -n2 /nix/store/66b599j6m4fx26d3cvh644zqpq3bnpvm-rockyou-2024.2/share/wordlists/rockyou.txt
123456
12345
123456789
password
iloveyou
Not sure what is the sense to have two separated packages for the same source repository, mostly when rockyou package provide one single file. What do you think to merge it to seclists and keep only this last one?
for the same source repository
Not sure what you mean by this.
SecLists is a "list aggregator", and we don't have control over what it adds or not: We don't know if it will keep the rockyou
list, and the package doesn't allow any granular picking of the lists.
I don't see the harm of having rockyou
being standalone. Even more: I would rather have the ability to get rockyou
(134MB) without all the other lists that seclists
are providing (2GB).
FYI, we added security lists to be used with the wordlist
package. See #104712 for historical reference, and #260240.
Concerning the topic of the issue, you are welcome to add the archive extraction steps to the seclists
package: https://github.com/nixos/nixpkgs/blob/master/pkgs/by-name/se/seclists/package.nix#L17-L25 .
However, be mindful: the package already takes 2GB of space on disk. Extracting everything will probably make the whole package balloon.
Probably you can rework the package to make extraction optional, and maybe even granular (allow user to only extract lists of their choice, instead of everything).
If we had this, I guess we could get rid of the rockyou
package.
Describe the bug
Seclists has some common used resources, as rockyou.txt, that are compressed. I know that a user can copy and paste on home folder the archives, and then unzip them. But what I propose is to uncompress all .tar.gz files in the repository at building time of the package to make them immediately available for the users after install.
The .tar.gz files are:
Notify maintainers
@Tochiaha @Pamplemousse
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.