Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
Ret2Shell Steganography
How to use?
pip install ret2shell-steganography
leet mode
from ret2shell_steganography import LeetStego
# 初始化一个密钥,需要与平台上设置的相同
stego = LeetStego("your_secret_key")
# 定义 Flag 模板,获取ID(team_id优先,user_id次之)
template = "this-is-an-example"
data_id = 12345
# 生成 Flag 内容
encoded = stego.encode(template, data_id)
print(f"编码结果 {encoded}")
# 解码验证
decoded = stego.decode(template, encoded)
print(f"解码结果 {decoded}") # 12345
uuid mode
from ret2shell_steganography import UUIDStego
# 初始化(带连字符格式)
uuid_stego = UUIDStego("your_secret_key", with_hyphen=True)
template = "this-is-an-example"
data_id = 12345
# 生成 UUID
encoded = uuid_stego.encode(template, data_id)
print(f"UUID: {encoded}")
# 解码
decoded = uuid_stego.decode(template, encoded)
print(f"解码结果: {decoded}") # 12345
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ret2shell_steganography-0.1.1.tar.gz.
File metadata
- Download URL: ret2shell_steganography-0.1.1.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d5907f93337bdd708e9c9eceecbe5fcfca4578d9e73a944dda60408df683cff
|
|
| MD5 |
08e8aaeb22a307755affcc7b8566f2bf
|
|
| BLAKE2b-256 |
9e942b38eb353e1c55f1e68f5db5308af46b87ce804c414e572f6c39d35e4495
|
File details
Details for the file ret2shell_steganography-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ret2shell_steganography-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdcf31be082b84faf757227a61e78dae86d0653b8f9568902455417ae438a083
|
|
| MD5 |
46766eda10055a6f49a12e6176084c57
|
|
| BLAKE2b-256 |
6105ce4cef5751edd045f6275f93b71fa9a323fc7b0f316263ecec12d9fcd2f0
|