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