diff --git a/rsa.py b/rsa.py index d592290..d22032b 100755 --- a/rsa.py +++ b/rsa.py @@ -89,6 +89,9 @@ def main(): keyName = sys.argv[2] cracked_key = crackKey2(keyName) printKey(cracked_key) + if sys.argv[1] == "print": #rsa print + printKey(readKeyFile(sys.argv[2])) + #No command exit code exit(127)