Update sunami.py

main
witchdocsec 2023-08-06 16:32:33 +01:00 committed by GitHub
parent 2c0c1cd955
commit b2d5b4122e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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