This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"runtime" | |
"strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashcat (v5.1.0) 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. | |
OpenCL Platform #1: Intel(R) Corporation | |
======================================== | |
* Device #1: Intel(R) Gen9 HD Graphics NEO, 4095/25647 MB allocatable, 24MCU |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashcat (v5.1.0-1495-g53254b45) starting in benchmark mode... | |
OpenCL API (OpenCL 2.1 AMD-APP (2906.7)) - Platform #1 [Advanced Micro Devices, Inc.] | |
===================================================================================== | |
* Device #1: gfx1010, 8064/8176 MB (4048 MB allocatable), 20MCU | |
Benchmark relevant options: | |
=========================== | |
* --optimized-kernel-enable | |
* --workload-profile=3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System specifications: | |
* Intel Xeon E5-2680v2 | |
* 128 GB RAM | |
* 4 XFX Radeon VII | |
* hashcat v5.1.0-1474-gd315f614 (git) | |
* rocm-dkms 2.10.14 | |
* Ubuntu 18.04 | |
Stock clocks, stock fan, sclk/mclk variable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import getpass | |
import re | |
import time | |
import subprocess | |
import sys | |
MIN_UPTIME = 1800 # 30 minutes of uptime required before autokilling | |
TIME_DELTA = 21600 # 6 hours of uptime max before autokilling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class TriangleClassifier { | |
/** | |
* Return a string classifying a triangle based upon its sides. | |
* | |
* @param a Side A. | |
* @param b Side B. | |
* @param c Side C. | |
*/ | |
public static classify(a:number, b:number, c:number):"isosceles"|"scalene"|"equilateral" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashcat (v5.1.0) starting in benchmark mode... | |
OpenCL Platform #1: Advanced Micro Devices, Inc. | |
================================================ | |
* Device #1: Kalindi, 2268/3180 MB allocatable, 2MCU | |
Benchmark relevant options: | |
=========================== | |
* --optimized-kernel-enable | |
* --workload-profile=3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import json | |
import sys | |
import urllib3 | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
cmd = "whoami" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:11:34: OS Arch: AMD64 | |
00:11:34: GPUs: 4 | |
00:11:34: GPU 0: Bus:131 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII] | |
00:11:34: GPU 1: Bus:134 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII] | |
00:11:34: GPU 2: Bus:137 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII] | |
00:11:34: GPU 3: Bus:140 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII] | |
00:11:34: CUDA: Not detected: cuInit() returned 100 | |
00:11:34:OpenCL Device 0: Platform:0 Device:0 Bus:-125 Slot:0 Compute:2.0 Driver:3052.0 | |
00:11:34:OpenCL Device 1: Platform:0 Device:1 Bus:-122 Slot:0 Compute:2.0 Driver:3052.0 | |
00:11:34:OpenCL Device 2: Platform:0 Device:2 Bus:-119 Slot:0 Compute:2.0 Driver:3052.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from pwn import * | |
import json | |
import base64 | |
import binascii | |
import codecs | |
import sys | |
def decode(t, data): | |
if t == 'base64': |