progpick

Crates.ioprogpick
lib.rsprogpick
version0.2.0
sourcesrc
created_at2019-05-20 00:41:15.494721
updated_at2022-06-16 23:51:34.88891
descriptionBruteforce with a stream of permutations of a specific pattern
homepage
repositoryhttps://github.com/kpcyrd/progpick
max_upload_size
id135509
size83,863
(kpcyrd)

documentation

README

progpick

Bruteforce with a stream of permutations of a specific pattern. Also prints a progress bar and calculates an ETA.

In case you tend to forget your LUKS password as well.

Examples

# This is going to allocate 3GB
bash -c 'for x in {a..z}{a..z}{a..z}{a..z}{a..z}; do echo $x; done'
# this is not
progpick '{a..z}{a..z}{a..z}{a..z}{a..z}'

# With progress bar
progpick '{a..z}{a..z}{a..z}{a..z}{a..z}' > /dev/null
# Without progress bar
progpick -q '{a..z}{a..z}{a..z}{a..z}{a..z}' > /dev/null

# regular expression
[a-z]{2-4}[0-9]{2}
# progpick pattern
progpick '{{a..z},}{{a..z},}{a..z}{a..z}{0..9}{0..9}'

# Run a script for each result
progpick 'a{b,c{d,e{f,g}}}' | while read -r x; do
    ./script "$x"
done
# Send the result to stdin
progpick -e './script.sh' 'a{b,c{d,e{f,g}}}'

# Attempt to open a luks partition
sudo progpick -e 'cryptsetup open --test-passphrase /dev/sdc1' 'a{b,c{d,e{f,g}}}'

License

GPLv3+

Commit count: 19

cargo fmt