From 00e29ab908108efb9baf343b3aad7627429463f9 Mon Sep 17 00:00:00 2001 From: swee Date: Tue, 24 Dec 2024 16:09:16 -0800 Subject: [PATCH] Update cc/sc-decode --- cc/sc-decode | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cc/sc-decode b/cc/sc-decode index 158d55e..792edd1 100644 --- a/cc/sc-decode +++ b/cc/sc-decode @@ -1,4 +1,7 @@ #!/usr/bin/python3 import sweecrypt from sys import argv -print(sweecrypt.decrypt(" ".join(argv[3:]))) \ No newline at end of file +if argv[3][:2] == "-s": + print(sweecrypt.decrypt(" ".join(argv[4:]), argv[3][3:])) +else: + print(sweecrypt.decrypt(" ".join(argv[3:]))) \ No newline at end of file