<section style="font-size: 15.5px;text-align: left;color: black;line-height: 1.8;letter-spacing: 1.2px;font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;"><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.5714285714285714" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_png/picQHPorLh5A7YWx4xqwSHReKScEbKaty2MzQepYcr0afbQwVojr3wSYcJUGXW4m6t8Qr5LF8NoO77w31pbQZ6g/640?wx_fmt=png" data-type="png" data-w="231" style="" src="https://upload-images.jianshu.io/upload_images/25000004-0e5177d6c0c4ec9d.png"></p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">今天来推荐一个关于密码的项目。</p><h2 style="line-height: inherit;border-bottom: 2px;font-size: 1.4em;text-align: center;color: rgb(255, 255, 255);font-weight: bold;display: table;margin: 4em auto 2em;padding-right: 0.2em;padding-left: 0.2em;background: rgb(15, 76, 129);"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;text-align: left;">Hashcat介绍</span></h2><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">Hashcat 是一款用于破解密码的工具,据说是世界上最快最高级的密码破解工具。(据说)</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">支持 350 多种哈希算法、MD5、SHA 等系列的密码破解,同时也支持 Linux、Mac、Windows 平台。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">目前github已经有 <code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">13.6k star</code> 了</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">工具地址:<span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://hashcat.net</span></p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">项目地址:<span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://github.com/hashcat/hashcat</span></p><h2 style="line-height: inherit;border-bottom: 2px;font-size: 1.4em;text-align: center;color: rgb(255, 255, 255);font-weight: bold;display: table;margin: 4em auto 2em;padding-right: 0.2em;padding-left: 0.2em;background: rgb(15, 76, 129);"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;text-align: left;">安装</span></h2><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">Mac</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">Mac 用户直接使用 brew 安装即可</p><pre style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;text-align: left;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;text-align: left;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">brew install hashcat</code></pre><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">Linux</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">对于 Debain 的 Linux,比如 Kali、Ubuntu 可以直接使用 apt 进行安装</p><pre style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;text-align: left;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;text-align: left;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">apt install hashcat</code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">或者下载官方二进制文件进行安装</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">在 <span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://github.com/hashcat/hashcat/releases </span>里下载最新版压缩包,这里以 <code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">6.2.5 版本</code>为例</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">tar zxvf hashcat-6.2.5.7z
<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">cd</span> hashcat-6.2.5
chmod +x hashcat.bin
./hashcat.bin</code></pre><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">Windows</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">在官网或者github里下载最新版压缩包,解压后可以看到 hashcat.exe</p><h2 style="line-height: inherit;border-bottom: 2px;font-size: 1.4em;text-align: center;color: rgb(255, 255, 255);font-weight: bold;display: table;margin: 4em auto 2em;padding-right: 0.2em;padding-left: 0.2em;background: rgb(15, 76, 129);"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;text-align: left;">使用</span></h2><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">使用 hashcat 的命令为:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat [options]... <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span>|hashfile|hccapxfile [dictionary|mask|directory]...
如:
hashcat64.exe -m 1000 329153f560eb329c0e1deea55e88a1e9 pass.txt --force</code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">常用参数:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">-r 使用自定义破解规则
-o 指定破解成功后的 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 及所对应的明文密码的存放位置
-m 指定要破解的 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 类型,如果不指定类型,则默认是 MD5
-a 指定要使用的破解模式,其值参考后面对参数。“-a 0” 字典攻击,“-a 1” 组合攻击;“-a 3” 掩码攻击
-D 指定 opencl 的设备类型
--show 显示已经破解的 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 及该 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 所对应的明文
--force 忽略破解过程中的警告信息,跑单条 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 可能需要加上此选项
--remove 删除已被破解成功的 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span>
--username 忽略 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 文件中的指定的用户名,在破解 linux 系统用户密码 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(248, 35, 117);overflow-wrap: inherit !important;word-break: inherit !important;">hash</span> 可能会用到
--increment 启用增量破解模式,你可以利用此模式让 hashcat 在指定的密码长度范围内执行破解过程
--increment-min 密码最小长度,后面直接等于一个整数即可,配置 increment 模式一起使用
--increment-max 密码最大长度,同上
--outfile-format 指定破解结果的输出格式 id ,默认是 3
--self-test-disable 关闭启动自检</code></pre><h2 style="line-height: inherit;border-bottom: 2px;font-size: 1.4em;text-align: center;color: rgb(255, 255, 255);font-weight: bold;display: table;margin: 4em auto 2em;padding-right: 0.2em;padding-left: 0.2em;background: rgb(15, 76, 129);"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;text-align: left;">示例</span></h2><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">MD5</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">密码为 8 位数字:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat -a <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">3</span> --force d54d1702ad0f8326224b817c796763c9 <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?d</span>?d?d?d?d?d?d?d</code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">密码为 4 位小写字母+数字:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat -a <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">3</span> --force <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">4575621</span>b0d88c303998e63fc74d165b<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">0</span> -<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span> <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?l</span>?d <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span></code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">密码为 1-4 位大写字母+数字:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat -a <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">3</span> --force <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">8</span>fb5a3e7338ce951971d69be27fc521<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">0</span> -<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span> <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?u</span>?d <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span> --increment --increment-min <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span> --increment-max <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">4</span></code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">指定特定字符集:123456abcdf!@+- 进行破解:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat -a <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">3</span> -<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span> <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">123456</span>abcdf!@+- <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">8</span>b78ba5089b11326290bc15cf0b9a07d <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">?1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span>?<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">1</span></code></pre><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">RAR、zip 压缩密码</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">首先获取 rar 文件的 hash 值,我们可以使用另一款哈希破解工具<code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">johntheripper</code>将 rar 文件里的 hash 提取出来。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">rar2john 下载地址:<span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">http://openwall.info/wiki/_media/john/johntheripper-v1.8.0.12-jumbo-1-bleeding-e6214ceab-2018-02-07-win-x64.7z</span></p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">这个工具能获取各种各样文件的hash值。</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;"><span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(128, 128, 128);overflow-wrap: inherit !important;word-break: inherit !important;"># 获取 rar 文件 hash</span>
rar2john.exe text.rar
<span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(128, 128, 128);overflow-wrap: inherit !important;word-break: inherit !important;"># 获取 rar 文件 hash</span>
zip2john.exe text.zip</code></pre><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">office 密码</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">和 rar 与 zip 破解过程一样,我们需要先提取 office 文件的哈希值,这里可以上面说的 <code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">johntheripper</code> 工具进行获取,目录下载有一个 <code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">office2john.py</code> </p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;"><span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(128, 128, 128);overflow-wrap: inherit !important;word-break: inherit !important;"># 获取 office 文件 hash</span>
python office2john.py text.docx</code></pre><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">破解:</p><pre style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;"><code style="line-height: 20px;letter-spacing: 0px;font-family: "Operator Mono", Consolas, Monaco, Menlo, monospace;font-size: 13px;border-radius: 5px;margin: 10px -1px;color: rgb(169, 183, 198);background: rgb(40, 43, 46);padding: 0.5em;overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;">hashcat -a <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">3</span> -m <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(174, 135, 250);overflow-wrap: inherit !important;word-break: inherit !important;">9600</span> <span style="font-size: inherit;line-height: inherit;margin: 1px;color: rgb(238, 220, 112);overflow-wrap: inherit !important;word-break: inherit !important;">'201310000025616*cd8856416b1e14'</span> --force ?d?d?d?d?d?d</code></pre><blockquote style="line-height: inherit;word-spacing: 1px;letter-spacing: 1px;padding: 10px 15px 10px 1rem;font-size: 14px;color: rgb(129, 145, 152);border-left-width: 6px;border-left-color: rgb(15, 76, 129);background: rgba(27, 31, 35, 0.05);overflow: auto;overflow-wrap: normal;word-break: normal;"><p style="font-size: inherit;color: inherit;line-height: inherit;">9600表示2013版的doc,更多参数可以在官网查到</p></blockquote><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="0.4538419016030956" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_png/picQHPorLh5A7YWx4xqwSHReKScEbKatyNLQccsEjkVd5YcBpn9mqoe5uxN3UAYticO52ibic6a1FUP3fjOPKb3aicA/640?wx_fmt=png" data-type="png" data-w="1809" style="" src="https://upload-images.jianshu.io/upload_images/25000004-48ea5564e4cbe5f6.png"></p><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"></h3><h3 style="line-height: inherit;margin-top: 1.5em;margin-bottom: 1.5em;font-weight: bold;color: rgb(15, 76, 129);border-bottom: 2px;font-size: 1.3em;"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;">WIFI 密码</span></h3><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">破解 WIFI 密码比较麻烦,需要抓取WiFi的握手包,抓取的条件是需要在监听时刚好有设备连接了该 WIFI。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">所有需要 将 WIFI 的设备踢下去,然后设备就会自动连接该 WIFI。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">这里比较复杂,就不演示了,可以参考:<span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://www.jianshu.com/p/52d1ed684020</span></p><h2 style="line-height: inherit;border-bottom: 2px;font-size: 1.4em;text-align: center;color: rgb(255, 255, 255);font-weight: bold;display: table;margin: 4em auto 2em;padding-right: 0.2em;padding-left: 0.2em;background: rgb(15, 76, 129);"><span style="font-size: inherit;color: inherit;line-height: inherit;margin: 1px;text-align: left;">总结</span></h2><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">我在使用的时候都是设置一些简单的密码进行演示,比如<code style="line-height: inherit;font-size: 14.5px;overflow-wrap: break-word;padding-right: 4px;padding-left: 4px;border-radius: 4px;margin: -1px 2px;color: rgb(54, 130, 188);background: rgb(255, 243, 240);font-family: "Roboto Mono", "Source Sans Pro", "Microsoft YaHei", 微软雅黑 !important;">123456</code>,实际情况可能遇到各种类型的密码,在密码长度、类型都未知的情况下,破解的难度是十分大的,甚至对电脑的性能要求都十分高。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">其实密码破解看似高深,其实并不是,常用的方法就是<strong style="line-height: inherit;margin: 1px;font-size: 16px;color: rgb(54, 130, 188);">密码字典破解</strong>,比如 <span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://weakpass.com/download</span> 上面有很多常用的弱密码;</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">如果现有字典没能跑出密码,则只能使用<strong style="line-height: inherit;margin: 1px;font-size: 16px;color: rgb(54, 130, 188);">暴力破解</strong>或者<strong style="line-height: inherit;margin: 1px;font-size: 16px;color: rgb(54, 130, 188);">掩码组合暴力破解</strong>的方式,这将是十分困难的。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">hashCat还是不适合新手玩,而且也不要抱太大希望,毕竟密码学没这么简单,如果hasCcat能破解大多数密码…..那还要密码干啥。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;text-align: left;letter-spacing: 1.2px;font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;">但是现在大家都喜欢使用简单的密码,比如WiFi等等,使用密码字典还是有几率会成功的。</p><p style="font-size: inherit;color: inherit;line-height: inherit;margin: 0em 1px 1.2em;">还是直接使用CMD5方便,在线破解:<span style="text-decoration: underline;font-size: 14px;color: rgb(255, 104, 39);">https://www.cmd5.com</span> ,如果CMD5都无法破解,还是放弃吧。</p></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzAxNTc4ODYzOQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/picQHPorLh5De25MNLsOb6WltMyr0Qexfgg6xn3uia7vwogmzBeSxqhcTOniasZ8ibAqPWdVicJK6bfWbsGWPKzUSpQ/0?wx_fmt=png" data-nickname="HelloCoder" data-alias="" data-signature="Java | 实战项目 | 开发工具 | Github神器" data-from="0"></mpprofile></section><h2 data-tool="mdnice编辑器" style="margin: 40px 8px 20px;font-weight: bold;font-size: 1.3em;white-space: normal;max-width: 100%;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, "PingFang SC", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;border-bottom: 2px solid rgb(6, 174, 86);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 14px;color: rgb(178, 178, 178);box-sizing: border-box !important;overflow-wrap: break-word !important;">--end--</span></h2><p style="white-space: normal;text-align: center;margin-bottom: 0em;"><img class="rich_pages js_insertlocalimg wxw-img" data-cropselx1="0" data-cropselx2="440" data-cropsely1="0" data-cropsely2="153" data-ratio="0.3486547085201794" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_png/picQHPorLh5CvQPPQfGR7ibh8ODbbscxlGPTlqvMHUrEEvdOiaIbnjybYlUbLgvTlhcbgtfkCOu0QibIJfYay4uUTQ/640?wx_fmt=png" data-type="png" data-w="1784" style="height: 153px;width: 440px;" src="https://upload-images.jianshu.io/upload_images/25000004-ff4b8fc171b8f1ed.png"></p><blockquote><p>本文使用 <a href="https://www.jianshu.com/p/5709df6fb58d" class="internal">文章同步助手</a> 同步</p></blockquote>
据说是“世界上最快”的密码恢复工具
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 一、准备工作 1、工具:hashcat 2、显卡配置:AMD FirePro D700 6G *2张 3、策略优先...
- 硬件环境:主机: TYAN FT77D-B7109CPU: Intel Xeon Scalable Process...
- 1、介绍 Hashcat 是一款用于破解密码的工具,据说是世界上最快最高级的密码破解工具,支持 LM 哈希、MD5...