fix: Catch PlatformError for none gtfobins writers
See ./pwncat/platform/linux.py:[1307,1336], raise PlatformError("no available gtfobins writers")
This commit is contained in:
parent
0e79b87f56
commit
1f6c82026e
|
@ -77,5 +77,5 @@ class Command(CommandDefinition):
|
||||||
f"uploaded [cyan]{human_readable_size(length)}[/cyan] "
|
f"uploaded [cyan]{human_readable_size(length)}[/cyan] "
|
||||||
f"in [green]{human_readable_delta(elapsed)}[/green]"
|
f"in [green]{human_readable_delta(elapsed)}[/green]"
|
||||||
)
|
)
|
||||||
except (FileNotFoundError, PermissionError, IsADirectoryError) as exc:
|
except (FileNotFoundError, PermissionError, IsADirectoryError, PlatformError) as exc:
|
||||||
self.parser.error(str(exc))
|
self.parser.error(str(exc))
|
||||||
|
|
Loading…
Reference in New Issue