Skip to content

Instantly share code, notes, and snippets.

View hickskl's full-sized avatar

Kendra hickskl

View GitHub Profile
@hickskl
hickskl / UTW.txt
Last active June 30, 2024 20:06
UTW Powershell Notes
Windows Server: https://learn.microsoft.com/en-us/powershell/module/dnsserver/get-dnsserver?view=windowsserver2022-ps
General: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-service?view=powershell-7.4
get-command -verb get -noun DNS*
get-help
get-alias
Get-WmiObject -Class Win32_Service -Filter "name='WinRM'"
(Get-WmiObject -Class Win32_Service -Filter "name='WinRM'").pathname
@hickskl
hickskl / OTW.txt
Last active July 3, 2024 01:08
OTW
bandit0: bandit0
Compiler flags:
-m32 compile for 32bit
-fno-stack-protector disable ProPolice
-Wl,-z,norelro disable relro
execstack tool: can be used to flag the stack as executable on ELF binaries
Stack Canary: -fstack-protector
https://docs.google.com/document/d/1GJcvlYvgd4ARyx1EKOXsOePGITXi8L_gXsTh3vfjkKY/edit?usp=sharing
https://auth0.com/blog/url-uri-urn-differences/