Masks with Upper/Lower/Digit/Specials

main
Swissky 2020-12-23 13:48:26 +01:00
parent 0c9d54868f
commit 9d1fa1fcbf
2 changed files with 34 additions and 9 deletions

View File

@ -24,7 +24,7 @@ Most of the credits are due to @mxrch and @ShutdownRepo. This repository is most
:warning: For every 12hrs or so Disk, RAM, VRAM, CPU cache etc data that is on our alloted virtual machine will get **erased**.
:information_source: Markvov chain are enabled in default hashcat version.
:information_source: Markvov chain are enabled in default hashcat version. P100 GPU is an equivalent of GTX1080.
## Hashcat Cheatsheet

View File

@ -5,7 +5,8 @@
"colab": {
"name": "google_colab_hashcat.ipynb",
"provenance": [],
"collapsed_sections": []
"collapsed_sections": [],
"toc_visible": true
},
"kernelspec": {
"name": "python3",
@ -43,18 +44,18 @@
"base_uri": "https://localhost:8080/"
},
"id": "A86GVzaW6YpT",
"outputId": "fbeb72d7-0174-4812-91fe-6e74dba550ce"
"outputId": "2910b138-21f9-4c7b-e5e3-f02376579324"
},
"source": [
"# Check GPU (Tesla P100 is the best GPU on Colab)\r\n",
"!nvidia-smi -L"
],
"execution_count": null,
"execution_count": 1,
"outputs": [
{
"output_type": "stream",
"text": [
"GPU 0: Tesla P100-PCIE-16GB (UUID: GPU-711e1706-fccb-c944-73a8-796eb7a9d342)\n"
"GPU 0: Tesla T4 (UUID: GPU-343fa569-5e31-ae7a-e549-7a7375f44639)\n"
],
"name": "stdout"
}
@ -231,12 +232,36 @@
},
"source": [
"# 6. Full bruteforce for 8/9 characters and compliance masks\r\n",
"# ----- around 3 hours on a p100 ------\r\n",
"\r\n",
"# Mask: upper*1+lower*5+digit*2 and upper*1+lower*6+digit*2 \r\n",
"# ---- around 3 minutes on a T4 -----\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?l?l?d?d\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?l?l?l?d?d \r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?u?l?l?l?l?l?d?d?1\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?u?l?l?l?l?l?l?d?d?1 \r\n",
"\r\n",
"# Mask: upper*1+lower*3+digit*4 and upper*1+lower*3+digit*4\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?d?d?d?d\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?l?d?d?d?d\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?l?l?d?d?d?d\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?u?l?l?l?d?d?d?d?1\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?u?l?l?l?l?d?d?d?d?1\r\n",
"\r\n",
"# Mask: lower*6 + digit*2 + special digit(+!?*)\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?l?l?l?l?l?l?d?d?1\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 \"*+!??\" ?l?l?l?l?l?l?d?d?1?1\r\n",
"\r\n",
"# ---- around 3 hours on a T4 -----\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?u?l?l?l?l?l?l?d?d?d?d\r\n",
"\r\n",
"# ----- around 3 hours on a P100 ------\r\n",
"# lower*6 + digit*2\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 /content/hashcat/masks/8char-1l-1u-1d-1s-compliant.hcmask\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 -1 ?l?d?u ?1?1?1?1?1?1?1?1\r\n",
"# ----- more than 3 days on a P100 --------\r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?a?a?a?a?a?a?a?a \r\n",
"!hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?a?a?a?a?a?a?a?a?a"
"\r\n",
"# # ----- more than 3 days on a P100 --------\r\n",
"# !hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?a?a?a?a?a?a?a?a \r\n",
"# !hashcat -m 1000 --potfile-path /content/cracked.pot --status --status-timer 300 -w 4 -O /content/*.ntds -a 3 ?a?a?a?a?a?a?a?a?a"
],
"execution_count": null,
"outputs": []