mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
20 lines
555 B
Markdown
20 lines
555 B
Markdown
# RC4 Encrypt and Decrypt
|
|
|
|
{{#include ../banners/hacktricks-training.md}}
|
|
|
|
If you can somehow encrypt a plaintext using RC4, you can decrypt any content encrypted by that RC4 (using the same password) just using the encryption function.
|
|
|
|
If you can encrypt a known plaintext you can also extract the password. More references can be found in the HTB Kryptos machine:
|
|
|
|
|
|
{{#ref}}
|
|
https://0xrick.github.io/hack-the-box/kryptos/
|
|
{{#endref}}
|
|
|
|
|
|
{{#ref}}
|
|
https://0xrick.github.io/hack-the-box/kryptos/
|
|
{{#endref}}
|
|
|
|
{{#include ../banners/hacktricks-training.md}}
|