Advertisement
travisbgreen

Untitled

Jul 18th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. # example using pv for status:
  2. user@user-Precision-T7610:~/malware$ time crunch 1 8 |pv| xargs -I {} -P 100 echo "replace me with a command {}" > outputfile.all
  3. Crunch will now generate the following amount of data: 1945934118544 bytes
  4. 1855787 MB
  5. 1812 GB
  6. 1 TB
  7. 0 PB
  8. Crunch will now generate the following number of lines: 217180147158
  9. 508KiB 0:00:27 [19.4KiB/s] [ <=> 604KiB 0^CCrunch ending at miikB/s] [ <=> ]
  10. real 0m56.364s
  11. user 0m1.592s
  12. sys 0m10.872s
  13. user@user-Precision-T7610:~/malware$
  14.  
  15. # example that blasts the screen with output:
  16. user@user-Precision-T7610:~/malware$ time crunch 1 8 | xargs -I {} -P 100 echo "replace me with a command {}" | tee outputfile.all
  17. <snip>
  18. replace me with a command htr <=> ]
  19. replace me with a command hts
  20. replace me with a command htt
  21. replace me with a command htu
  22. replace me with a command htv
  23. replace me with a command htw
  24. replace me with a command htx
  25. replace me with a command hty
  26. replace me with a command htz
  27. replace me with a command hua
  28. ^CCrunch ending at azwb
  29.  
  30.  
  31. real 0m4.693s
  32. user 0m0.080s
  33. sys 0m0.440s
  34.  
  35. # example that looks for a string:
  36. $ time crunch 1 8 |pv| xargs -I {} -P 100 echo "replace me with a command {}" | grep 'string that means we succeeded' -
  37. Crunch will now generate the following amount of data: 1945934118544 bytes
  38. 1855787 MB
  39. 1812 GB
  40. 1 TB
  41. 0 PB
  42. Crunch will now generate the following number of lines: 217180147158
  43. ^CCrunch ending at bzgnh/s] [ <=> ]
  44.  
  45.  
  46.  
  47. real 6m0.092s
  48. user 0m13.188s
  49. sys 1m20.744s
  50.  
  51.  
  52. # some math:
  53. (1855787 * 1024) keyspace in KB / 19KB/s = 100017152 seconds
  54. 100017152 / 60 sec = 1666952.53333 minutes = 27782.5422222 hours = 1157 days
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement