Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # example using pv for status:
- user@user-Precision-T7610:~/malware$ time crunch 1 8 |pv| xargs -I {} -P 100 echo "replace me with a command {}" > outputfile.all
- Crunch will now generate the following amount of data: 1945934118544 bytes
- 1855787 MB
- 1812 GB
- 1 TB
- 0 PB
- Crunch will now generate the following number of lines: 217180147158
- 508KiB 0:00:27 [19.4KiB/s] [ <=> 604KiB 0^CCrunch ending at miikB/s] [ <=> ]
- real 0m56.364s
- user 0m1.592s
- sys 0m10.872s
- user@user-Precision-T7610:~/malware$
- # example that blasts the screen with output:
- user@user-Precision-T7610:~/malware$ time crunch 1 8 | xargs -I {} -P 100 echo "replace me with a command {}" | tee outputfile.all
- <snip>
- replace me with a command htr <=> ]
- replace me with a command hts
- replace me with a command htt
- replace me with a command htu
- replace me with a command htv
- replace me with a command htw
- replace me with a command htx
- replace me with a command hty
- replace me with a command htz
- replace me with a command hua
- ^CCrunch ending at azwb
- real 0m4.693s
- user 0m0.080s
- sys 0m0.440s
- # example that looks for a string:
- $ time crunch 1 8 |pv| xargs -I {} -P 100 echo "replace me with a command {}" | grep 'string that means we succeeded' -
- Crunch will now generate the following amount of data: 1945934118544 bytes
- 1855787 MB
- 1812 GB
- 1 TB
- 0 PB
- Crunch will now generate the following number of lines: 217180147158
- ^CCrunch ending at bzgnh/s] [ <=> ]
- real 6m0.092s
- user 0m13.188s
- sys 1m20.744s
- # some math:
- (1855787 * 1024) keyspace in KB / 19KB/s = 100017152 seconds
- 100017152 / 60 sec = 1666952.53333 minutes = 27782.5422222 hours = 1157 days
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement