Skip to content

Instantly share code, notes, and snippets.

@blurbdust
blurbdust / hashcat.l40s.benchmark.txt
Created March 22, 2024 03:00
NVIDIA L40S full hashcat 6.2.6 benchmark running CUDA 12.2 on 535.154.05 tuned
hashcat (v6.2.6) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
CUDA API (CUDA 12.2)
====================
* Device #1: NVIDIA L40S, 45165/45596 MB, 142MCU
diff --git a/CL/netntlmv1.cl b/CL/netntlmv1.cl
index 1a07fc1..1c2680a 100644
--- a/CL/netntlmv1.cl
+++ b/CL/netntlmv1.cl
@@ -3103,7 +3103,7 @@ inline void des_ecb_setkey(uint32_t SK[32], const uchar key[DES_KEY_SIZE])
}
}
-inline void des_ecb_setkey_56(uint32_t SK[32], unsigned char _key[DES_KEY_SIZE - 1]) {
+inline void des_ecb_setkey_56(uint32_t SK[32], __generic unsigned char _key[DES_KEY_SIZE - 1]) {
diff --git a/CL/rt.cl b/CL/rt.cl
index f825439..a190aa2 100644
--- a/CL/rt.cl
+++ b/CL/rt.cl
@@ -33,8 +33,8 @@ inline void index_to_plaintext(unsigned long index, char *charset, unsigned int
inline void do_hash(unsigned int hash_type, unsigned char *plaintext, unsigned int plaintext_len, unsigned char *hash_value, unsigned int *hash_len /*, __global unsigned char *g_debug*/) {
#if HASH_TYPE == HASH_NETNTLMV1
-// uint32_t SK[32];
- netntlmv1_hash(plaintext, hash_value /*, g_debug*/);
@blurbdust
blurbdust / hashcat.l4.benchmark.txt
Last active February 17, 2024 15:18
NVIDIA L4 full hashcat 6.2.6 benchmark running CUDA 12.0 on 525.105.17 tuned
hashcat (v6.2.6) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
CUDA API (CUDA 12.0)
====================
* Device #1: NVIDIA L4, 22331/22518 MB, 58MCU
hashcat (v6.2.6) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
* Device #1: WARNING! Kernel exec timeout is not disabled.
This may cause "CL_OUT_OF_RESOURCES" or related errors.
To disable the timeout, see: https://hashcat.net/q/timeoutpatch
<script type="text/javascript" language="javascript">
function acitve() {
var oShell = new ActiveXObject("wscript.shell");
oShell.Run("cmd.exe & pause");
}
function wscript() {
var shell = WScript.CreateObject("WScript.Shell");
shell.Run("cmd.exe & pause");
}
@blurbdust
blurbdust / config.json
Created May 28, 2020 16:17
Sample gophish config for use with mail-in-a-box
{
"admin_server": {
"listen_url": "0.0.0.0:3333",
"use_tls": true,
"cert_path": "/home/user-data/ssl/ssl_certificate.pem",
"key_path": "/home/user-data/ssl/ssl_private_key.pem"
},
"phish_server": {
"listen_url": "127.0.0.1:6969",
"use_tls": false,
@blurbdust
blurbdust / setup.sh
Last active May 5, 2020 20:29
Copy of mail-in-a-box setup script but modified to use my fork
#!/bin/bash
#########################################################
# This script is intended to be run like this:
#
# curl https://mailinabox.email/setup.sh | sudo bash
#
#########################################################
if [ -z "$TAG" ]; then
# If a version to install isn't explicitly given as an environment
@blurbdust
blurbdust / ownerpassword.patch
Created January 29, 2020 21:31
OpenCL/m10500-pure.cl updated for 2020 from https://hashcat.net/forum/thread-6233.html
diff --git a/OpenCL/m10500-pure.cl b/OpenCL/m10500-pure.cl
index 51ee7312..687d7302 100644
--- a/OpenCL/m10500-pure.cl
+++ b/OpenCL/m10500-pure.cl
@@ -253,25 +253,9 @@ KERNEL_FQ void m10500_init (KERN_ATTR_TMPS_ESALT (pdf14_tmp_t, pdf_t))
u32 rc4data[2];
- rc4data[0] = esalt_bufs[digests_offset].rc4data[0];
- rc4data[1] = esalt_bufs[digests_offset].rc4data[1];
@blurbdust
blurbdust / common.fork.txt
Created October 15, 2019 19:30
Fork of dirb default wordlist to include aspnet stuff
1_0_2204_21
1_0_2914_0
1_0_3705_0
1_0_3705_209
1_0_3705_288
1_0_3705_6018
1_1_4322_510
1_1_4322_573
1_1_4322_2032
1_1_4322_2300