arfshl/steganogra-py
GitHub: arfshl/steganogra-py
一个极简的 Python 图像隐写工具,支持将加密文本信息嵌入 PNG 图像并按需还原。
Stars: 0 | Forks: 0
# steganogra-py
### 安装
```
git clone https://github.com/arfshl/steganogra-py.git
cd steganogra-py
pip install --no-cache-dir -r requirements.txt
```
### Docker
```
docker pull arfshl/steganogra-py:latest
```
### 简易用法
#### 将信息隐藏在图像中(编码):
```
python steganogra-py.py --encode -i input.png -m secret.txt -p "your_password" -o output.png
```
```
docker run --rm -it -v "$PWD:/work" arfshl/steganogra-py --encode -i /work/input.png -m /work/secret.txt -p "your_password" -o /work/output.png
```
#### 从图像中提取信息(解码):
```
python steganogra-py.py --decode -i stego.png -p "your_password"
```
```
docker run --rm -it -v "$PWD:/work" arfshl/steganogra-py --decode -i /work/stego.png -p "your_password"
```
```
Options:
--encode Enable encoding mode.
--decode Enable decoding mode.
-i, --image Path to the input PNG image.
-o, --output Path for the output image (default: _stego.png).
-m, --message Path to the text/secret file to hide (required for --encode).
-p, --password Password for Fernet encryption/decryption (optional).
```
请查看由该脚本创建的示例图像[这里。](https://github.com/arfshl/steganogra-py/tree/main/example)
献给:1004200828
标签:DNS 反向解析, HTTP工具, Python, 信息隐藏, 加密工具, 图像隐写术, 无后门, 请求拦截, 逆向工具