Skip to content

Instantly share code, notes, and snippets.

View danielmartins-br's full-sized avatar
:octocat:
Desbravando as Terras do GitHub

Daniel danielmartins-br

:octocat:
Desbravando as Terras do GitHub
View GitHub Profile
@A1vinSmith
A1vinSmith / Privilege Escalation.md
Last active May 24, 2024 00:15
Privilege Escalation: Systemctl (Misconfigured Permissions — sudo/SUID)
@idiom
idiom / psdecomp.py
Created July 10, 2017 15:18
Script to decode and decompress Powershell Commands
import base64
import zlib
import argparse
def decode_command(cmd):
try:
# base64 decode the command
p1 = base64.b64decode(cmd)
@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active May 23, 2024 14:34
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
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide