100100 " cat ${workspaceFolder}/kubeconfig"
101101 ],
102102 "problemMatcher" : []
103- }
103+ },
104+ {
105+ "label" : " hashcat runner" ,
106+ "type" : " shell" ,
107+ "detail" : " Create and run hashcat cracking task" ,
108+ "command" : [
109+ " source ${workspaceFolder}/.vscode/.zshrc; " ,
110+ " hashcat" ,
111+ " --force" ,
112+ " -a ${input:hashcat-mode} " ,
113+ " -m ${input:hashcat-hashtype} " ,
114+ " -D ${input:hashcat-device} " ,
115+ " ${input:hashcat-hashfile}" ,
116+ " ${input:hashcat-wordlist-or-masks}"
117+ ],
118+ "problemMatcher" : []
119+ },
104120 ],
105121 "inputs" : [
106122 // msfvenom
245261 " python" ,
246262 ],
247263 "default" : " python"
264+ },
265+ // Hashcat
266+ {
267+ "id" : " hashcat-mode" ,
268+ "type" : " pickString" ,
269+ "description" : " hashcat attack mode, like wordlist mode" ,
270+ "options" : [
271+ " $HASHCAT_MODE_WORDLIST" ,
272+ " $HASHCAT_MODE_COMBINATION" ,
273+ " $HASHCAT_MODE_TOGGLE_CASE" ,
274+ " $HASHCAT_MODE_MASK_BRUTE_FORCE" ,
275+ " $HASHCAT_MODE_WORDLIST_MASK" ,
276+ " $HASHCAT_MODE_MASK_WORDLIST" ,
277+ ],
278+ "default" : " $HASHCAT_MODE_WORDLIST"
279+ },
280+ {
281+ "id" : " hashcat-device" ,
282+ "type" : " pickString" ,
283+ "description" : " which kind of hashcat device you need" ,
284+ "options" : [
285+ " $HASHCAT_DEVICE_CPU" ,
286+ " $HASHCAT_DEVICE_GPU" ,
287+ " $HASHCAT_DEVICE_FPGA" ,
288+ ],
289+ "default" : " $HASHCAT_DEVICE_GPU"
290+ },
291+ {
292+ "id" : " hashcat-hashtype" ,
293+ "type" : " pickString" ,
294+ "description" : " Which kind of hash u wanna crack" ,
295+ "options" : [
296+ " $HASH_MD5" ,
297+ " $HASH_SHA1" ,
298+ " $HASH_MD5CYPT" ,
299+ " $HASH_MD4" ,
300+ " $HASH_NTLM" ,
301+ " $HASH_SHA256" ,
302+ " $HASH_APRMD5" ,
303+ " $HASH_SHA512" ,
304+ " $HASH_BCRYPT" ,
305+ " $HASH_NETNTLMv2" ,
306+ " $HASH_SHA256CRYPT" ,
307+ " $HASH_KRB5_PA_23" ,
308+ " $HASH_KRB5_PA_17" ,
309+ " $HASH_KRB5_PA_18" ,
310+ " $HASH_DJANGO_PBKDF2_SHA256" ,
311+ " $HASH_PBKDF2_HMAC_SHA256" ,
312+ " $HASH_KRB5_TGS_23" ,
313+ " $HASH_KRB5_TGS_17" ,
314+ " $HASH_KRB5_TGS_18" ,
315+ " $HASH_JWT" ,
316+ " $HASH_KRB5_AS_REP_23" ,
317+ ],
318+ "default" : " $HASH_MD5" ,
319+ },
320+ {
321+ "id" : " hashcat-hashfile" ,
322+ "type" : " promptString" ,
323+ "description" : " This is the file contains hash, default ${file} is the opened file in vscode" ,
324+ "default" : " ${file}"
325+ },
326+ {
327+ "id" : " hashcat-wordlist-or-masks" ,
328+ "type" : " promptString" ,
329+ "description" : " This is the place for wordlists or your mask string" ,
330+ "default" : " $ROCKYOU"
248331 }
249332 ]
250333}
0 commit comments