From b2d5b4122e783ae6f16bdb8c231628493d46afce Mon Sep 17 00:00:00 2001 From: witchdocsec <107813117+witchdocsec@users.noreply.github.com> Date: Sun, 6 Aug 2023 16:32:33 +0100 Subject: [PATCH] Update sunami.py --- sunami.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunami.py b/sunami.py index 58787dc..32a2e06 100644 --- a/sunami.py +++ b/sunami.py @@ -57,7 +57,7 @@ if args.command == "genshell": conn.send(cmd.encode("utf-8")) time.sleep(1) sys.stdout.write("\033[A" + data.split("\n")[-1]) - elif args.shell == "rev": + elif args.shelltype == "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}")