Python fully automatic decryption and decoding artifact you don't know

foreword

insert image description here

Ciphey is a fully automatic decrypt/decode/crack tool using natural language processing and artificial intelligence.

Simply put, you just enter the encrypted text, and it returns you the decrypted text. It's just so naughty.

With Ciphey, you don't need to know what type of encryption your ciphertext is at all, you only know that it is encrypted, then Ciphey can give it in 3 seconds or less.

You decrypt, returning the answer you want for most of the ciphertext.

The following is an introduction to the practical use of Ciphey.

insert image description here

1. Prepare

Please choose one of the following methods to enter the command to install dependencies:

  1. Open Cmd in Windows environment (Start-Run-CMD).
  2. Open Terminal in MacOS environment (command+space to enter Terminal).
  3. If you are using the VSCode editor or Pycharm, you can directly use the Terminal at the bottom of the interface.
pip install -U ciphey

insert image description here

2. Basic usage of Ciphey

There are 3 ways to run Ciphey:

  1. File input:
ciphey -f encrypted.txt
# 或
python -m ciphey -f encrypted.txt

2. Non-standard methods:

Python学习交流Q群:906715085###
ciphey -- "Encrypted input"
# 或
python -m ciphey -- "Encrypted input"

3. Normal way

ciphey -t "Encrypted input"
# 或
python -m ciphey -t "Encrypted input"

As shown below:

insert image description here

To remove progress bars, probability tables and all noise, use quiet mode:

ciphey -t "encrypted text here" -q

insert image description here

3. Call Ciphey in Python

If you need to use Ciphey in Python, use it like this:


# Python实用宝典
# 2021/07/19
from ciphey.__main__ import main, main_decrypt, make_default_config
main_decrypt(make_default_config("SGVsbG8gbXkgbmFtZSBpcyBiZWUgYW5kIEkgbGlrZSBkb2cgYW5kIGFwcGxlIGFuZCB0cmVl"))
# >> Hello my name is bee and I like dog and apple and tree

After running it will output the following results:

insert image description here

The effect is quite good. If you don't want to output the probability table, but only want to decrypt the content, the code needs to be written like this:

# Python实用宝典
# 2021/07/19
from ciphey.__main__ import main, main_decrypt, make_default_config
config = make_default_config("SGVsbG8gbXkgbmFtZSBpcyBiZWUgYW5kIEkgbGlrZSBkb2cgYW5kIGFwcGxlIGFuZCB0cmVl")
config["grep"] = True
main_decrypt(config)
# >> Hello my name is bee and I like dog and apple and tree

insert image description here

Very nice, you don't even need to know what ciphertext/encoding this is.

insert image description here

Ciphey supports up to 51 ciphertexts and encodings for decryption, some basic options are listed below

Basic password:

Python学习交流Q群:906715085####
◦Caesar Cipher


◦ROT47 (up to ROT94 with the ROT47 alphabet)


◦ASCII shift (up to ROT127 with the full ASCII alphabet)


◦Vigenère Cipher


◦Affine Cipher


◦Binary Substitution Cipher (XY-Cipher)


◦Baconian Cipher (both variants)


◦Soundex


◦Transposition Cipher


◦Pig Latin

Modern Cryptography:

◦Repeating-key XOR


◦Single XOR

coding:

◦Base32


◦Base64


◦Z85 (release candidate stage)


◦Base65536 (release candidate stage)


◦ASCII


◦Reversed text


◦Morse Code


◦DNA codons (release candidate stage)


◦Atbash


◦Standard Galactic Alphabet (aka Minecraft Enchanting Language)


◦Leetspeak


◦Baudot ITA2


◦URL encoding


◦SMS Multi-tap


◦DMTF (release candidate stage)


◦UUencode


◦Braille (Grade 1)......

Ciphey's features are not only those described in this article, this article is just the tip of the iceberg, it can also add your own decoders:

https://github.com/Ciphey/Ciphey/wiki/Adding-your-own-ciphers

If you want to learn further, you can refer to more information in the introduction of Ciphey's Github Wiki for deeper learning.

Finally
, Decoding Magic is also used more frequently in some daily life. I hope this tutorial will be helpful to you. I heard that people who like to like are the most beautiful. See you in the next chapter.

insert image description here

Guess you like

Origin blog.csdn.net/xff123456_/article/details/124297254