Skip to content

Instantly share code, notes, and snippets.

@bee-san
Created September 9, 2020 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bee-san/66a88325e88330baddcc1bad0c32a6e8 to your computer and use it in GitHub Desktop.
Save bee-san/66a88325e88330baddcc1bad0c32a6e8 to your computer and use it in GitHub Desktop.
➜ ciphey -t "e098b86310f3eeffff5c04869e145fe72d6434333af997ebefd909024fb29114" -vvv
2020-09-09 13:06:58.355 | DEBUG | ciphey.iface._config:update_log_level:181 - Verbosity set to level 3 (TRACE)
2020-09-09 13:06:58.355 | DEBUG | ciphey.ciphey:main:198 - Opened config file at /home/bee/.config/ciphey/config.yml
2020-09-09 13:06:58.356 | TRACE | ciphey.ciphey:main:199 - Got cmdline args {'text': 'e098b86310f3eeffff5c04869e145fe72d6434333af997ebefd909024fb29114', 'verbose': 3, 'text_stdin': None, 'quiet': None, 'greppable': None, 'checker': None, 'config': None, 'wordlist': None, 'param': (), 'list_params': None, 'searcher': None, 'bytes': None, 'default_dist': None, 'module': (), 'appdirs': False, 'file': None}
2020-09-09 13:06:58.356 | DEBUG | ciphey.iface._config:load_modules:191 - Loaded modules ['regex', 'regexlist', 'brandon', 'jsonchecker', 'humanchecker', 'any', 'ezcheck', 'caesar', 'vigenere', 'xorsingle', 'xorcrypt', 'xandy', 'morsecode', 'base16', 'base32', 'base64', 'base85', 'ascii85', 'utf8', 'reverse', 'octal', 'binary', 'hex', 'atbash', 'galactic', 'base62', 'base58', 'base58_ripple', 'base91', 'leet', 'decimal', 'base69', 'cipheydists', 'json', 'csv', 'ausearch']
2020-09-09 13:06:58.356 | TRACE | ciphey.iface._config:load_objs:140 - Registry is [<class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>, <class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>, <class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>, <class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>, <class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>, <class 'ciphey.basemods.Checkers.any.Any'>, <class 'ciphey.iface._modules.Checker.convert.<locals>.PolyWrapperClass'>]
2020-09-09 13:06:58.356 | TRACE | ciphey.iface._config:get_resource:201 - Loading resource cipheydists::list::flags of type None
2020-09-09 13:06:58.356 | TRACE | ciphey.basemods.Resources.cipheydists:getResource:30 - Loading cipheydists resource list::flags
2020-09-09 13:06:58.357 | TRACE | ciphey.basemods.Checkers.regex:__init__:49 - There are 1 regexes
2020-09-09 13:06:58.357 | TRACE | ciphey.iface._config:get_resource:201 - Loading resource cipheydists::brandon::english of type None
2020-09-09 13:06:58.357 | TRACE | ciphey.basemods.Resources.cipheydists:getResource:30 - Loading cipheydists resource brandon::english
2020-09-09 13:06:58.357 | TRACE | ciphey.iface._config:get_resource:201 - Loading resource cipheydists::list::english1000 of type None
2020-09-09 13:06:58.357 | TRACE | ciphey.basemods.Resources.cipheydists:getResource:30 - Loading cipheydists resource list::english1000
2020-09-09 13:06:58.357 | TRACE | ciphey.iface._config:get_resource:201 - Loading resource cipheydists::list::english of type None
2020-09-09 13:06:58.358 | TRACE | ciphey.basemods.Resources.cipheydists:getResource:30 - Loading cipheydists resource list::english
2020-09-09 13:06:58.398 | TRACE | ciphey.iface._config:get_resource:201 - Loading resource cipheydists::list::englishStopWords of type None
2020-09-09 13:06:58.398 | TRACE | ciphey.basemods.Resources.cipheydists:getResource:30 - Loading cipheydists resource list::englishStopWords
2020-09-09 13:06:58.401 | DEBUG | ciphey.iface._config:update_log_level:181 - Verbosity set to level 3 (TRACE)
2020-09-09 13:06:58.401 | TRACE | ciphey.ciphey:main:223 - Command line opts: {'text': 'e098b86310f3eeffff5c04869e145fe72d6434333af997ebefd909024fb29114', 'verbose': 3, 'text_stdin': None, 'quiet': None, 'greppable': None, 'checker': None, 'config': None, 'wordlist': None, 'param': (), 'list_params': None, 'searcher': None, 'bytes': None, 'default_dist': None, 'module': (), 'appdirs': False, 'file': None}
2020-09-09 13:06:58.401 | TRACE | ciphey.ciphey:main:224 - Config finalised: {'verbosity': 3, 'searcher': 'ausearch', 'params': {'regexlist': {'resource': ['cipheydists::list::flags']}, 'brandon': {'top1000': 'cipheydists::list::english1000', 'wordlist': 'cipheydists::list::english', 'stopwords': 'cipheydists::list::englishStopWords', 'threshold': 0.45, 'phases': 'cipheydists::brandon::english'}, 'ausearch': {'enable_nested': 'False', 'invert_priority': 'False', 'max_cipher_depth': '0', 'max_depth': '0', 'priority_cap': '2'}}, 'format': 'str', 'modules': [], 'checker': 'ezcheck', 'default_dist': 'cipheydists::dist::english', 'timeout': None}
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/bin/ciphey", line 8, in <module>
sys.exit(main())
File "/home/bee/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/bee/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/bee/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/bee/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages/ciphey/ciphey.py", line 250, in main
raise TypeError(f"Cannot load type {config.format}")
TypeError: Cannot load type str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment