当前位置:网站首页>LSB利器-zsteg
LSB利器-zsteg
2022-08-02 18:29:00 【OnlyForBetter】
一、Usage
# zsteg -h
Usage: zsteg [options] filename.png [param_string]
-c, --channels X channels (R/G/B/A) or any combination, comma separated
valid values: r,g,b,a,rg,bgr,rgba,r3g2b3,...
-l, --limit N limit bytes checked, 0 = no limit (default: 256)
-b, --bits N number of bits, single int value or '1,3,5' or range '1-8'
advanced: specify individual bits like '00001110' or '0x88'
--lsb least significant BIT comes first
--msb most significant BIT comes first
-P, --prime analyze/extract only prime bytes/pixels
--invert invert bits (XOR 0xff)
-a, --all try all known methods
-o, --order X pixel iteration order (default: 'auto')
valid values: ALL,xy,yx,XY,YX,xY,Xy,bY,...
-E, --extract NAME extract specified payload, NAME is like '1b,rgb,lsb'--[no-]file use 'file' command to detect data type (default: YES)
--no-strings disable ASCII strings finding (default: enabled)
-s, --strings X ASCII strings find mode: first, all, longest, none
(default: first)
-n, --min-str-len X minimum string length (default: 8)
--shift N prepend N zero bits-v, --verbose Run verbosely (can be used multiple times)
-q, --quiet Silent any warnings (can be used multiple times)
-C, --[no-]color Force (or disable) color output (default: auto)PARAMS SHORTCUT
zsteg fname.png 2b,b,lsb,xy ==> --bits 2 --channel b --lsb --order xy
二、Case
题目地址:链接:https://pan.baidu.com/s/1F5AnMvE0Y6FwmCWZWoHwCw
--来自百度网盘超级会员V3的分享
zsteg fileName -all 查看所有的lsb可能
发现有一个通道识别为PNG image,导出该通道图片,是一张二维码。
zsteg -e b1,rgb,lsb,xy flag11.png -> out.png
边栏推荐
猜你喜欢
随机推荐
What skills are the most practical for college students in communications?
MySQL主从搭建(问题大聚集,告别部署烦恼)
洛谷P2880 Balanced Lineup G
mongodb的游标
LeetCode 2349. 设计数字容器系统(SortedSet)
WIFi 开关控制实现-ESP8266 物联网 android studio arduino QT多线程服务器
实例034:调用函数
深入理解IO流(第一篇)
浅谈混迹力扣和codeforces上的几个月
Openharmony - 基于ArkUI(TS)开发颜色选择器
NIO基础之三大组件
Open Source Summer | [Cloud Native] DevOps (5): Integrating Harbor
千万级别的表分页查询非常慢,怎么办?
Mobile Banking Experience Test: How to Get the Real User Experience
读书笔记之《你想过怎样的一生?》
下载mysql的源码包
数据治理:数据集成和应用模式的演进
企业云成本管控,你真的做对了吗?
[Dynamic Programming Special Training] Basics
LeetCode 2333. 最小差值平方和(贪心)