ZipSteganograPy
1.0.0
이 도구는 이미지에 Zip 아카이브를 숨 깁니다.
이 도구는 안티 바이러스 및 방화벽 스캐닝을 우회하는 데 유용합니다.
이 패키지는 다음과 같습니다.
pip install ZipSteganograPy # Hide a ZIP archive in an image:
python3 ZipSteganograPy.py -z archive.zip -o stegano -i image.png
python3 ZipSteganograPy.pyz -z archive.zip -o stegano -i image.jpg
# Create a ZIP archive (with 3 text files) and hide it in an image:
python3 -m ZipSteganograPy -f file1.txt file2.txt file3.txt -i image.jpg
ZipSteganograPy -f file1.txt file2.txt file3.txt -i image.png
# Easily extract the hidden archive using python3 and its standard library:
python3 -m zipfile -l stegano.png # list files
python3 -m zipfile -e stegano.jpg output/ # extract
# Easily extract the hidden archive using unzip package:
unzip stegano.jpg -l # list files
unzip stegano.jpg -d output/ # extract이 예제는 이미지에서 파이썬 코드를로드하고 디스크에 쓰지 않고 실행합니다.
이 방법 우회 :
from zipfile import ZipFile
with ZipFile ( "stegano.png" , "r" ) as f :
for filename in f . namelist ():
exec ( f . read ( filename ). decode ())컴퓨터에서 :
ZipSteganograPy -f hello.py -i ZipSteganograPy_small.png
# ZipSteganograPy Copyright (C) 2022 Maurice Lambert
# This program comes with ABSOLUTELY NO WARRANTY.
# This is free software, and you are welcome to redistribute it
# under certain conditions.
# New image 'stegano.png' created from 'ZipSteganograPy_small.png' with hidden ZIP archive. 대상에 stegano.png 파일을 업로드합니다 (ZIP 파일은 파일이 올바른 이미지로 감지되므로 방화벽에서 알리지가되지 않을 수 있습니다).
대상에서 (이미지에서 압축을 풀고 디스크에 쓰지 않고 Python 코드를 실행) :
from zipfile import ZipFile
with ZipFile ( "stegano.png" , "r" ) as f :
for filename in f . namelist ():
exec ( f . read ( filename ). decode ()) import zipfile ; f = zipfile . ZipFile ( "stegano.png" , "r" );[ exec ( f . read ( filename ). decode ()) for filename in f . namelist ()]python3 -c ' import zipfile;f=zipfile.ZipFile("stegano.png", "r");[exec(f.read(filename).decode()) for filename in f.namelist()] ' GPL, 버전 3에 따라 라이센스가 부여되었습니다.