{
    "version": "7.1.2",
    "description": "Advanced password recovery tool",
    "homepage": "https://hashcat.net/hashcat/",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://hashcat.net/files/hashcat-7.1.2.7z",
            "hash": "80db0316387794ce9d14ed376da75b8a7742972485b45db790f5f8260307ff98"
        }
    },
    "extract_dir": "hashcat-7.1.2",
    "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"
    }
}
