mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
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>
This commit is contained in:
parent
fc09dded2e
commit
de6224dd8b
@ -10,7 +10,13 @@
|
||||
}
|
||||
},
|
||||
"extract_dir": "hashcat-6.2.6",
|
||||
"pre_install": "Set-Content -Value \"@echo off`r`npushd $dir`r`nhashcat.exe %*`r`npopd\" -Path \"$dir\\hashcat.cmd\"",
|
||||
"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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user