Skip to content

Instantly share code, notes, and snippets.

View mathieucaroff's full-sized avatar

Mathieu CAROFF mathieucaroff

View GitHub Profile
@mathieucaroff
mathieucaroff / findautoelevate.ps1
Created August 19, 2021 21:24 — forked from Evilcry/findautoelevate.ps1
Enumerate executables with auto-elevation enabled
# Find Autoelevate executables
Write-Host "System32 Autoelevate Executables" -ForegroundColor Green -BackgroundColor Black
Select-String -Path C:\Windows\System32\*.exe -pattern "<AutoElevate>true"
Write-Host "`nSysWOW64 Autoelevate Executables" -ForegroundColor Green -BackgroundColor Black
Select-String -Path C:\Windows\SysWOW64\*.exe -pattern "<AutoElevate>true"
@mathieucaroff
mathieucaroff / .tmux.conf
Last active June 10, 2020 16:26 — forked from jnaulty/.tmux.conf
A copy of the best tmux and vim configuration in the universe
#.tmux.conf
# upstream
# https://gist.github.com/jnaulty/55d03392c37e9720631a
# obtain
# ```bash
# curl https://gist.githubusercontent.com/mathieucaroff/7037f7f40e359d6a605638872bfd19c2/raw/.tmux.conf --output ~/.tmux.conf
# ```