Skip to content

Instantly share code, notes, and snippets.

@msterhuj
Last active January 17, 2021 18:58
Show Gist options
  • Save msterhuj/bc5f29f61024b2c0434d61c2d83e822d to your computer and use it in GitHub Desktop.
Save msterhuj/bc5f29f61024b2c0434d61c2d83e822d to your computer and use it in GitHub Desktop.
worldlist sorter
#!/usr/bin/env bash
# tested for this web site https://wiki.skullsecurity.org/Passwords
# only no account
# @MsterHuj
echo "[*] Uncompress all .bz2 archives..."
bzip2 -vd --best *.bz2
echo "[*] Passting all on one file and remove the old file..."
cat * >> all.lst
rm *.txt
echo "[*] Shroting the file..."
sort all.lst | uniq >> ftmp
rm all.lst && mv ftmp all.lst
nbt=$(cat all.lst | wc -l)
echo "[*] Finish !"
echo "[*] Worldlist of $nbt passwords created"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment