Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ciphey went into an error with a simple string #791

Open
1 task done
DellZHackintosh opened this issue Dec 23, 2023 · 0 comments
Open
1 task done

Ciphey went into an error with a simple string #791

DellZHackintosh opened this issue Dec 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DellZHackintosh
Copy link

Describe the bug
A clear and concise description of what the bug is.

Plaintext
⚠️IMPORTANT⚠️ The below code is non-negotiable for "Ciphey didn't decrypt...." problems. If you do not tell us your plaintext, we will not help you.

Include your plaintext here, replacing this 

Version
⚠️IMPORTANT⚠️ We need this information because different environments will induce different bugs in Ciphey

  • OS/Distro: Windows
  • Python version: 3.8
  • Ciphey versions:
Name: ciphey
Version: 5.14.0
Summary: Automated Decryption Tool
Home-page:
Author: Brandon
Author-email: brandon@skerritt.blog
License: MIT
Location: c:\py38\lib\site-packages
Requires: appdirs, base58, base91, cipheycore, cipheydists, click, flake8, loguru, mock, pybase62, pylint, pywhat, pyyaml, rich
Required-by:
---
Name: cipheycore
Version: 0.3.2
Summary:
Home-page:
Author: Cyclic3
Author-email: cyclic3.git@gmail.com
License:
Location: c:\py38\lib\site-packages
Requires:
Required-by: ciphey
---
Name: cipheydists
Version: 0.3.35
Summary: A collection of distributions, character sets and dictionaries for use in ciphey
Home-page:
Author: Cyclic3
Author-email: cyclic3.git@gmail.com
License:
Location: c:\py38\lib\site-packages
Requires:
Required-by: ciphey
  • Did you use Docker? No

To Reproduce
Run this command.

ciphey -t "Eindows"
Possible plaintext: '."IPr' (y/N): **n**
Traceback (most recent call last):
  File "c:\py38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\py38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\py38\Scripts\ciphey.exe\__main__.py", line 7, in <module>
  File "c:\py38\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "c:\py38\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "c:\py38\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\py38\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "c:\py38\lib\site-packages\ciphey\ciphey.py", line 263, in main
    result = decrypt(config, kwargs["text"])
  File "c:\py38\lib\site-packages\ciphey\ciphey.py", line 32, in decrypt
    res: Optional[iface.SearchResult] = config.objs["searcher"].search(ctext)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 281, in search
    self.recursive_expand(node)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 221, in recursive_expand
    self.expand_decodings(node)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 213, in expand_decodings
    self.recursive_expand(new_node, False)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 221, in recursive_expand
    self.expand_decodings(node)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 213, in expand_decodings
    self.recursive_expand(new_node, False)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 221, in recursive_expand
    self.expand_decodings(node)
  File "c:\py38\lib\site-packages\ciphey\basemods\Searchers\ausearch.py", line 202, in expand_decodings
    res = inst(val)
  File "c:\py38\lib\site-packages\ciphey\iface\_modules.py", line 186, in __call__
    return self.decode(*args)
  File "c:\py38\lib\site-packages\ciphey\basemods\Decoders\atbash.py", line 29, in decode
    return fix_case(result, ctext)
  File "c:\py38\lib\site-packages\ciphey\common.py", line 15, in fix_case
    [
  File "c:\py38\lib\site-packages\ciphey\common.py", line 16, in <listcomp>
    target[i].upper() if base[i].isupper() else target[i]
IndexError: string index out of range
@DellZHackintosh DellZHackintosh added the bug Something isn't working label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant