Skip to content

Instantly share code, notes, and snippets.

@roycewilliams
Last active July 8, 2021 00:51
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roycewilliams/68d7db44b60abddb707172b818d3b643 to your computer and use it in GitHub Desktop.
Save roycewilliams/68d7db44b60abddb707172b818d3b643 to your computer and use it in GitHub Desktop.
A survey of the last string tried by hashcat's Markov for standard masks
$ cat hashcat-markov-ends.sh
#!/bin/bash
# Ref: https://github.com/hashcat/hashcat/issues/1058
echo "# A survey of the last string tried by hashcat's Markov for standard masks"
echo -n '# hashcat version: '
hashcat --version
[ -f hashcat-markov-ends.list ] && rm hashcat-markov-ends.list
echo ""
echo '# ?b:'
hashcat -a 3 --skip=0 --limit=1 ?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=255 --limit=1 ?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 256-1
hashcat -a 3 --skip=65535 --limit=1 ?b?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 256^2-1
hashcat -a 3 --skip=16777215 --limit=1 ?b?b?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 256^3-1
hashcat -a 3 --skip=4294967295 --limit=1 ?b?b?b?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 256^4-1
hashcat -a 3 --skip=4294967295 --limit=1 ?b?b?b?b?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 256^4-1
hashcat -a 3 --skip=4294967295 --limit=1 ?b?b?b?b?b?b?b --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 256^4-1
echo ""
echo '# ?a:'
hashcat -a 3 --skip=0 --limit=1 ?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=94 --limit=1 ?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 95-1
hashcat -a 3 --skip=9024 --limit=1 ?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 95^2-1
hashcat -a 3 --skip=857374 --limit=1 ?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 95^3-1
hashcat -a 3 --skip=81450624 --limit=1 ?a?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 95^4-1
hashcat -a 3 --skip=81450624 --limit=1 ?a?a?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 95^4-1
hashcat -a 3 --skip=81450624 --limit=1 ?a?a?a?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 95^4-1
hashcat -a 3 --skip=7737809374 --limit=1 ?a?a?a?a?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 95^5-1
hashcat -a 3 --skip=735091890624 --limit=1 ?a?a?a?a?a?a?a?a?a --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 95^6-1
echo ""
echo '# Default mask (-1 ?l?d?u -2 ?l?d -3 ?l?d*!$@_ ?1?2?2?2?2?2?2?3?3?3?3?d?d?d?d):'
#hashcat -a 3 --skip=X --limit=1 -1 ?l?d?u -2 ?l?d -3 ?l?d*!$@_ ?1?2?2?2?2?2?2?3?3?3?3?d?d?d?d
hashcat -a 3 --skip=0 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=35 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 36-1
hashcat -a 3 --skip=1295 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 36^2-1
hashcat -a 3 --skip=46655 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 36^3-1
hashcat -a 3 --skip=1679615 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 36^4-1
hashcat -a 3 --skip=1679615 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 36^4-1
hashcat -a 3 --skip=1679615 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 36^4-1
hashcat -a 3 --skip=68864255 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2?3 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = ((36^4)*41)-1
hashcat -a 3 --skip=2823434495 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2?3?3 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = ((36^4)*(41^2))-1
hashcat -a 3 --skip=115760814335 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2?3?3?3 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = ((36^4)*(41^3))-1
hashcat -a 3 --skip=4746193387775 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2?3?3?3?3 --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = ((36^4)*(41^4))-1
hashcat -a 3 --skip=47461933877759 --limit=1 -1 ?l?d?u -2 ?l?d -3 '?l?d*!$@_' ?1?2?2?2?2?2?2?3?3?3?3?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = ((36^4)*(41^4)*10)-1
echo ""
echo '# ?s:'
hashcat -a 3 --skip=0 --limit=1 ?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=32 --limit=1 ?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 33-1
hashcat -a 3 --skip=1088 --limit=1 ?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 33^2-1
hashcat -a 3 --skip=35936 --limit=1 ?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 33^3-1
hashcat -a 3 --skip=1185920 --limit=1 ?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 33^4-1
hashcat -a 3 --skip=1185920 --limit=1 ?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 33^4-1
hashcat -a 3 --skip=1185920 --limit=1 ?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 33^4-1
hashcat -a 3 --skip=39135392 --limit=1 ?s?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 33^5-1
hashcat -a 3 --skip=1291467968 --limit=1 ?s?s?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 33^6-1
hashcat -a 3 --skip=42618442976 --limit=1 ?s?s?s?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 33^7-1
hashcat -a 3 --skip=1406408618240 --limit=1 ?s?s?s?s?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 33^8-1
hashcat -a 3 --skip=46411484401952 --limit=1 ?s?s?s?s?s?s?s?s?s?s?s?s --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 33^9-1
echo ""
echo '# ?l:'
hashcat -a 3 --skip=0 --limit=1 ?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=25 --limit=1 ?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 26-1
hashcat -a 3 --skip=675 --limit=1 ?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 26^2-1
hashcat -a 3 --skip=17575 --limit=1 ?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 26^3-1
hashcat -a 3 --skip=456975 --limit=1 ?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 26^4-1
hashcat -a 3 --skip=456975 --limit=1 ?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 26^4-1
hashcat -a 3 --skip=456975 --limit=1 ?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 26^4-1
hashcat -a 3 --skip=11881375 --limit=1 ?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 26^5-1
hashcat -a 3 --skip=308915775 --limit=1 ?l?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 26^6-1
hashcat -a 3 --skip=8031810175 --limit=1 ?l?l?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 26^7-1
hashcat -a 3 --skip=208827064575 --limit=1 ?l?l?l?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 26^8-1
hashcat -a 3 --skip=5429503678975 --limit=1 ?l?l?l?l?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 26^9-1
hashcat -a 3 --skip=141167095653375 --limit=1 ?l?l?l?l?l?l?l?l?l?l?l?l?l --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 13 = 26^10-1
echo ""
echo '# ?u:'
hashcat -a 3 --skip=0 --limit=1 ?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=25 --limit=1 ?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 26-1
hashcat -a 3 --skip=675 --limit=1 ?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 26^2=1
hashcat -a 3 --skip=17575 --limit=1 ?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 26^3-1
hashcat -a 3 --skip=456975 --limit=1 ?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 26^4-1
hashcat -a 3 --skip=456975 --limit=1 ?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 26^4-1
hashcat -a 3 --skip=456975 --limit=1 ?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 26^4-1
hashcat -a 3 --skip=11881375 --limit=1 ?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 26^5-1
hashcat -a 3 --skip=308915775 --limit=1 ?u?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 26^6-1
hashcat -a 3 --skip=8031810175 --limit=1 ?u?u?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 26^7-1
hashcat -a 3 --skip=208827064575 --limit=1 ?u?u?u?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 26^8-1
hashcat -a 3 --skip=5429503678975 --limit=1 ?u?u?u?u?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 26^9-1
hashcat -a 3 --skip=141167095653375 --limit=1 ?u?u?u?u?u?u?u?u?u?u?u?u?u --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 13 = 26^10-1
echo ""
echo '# ?h:'
hashcat -a 3 --skip=0 --limit=1 ?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=15 --limit=1 ?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 16-1
hashcat -a 3 --skip=255 --limit=1 ?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 16^2-1
hashcat -a 3 --skip=4095 --limit=1 ?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 16^3-1
hashcat -a 3 --skip=65535 --limit=1 ?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 16^4-1
hashcat -a 3 --skip=65535 --limit=1 ?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 16^4-1
hashcat -a 3 --skip=65535 --limit=1 ?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 16^4-1
hashcat -a 3 --skip=1048575 --limit=1 ?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 16^5-1
hashcat -a 3 --skip=16777215 --limit=1 ?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 16^6-1
hashcat -a 3 --skip=268435455 --limit=1 ?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 16^7-1
hashcat -a 3 --skip=4294967295 --limit=1 ?h?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 16^8-1
hashcat -a 3 --skip=68719476735 --limit=1 ?h?h?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 16^9-1
hashcat -a 3 --skip=1099511627775 --limit=1 ?h?h?h?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 13 = 16^10-1
hashcat -a 3 --skip=17592186044415 --limit=1 ?h?h?h?h?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 14 = 16^11-1
hashcat -a 3 --skip=281474976710655 --limit=1 ?h?h?h?h?h?h?h?h?h?h?h?h?h?h?h --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 15 = 16^12-1
echo ""
echo '# ?H:'
hashcat -a 3 --skip=0 --limit=1 ?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=15 --limit=1 ?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 16-1
hashcat -a 3 --skip=255 --limit=1 ?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 16^2-1
hashcat -a 3 --skip=4095 --limit=1 ?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 16^3-1
hashcat -a 3 --skip=65535 --limit=1 ?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 16^4-1
hashcat -a 3 --skip=65535 --limit=1 ?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 16^4-1
hashcat -a 3 --skip=65535 --limit=1 ?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 16^4-1
hashcat -a 3 --skip=1048575 --limit=1 ?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 16^5-1
hashcat -a 3 --skip=16777215 --limit=1 ?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 16^6-1
hashcat -a 3 --skip=268435455 --limit=1 ?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 16^7-1
hashcat -a 3 --skip=4294967295 --limit=1 ?H?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 16^8-1
hashcat -a 3 --skip=68719476735 --limit=1 ?H?H?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 16^9-1
hashcat -a 3 --skip=1099511627775 --limit=1 ?H?H?H?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 13 = 16^10-1
hashcat -a 3 --skip=17592186044415 --limit=1 ?H?H?H?H?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 14 = 16^11-1
hashcat -a 3 --skip=281474976710655 --limit=1 ?H?H?H?H?H?H?H?H?H?H?H?H?H?H?H --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 15 = 16^12-1
echo ""
echo '# ?d:'
hashcat -a 3 --skip=0 --limit=1 ?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 1
hashcat -a 3 --skip=99 --limit=1 ?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 2 = 10^2-1
hashcat -a 3 --skip=999 --limit=1 ?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 3 = 10^3-1
hashcat -a 3 --skip=9999 --limit=1 ?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 4 = 10^4-1
hashcat -a 3 --skip=9999 --limit=1 ?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 5 = 10^4-1
hashcat -a 3 --skip=9999 --limit=1 ?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 6 = 10^4-1
hashcat -a 3 --skip=99999 --limit=1 ?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 7 = 10^5-1
hashcat -a 3 --skip=999999 --limit=1 ?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 8 = 10^6-1
hashcat -a 3 --skip=9999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 9 = 10^7-1
hashcat -a 3 --skip=99999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 10 = 10^8-1
hashcat -a 3 --skip=999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 11 = 10^9-1
hashcat -a 3 --skip=9999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 12 = 10^10-1
hashcat -a 3 --skip=99999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 13 = 10^11-1
hashcat -a 3 --skip=999999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 14 = 10^12-1
hashcat -a 3 --skip=9999999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 15 = 10^13-1
hashcat -a 3 --skip=99999999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 16 = 10^14-1
hashcat -a 3 --skip=999999999999999 --limit=1 ?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d --stdout | tail -n 1 | hexify | tee -a hashcat-markov-ends.list # 17 = 10^15-1
echo ""
$ ./hashcat-markov-ends.sh
# A survey of the last string tried by hashcat's Markov for standard masks
# hashcat version: v5.1.0-1197-ge65b6fb
# ?b:
$HEX[ff]
$HEX[ffff]
$HEX[ffffff]
$HEX[ffffffff]
$HEX[ffffffffff]
$HEX[ffffffffffff]
$HEX[ffffffffffffff]
# ?a:
~
~}
~}~
~ ~}z
~| ~}|
~| ~}|}
~| ~}|}~
# Default mask (-1 ?l?d?u -2 ?l?d -3 ?l?d*!$@_ ?1?2?2?2?2?2?2?3?3?3?3?d?d?d?d):
X
Xq
Xqx
Xqxv
Xqxvq
Xqqfqx
Xqxqxqg
Xqxqxqg$
Xqxqxqg$v
Xqxqxqg$v$
Xqxqxqg$v$z
Xqxqxqg$v$z7
# ?s:
~
~}
~}~
~ ~}`
~| ~}|
~| ~}|}
~| ~}|}~
~| ~}|}~|
~| ~}|}~|}
~| ~}|}~|}{
# ?l:
x
xq
xqx
xqxv
xqxvq
xqqfqx
xqxqxqg
xqxqxqgx
xqxqxqgxq
xqxqxqgxqj
xqxqxqgxqjz
xqxqxqgxqjzw
xqxqxqgxqjzwv
# ?u:
X
XQ
XQX
XQXQ
XQXQF
XWQJQF
XWXQFZV
XWXQFZVQ
XWXQFZVQY
XWXQFZVQYQ
XWXQFZVQYQZ
XWXQFZVQYQZS
XWXQFZVQYQZSF
# ?h:
6
6f
6f6
6f6f
6f6f5
6ef7f6
6e6f5f6
6e6f5f6e
6e6f5f6ef
6e6f5f6ef6
6e6f5f6ef6e
6e6f5f6ef6e5
6e6f5f6ef6e5f
6e6f5f6ef6e5f5
6e6f5f6ef6e5f5f
# ?H:
E
EF
EF6
EF6E
EF6E7
E8F8F8
E8FF5F8
E8FF5F8F
E8FF5F8FD
E8FF5F8FD8
E8FF5F8FD8E
E8FF5F8FD8E8
E8FF5F8FD8E8F
E8FF5F8FD8E8F6
E8FF5F8FD8E8F6C
# ?d:
6
676
6764
67646
688373
6887494
68874949
688749494
6887494949
68874949496
688749494964
6887494949649
68874949496497
688749494964973
6887494949649739
68874949496497397
688749494964973973
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment