文章目录

  • binwalk安装
  • 使用快捷方式打开binwalk(方便使用
  • binwalk使用

Binwalk是用于搜索给定二进制镜像文件以获取嵌入的文件和代码的工具。 具体来说,它被设计用于识别嵌入固件镜像内的文件和代码。

Binwalk使用libmagic库,因此它与Unix文件实用程序创建的魔术签名兼容。 Binwalk还包括一个自定义魔术签名文件,其中包含常见的诸如压缩/存档文件,固件头,Linux内核,引导加载程序,文件系统等的固件映像中常见文件的改进魔数签名


binwalk安装

binwalkGitHub项目地址:https://github.com/ReFirmLabs/binwalk

下载完成后进入binwalk文件夹,然后运行:

python .\setup.py install


然后在Python的Scrtips目录里面可以看到生成了一个:binwalk文件

python binwalk [文件路径]

使用快捷方式打开binwalk(方便使用

)
为了方便使用,如果每次使用binwalk都要找这个Scripts目录,岂不是有点烦,所以在桌面创建一个cmd快捷方式指定到这个目录即可,这样每次使用就只需要在桌面点击binwalk的cmd命令终端即可

首先在桌面右键创建一个快捷方式,

目录填cmd的目录:

C:\Windows\System32\cmd.exe


然后点击Next下一步

名字就叫Binwalk
点击Finish完成后,右键属性,修改起始位置Start in为你的PythonScripts目录

然后就完成了,要使用binwalk的时候点击这个Binwalk就可以了

binwalk使用

D:\Python\Python3\Scripts>python binwalk -hBinwalk v2.2.0-dcc8e86
Craig Heffner, ReFirmLabs
https://github.com/ReFirmLabs/binwalkUsage: binwalk [OPTIONS] [FILE1] [FILE2] [FILE3] ...Signature Scan Options:-B, --signature              Scan target file(s) for common file signatures-R, --raw=<str>              Scan target file(s) for the specified sequence of bytes-A, --opcodes                Scan target file(s) for common executable opcode signatures-m, --magic=<file>           Specify a custom magic file to use-b, --dumb                   Disable smart signature keywords-I, --invalid                Show results marked as invalid-x, --exclude=<str>          Exclude results that match <str>-y, --include=<str>          Only show results that match <str>Extraction Options:-e, --extract                Automatically extract known file types-D, --dd=<type[:ext[:cmd]]>  Extract <type> signatures (regular expression), give the files an extension of <ext>, and execute <cmd>-M, --matryoshka             Recursively scan extracted files-d, --depth=<int>            Limit matryoshka recursion depth (default: 8 levels deep)-C, --directory=<str>        Extract files/folders to a custom directory (default: current working directory)-j, --size=<int>             Limit the size of each extracted file-n, --count=<int>            Limit the number of extracted files-r, --rm                     Delete carved files after extraction-z, --carve                  Carve data from files, but don't execute extraction utilities-V, --subdirs                Extract into sub-directories named by the offsetEntropy Options:-E, --entropy                Calculate file entropy-F, --fast                   Use faster, but less detailed, entropy analysis-J, --save                   Save plot as a PNG-Q, --nlegend                Omit the legend from the entropy plot graph-N, --nplot                  Do not generate an entropy plot graph-H, --high=<float>           Set the rising edge entropy trigger threshold (default: 0.95)-L, --low=<float>            Set the falling edge entropy trigger threshold (default: 0.85)Binary Diffing Options:-W, --hexdump                Perform a hexdump / diff of a file or files-G, --green                  Only show lines containing bytes that are the same among all files-i, --red                    Only show lines containing bytes that are different among all files-U, --blue                   Only show lines containing bytes that are different among some files-u, --similar                Only display lines that are the same between all files-w, --terse                  Diff all files, but only display a hex dump of the first fileRaw Compression Options:-X, --deflate                Scan for raw deflate compression streams-Z, --lzma                   Scan for raw LZMA compression streams-P, --partial                Perform a superficial, but faster, scan-S, --stop                   Stop after the first resultGeneral Options:-l, --length=<int>           Number of bytes to scan-o, --offset=<int>           Start scan at this file offset-O, --base=<int>             Add a base address to all printed offsets-K, --block=<int>            Set file block size-g, --swap=<int>             Reverse every n bytes before scanning-f, --log=<file>             Log results to file-c, --csv                    Log results to file in CSV format-t, --term                   Format output to fit the terminal window-q, --quiet                  Suppress output to stdout-v, --verbose                Enable verbose output-h, --help                   Show help output-a, --finclude=<str>         Only scan files whose names match this regex-p, --fexclude=<str>         Do not scan files whose names match this regex-s, --status=<int>           Enable the status server on the specified port

Windows中如何安装和使用binwalk相关推荐

  1. 在windows中python安装sit-packages路径位置 在Pycharm中导入opencv不能自动代码补全问题

    一.在windows中python安装sit-packages路径位置 C:\Users\shl\AppData\Local\Programs\Python\Python36\Lib\site-pac ...

  2. 在Windows中初次安装VS Code详细过程及初始化

    前言   嗨,大家好,近期有个基于VUE.js的前端的项目,在Idea中开发比较卡.所以就在本地的Windows环境中的电脑安装了VS Code.详细过程记录下来,供大家参考. VS Code介绍   ...

  3. Windows中PIL安装

    Windows中PIL安装 通过资源管理器用pip运行安装Pillow文件.(温馨提示:若你电脑还没有安装pip,你可以点击下面博主的关于windows系统安装pip详细教程文章,有则可不点击然后不看 ...

  4. 在windows中手动安装第三方模块

    python的强大功能也体现在第三方模块的安装使用,在linux环境可以用pip 来维护,在windows环境时,如果离线安装的话,需要手动下载后自己安装了. 环境:python 2.7 & ...

  5. python路径怎么找windows_如何查看 windows 中 Python安装路径

    答疑 qq:3081655843 公号: 天枢子python课堂 windows平台如果python已经安装好了的话,打开命令行窗口,输入python命令回车,能够进入到python的命令行界面. 这 ...

  6. php支持cs吗,关于composer、phpmd和phpcs于windows中的安装与使用方法

    Composer 项目地址 https://getcomposer.org 中文 http://docs.phpcomposer.com/ Composer是 PHP 的一个依赖管理工具.它允许你申明 ...

  7. windows中docker 安装和使用

    在windows 10 家庭版中安装 docker win10家庭版安装Docker for Windows: win10家庭版安装Docker for Windows - 草珊瑚 - 博客园 Win ...

  8. android ndk配置环境,在Windows中的安装Android NDK开发环境

    我学习NDK的时候,已经不再需要安装cygwin及gcc,make等编译工具,NDK包已经为你准备好一切 :-) 第一步 下载 NDK 登录 http://developer.android.com/ ...

  9. Windows中cuda安装教程及调试Error总结

    问题小结 最近学习并行计算,学习搭建cuda,没想到遇到很简单的问题却难了我好几天,现在已经解决了所以写个博客留个纪念. 分享下我觉得比较好的cuda安装教程,补充一下:先装vs再装cuda,cuda ...

最新文章

  1. 混合云关键技术能力和发展趋势
  2. iPhone7总不在服务区?免费网络电话可解通话烦恼
  3. 第8部分 管理磁盘存储
  4. .net下导致Session失效的一种情况:js教本中使用window.open和window.showModalDialog时需要注意...
  5. HTML用户登录页面里面login.js代码
  6. SQL*Plus 系统变量之32 - NEWP[AGE]
  7. like mybatis 用法_Mybaits中Like 的使用方式以及一些注意点
  8. Hadoop的eclipse1.1.2插件的安装和配置
  9. yii2 提供接口给java_Yii2 使用 RESTful 写API接口 实例
  10. Python中图像标题生成的注意机制实战教程
  11. mockito简单教程
  12. WebStorm和VSCode配置
  13. seo之html优化,SEO优化技巧之HTML优化
  14. php halt,thinkphp-调试halt
  15. 蓝牙音箱延迟测试软件,首发漫步者Lolli Pods使用感受及延迟测试
  16. shopee店铺运营重点是什么?最火的引流和出单攻略来了!
  17. <<视觉问答>>2021:Check It Again: Progressive Visual Question Answering via Visual Entailment
  18. uos系统桌面怎么没有计算机图标,UOS系统体验:启动、桌面和开始菜单
  19. 不懂英语怎么做亚马逊_亚马逊的回声秀可以做的一切其他回声都做不到
  20. 金蝶K3案例教程销售管理前台操作

热门文章

  1. Java第1~4章复习
  2. Visionpro介绍和下载安装视频教程
  3. SpringBoot电商后台开发项目总结(1)
  4. 全局监听空格键事件 踩坑
  5. 计时器(unity3d)
  6. thinkphp装修平台源码
  7. C语言电脑联想小新Air14可以,thinkbook14对比小新air14哪个更好
  8. 领衔安卓超越iPhone,vivo X20性能体验已获王者荣耀联赛测试认证
  9. 职中选什么专业好_读职高选什么专业好?
  10. 美团在本地生活终于迎来了真正对手