mirror of
https://github.com/gchq/CyberChef.git
synced 2025-12-15 15:20:28 -08:00
Updated Automatic detection of encoded data using CyberChef Magic (markdown)
parent
1dc17e89dd
commit
350ace0e79
1 changed files with 2 additions and 2 deletions
|
|
@ -6,12 +6,12 @@ Many common data encoding schemes, such as Base64, Hexadecimal and Gzip, have pr
|
|||
|
||||
Example regular expression for Base64 data using the standard alphabet:
|
||||
```regex
|
||||
/^(?:[A-Z\\d+/]{4})+(?:[A-Z\\d+/]{2}==|[A-Z\\d+/]{3}=)?$/i
|
||||
/^(?:[A-Z\d+/]{4})+(?:[A-Z\d+/]{2}==|[A-Z\d+/]{3}=)?$/i
|
||||
```
|
||||
|
||||
Example regular expression for Base64 data using the y64 alphabet:
|
||||
```regex
|
||||
/^(?:[A-Z\\d._]{4}){5,}(?:[A-Z\\d._]{2}--|[A-Z\\d._]{3}-)?$/i
|
||||
/^(?:[A-Z\d._]{4}){5,}(?:[A-Z\d._]{2}--|[A-Z\d._]{3}-)?$/i
|
||||
```
|
||||
|
||||
### Speculative execution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue