Commit Graph

12 Commits (2cf1a72bc53a308abddbad527b2ddce5eff65ee6)

Author SHA1 Message Date
Andrea Cardaci 9800048833
Upgrade to shell 2021-04-08 07:56:49 +02:00
M4x ecb1840df3
add command for rpm and delete unnecessary prefix
remove trailing spaces
2021-04-07 17:31:05 +08:00
M4x 565ebae880
add `command` for `rpm` and delete unnecessary prefix 2021-04-07 16:30:36 +08:00
Andrea Cardaci bb4050810e Fix rpm[query] SUID 2021-01-10 18:27:30 +01:00
brian 3bd955e8cc Use os.execute instead of posix.exec in rpm
From rpm versions 4.9.0 and on, posix.exec() will return an error unless called
from a child process created with posix.fork(). os.execute() may be used
instead.

This change is documented in these two resources:

- http://rpm.org/user_doc/lua.html
- https://rpm-packaging-guide.github.io/

Close #53.
2019-02-14 12:32:18 +01:00
Emilio a0674eb8f0 Add other sudo to rpm 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:54:57 +00:00
Emilio Pinna dd337b5ddf Adopt new function names 2018-10-05 18:55:38 +01:00
Andrea Cardaci e1cd3aed68 Fix YAMLs according to YAMLlint 2018-07-16 15:01:50 +02:00
Emilio Pinna d6895f367d Reorder functions in binaries 2018-07-04 19:26:52 +01:00
Andrea Cardaci 36dcf7a836 Reorganize function names 2018-05-25 15:30:02 +02:00
Andrea Cardaci f0d72ff530 Fix trailing spaces 2018-05-25 01:10:39 +02:00
Emilio Pinna b81e57005a First commit 2018-05-21 20:14:41 +01:00