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

[Feature] Ares lacks unique optimizations from Ciphey #227

Open
SkeletalDemise opened this issue Apr 28, 2023 · 0 comments
Open

[Feature] Ares lacks unique optimizations from Ciphey #227

SkeletalDemise opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@SkeletalDemise
Copy link
Collaborator

Ciphey has unique optimizations that in edge cases makes it faster than Ares. (although Ares overall is faster due to Rust and multithreading.)

One example is nested base64, Ciphey will "learn" that it's base64 and try it all the way down. Ares doesn't and gets stuck on early levels with unlikely combinations.

Note, this will likely be fixed as a byproduct of switching our search algorithm to A* from BFS in the future.

Example:

ares -t "VmpGb2QxTnJOVWRpTTJocVVtMW9WRmx0TlVOak1WcFhWVmhrVUZWVU1Eaz0=" -r "easy"
5 seconds have passed. 25 remaining
10 seconds have passed. 20 remaining
15 seconds have passed. 15 remaining
20 seconds have passed. 10 remaining
25 seconds have passed. 5 remaining

🥳 Ares has decoded 246 times times.
If you would have used Ciphey, it would have taken you 49 seconds

⛔️ Ares has failed to decode the text.
>ciphey -t "VmpGb2QxTnJOVWRpTTJocVVtMW9WRmx0TlVOak1WcFhWVmhrVUZWVU1Eaz0="
Possible plaintext: 'so easy' (y/N): y
╭──────────────────────╮
│ Formats used:        │
│    base64            │
│    utf8              │
│    base64            │
│    utf8              │
│    base64            │
│    utf8              │
│    base64            │
│    utf8              │
│    base64            │
│    utf8              │
│    base64            │
│    utf8              │
│ Plaintext: "so easy" │
╰──────────────────────╯
@SkeletalDemise SkeletalDemise added the enhancement New feature or request label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant