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
_ _ _ ____ _ _
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / |
| _ | (_| | (__| < | |_) | (_| | (__| <|_|
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_)
A DIY Guide
@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active November 16, 2024 07:18
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
@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)
@A1vinSmith
A1vinSmith / Privilege Escalation.md
Last active October 8, 2024 21:27
Privilege Escalation: Systemctl (Misconfigured Permissions — sudo/SUID)