Skip to content

Instantly share code, notes, and snippets.

View MateiBuzdea's full-sized avatar

Matei Buzdea MateiBuzdea

  • Politehnica University of Bucharest
  • Bucharest, Romania
  • LinkedIn in/matei-buzdea
View GitHub Profile
@MateiBuzdea
MateiBuzdea / download_urls.sh
Created February 16, 2024 14:26
Small script to download files from a list
#!/bin/bash
# Function to extract the filename and folder path from a URL
# Usage: extract_filename_and_path <url>
extract_filename_and_path() {
local url="$1"
# Extract the filename from the URL
local filename=$(basename "$url")
@MateiBuzdea
MateiBuzdea / kerberos_attacks_cheatsheet.md
Created August 14, 2023 10:56 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module:

@MateiBuzdea
MateiBuzdea / rop_template.py
Created June 18, 2023 10:31
ROP Exploit Template
from pwn import *
BINARY = './binary'
# TARGET:
p = process(BINARY)
# p = remote('<IP>', <PORT>)
# p = gdb.debug(BINARY, 'break main')
# CONTEXT: