Examples
Magic Chain: Base64
Input
WkVkV2VtUkRRbnBrU0Vwd1ltMWpQUT09Expected checks
Matches /From_Base64\('A-Za-z0-9\+\/=',true,false\)\nFrom_Base64\('A-Za-z0-9\+\/=',true,false\)\nFrom_Base64\('A-Za-z0-9\+\/=',true,false\)/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Magic Chain: Charcode -> Octal -> Base32
Input
GY3SANRUEA2DAIBWGYQDMNJAGQYCANRXEA3DGIBUGAQDMNZAGY2CANBQEA3DEIBWGAQDIMBAGY3SANRTEA2DAIBWG4QDMNBAGQYCANRXEA3DEIBUGAQDMNRAG4YSANBQEA3DMIBRGQ2SANBQEA3DMIBWG4======Expected checks
Matches /From_Base32\('A-Z2-7=',false\)\nFrom_Octal\('Space'\)\nFrom_Hex\('Space'\)/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Magic Chain: Decimal -> Base32 -> Base32
Input
I5CVSVCNJFBFER2BLFJUCTKKKJDVKUKEINGUUV2FIFNFIRKJIJJEORJSKNAU2SSSI5MVCRCDJVFFKRKBLFKECTSKIFDUKWKUIFEUEUSHIFNFCPJ5HU6Q====Expected checks
Matches /test string/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Magic Chain: Hex -> Hexdump -> Base64
Input
MDAwMDAwMDAgIDM3IDM0IDIwIDM2IDM1IDIwIDM3IDMzIDIwIDM3IDM0IDIwIDMyIDMwIDIwIDM3ICB8NzQgNjUgNzMgNzQgMjAgN3wKMDAwMDAwMTAgIDMzIDIwIDM3IDM0IDIwIDM3IDMyIDIwIDM2IDM5IDIwIDM2IDY1IDIwIDM2IDM3ICB8MyA3NCA3MiA2OSA2ZSA2N3w=Expected checks
Matches /From_Base64\('A-Za-z0-9\+\/=',true,false\)\nFrom_Hexdump\(\)\nFrom_Hex\('Space'\)/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Defang IP Address, valid
Input
192.168.0.1Expected checks
Matches /Properties[^#]+?#recipe=Defang_IP_Addresses\(\)"/- Depth
1- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
extensive language support, Yiddish
Input
די שנעל ברוין פאָקס דזשאַמפּס איבער די פויל הונט.Expected checks
Matches /Yiddish/- Depth
1- Intensive mode
Off- Extensive language support
On- Crib (known plaintext string or regex)
(empty)
hex, correct rank
Input
41 42 43 44 45Expected checks
Matches /Properties[^#]+?#recipe=From_Hex\('Space'\)"/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
jpeg render
Input
3,827 bytes
DownloadExpected checks
Matches /Render_Image\('Raw'\)/- Depth
3- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
mojibake
Input
99 bytes
DownloadExpected checks
Matches /Быртрар коричневар лира прыгает через ленивую робаку./- Depth
1- Intensive mode
On- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Raw Inflate
Input
408 bytes
DownloadExpected checks
Matches /#recipe=Raw_Inflate(.|\n)+CyberChef is a simple, intuitive web app for carrying out all manner of /- Depth
1- Intensive mode
Off- Extensive language support
Off- Crib (known plaintext string or regex)
(empty)
Options Depth: If an operation appears to match the data, it will be run and the result will be analysed further. This argument controls the maximum number of levels of recursion. Intensive mode: When this is turned on, various operations like XOR, bit rotates, and character encodings are brute-forced to attempt to detect valid data underneath. To improve performance, only the first 100 bytes of the data is brute-forced. Extensive language support: At each stage, the relative byte frequencies of the data will be compared to average frequencies for a number of languages. The default set consists of ~40 of the most commonly used languages on the Internet. The extensive list consists of 284 languages and can result in many languages matching the data if their byte frequencies are similar. Optionally enter a regular expression to match a string you expect to find to filter results (crib).
Format reference: Magic background and specification
Suggestions need confirmation
Magic uses signatures, byte frequencies and heuristics. Several interpretations can fit the same input. Validate a suggestion against the expected file format or protocol before relying on it.
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| Depth | 3 | Number |
| Intensive mode | false | On or off |
| Extensive language support | false | On or off |
| Crib (known plaintext string or regex) | "" | Text |