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}")