mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-30 20:34:15 +01:00
Fixed back command exception
This commit is contained in:
parent
d6bf81e473
commit
ccc83215df
@ -11,4 +11,6 @@ class Command(CommandDefinition):
|
|||||||
ARGS = {}
|
ARGS = {}
|
||||||
|
|
||||||
def run(self, manager: "pwncat.manager.Manager", args):
|
def run(self, manager: "pwncat.manager.Manager", args):
|
||||||
raise RawModeExit
|
# This is caught by ``CommandParser.run`` which interprets
|
||||||
|
# it as a `C-d` sequence, and returns to the remote prompt.
|
||||||
|
raise EOFError
|
||||||
|
Loading…
Reference in New Issue
Block a user