thegamerx1 de6224dd8b
hashcat@6.2.6: Persist potfile (#5408)
* hashcat: Persist potfile

* Apply suggestions from code review

Co-authored-by: HUMORCE <humorce@outlook.com>

---------

Co-authored-by: HUMORCE <humorce@outlook.com>
2024-01-12 01:27:36 +08:00

33 lines
1.0 KiB
JSON

{
"version": "6.2.6",
"description": "Advanced password recovery tool",
"homepage": "https://hashcat.net/hashcat/",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://hashcat.net/files/hashcat-6.2.6.7z",
"hash": "96697e9ef6a795d45863c91d61be85a9f138596e3151e7c2cd63ccf48aaa8783"
}
},
"extract_dir": "hashcat-6.2.6",
"persist": "hashcat.potfile",
"pre_install": [
"Set-Content -Value \"@echo off`r`npushd $dir`r`nhashcat.exe %*`r`npopd\" -Path \"$dir\\hashcat.cmd\"",
"# potfile, https://hashcat.net/faq/potfile",
"$pot = 'hashcat.potfile'",
"if (!(Test-Path \"$persist_dir\\$pot\")) { New-Item \"$dir\\$pot\" }"
],
"bin": "hashcat.cmd",
"checkver": {
"github": "https://github.com/hashcat/hashcat"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://hashcat.net/files/hashcat-$version.7z"
}
},
"extract_dir": "hashcat-$version"
}
}