mirror of
https://github.com/calebstewart/pwncat.git
synced 2024-11-27 10:54:14 +01:00
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"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))
|
||||
|
Loading…
Reference in New Issue
Block a user