如何将sniftan.exe添加到windows右键菜单

sniftan简介 FGT sniffer 6格式的抓包,通过sniftran转换成pcapng格式后,可以显示接口/方向信息,下载地址‣,windows使用sniftran.exe这个文件

Untitled

Untitled

打开注册表 win键 + R 打开运行窗口,输入 regedit

Untitled

修改注册表

# 注册表路径
计算机\\HKEY_CLASSES_ROOT\\*\\shell

# 添加节点
【右键】shell节点 -> 新建(N) -> 项(K) -> 【命名】sniftran

Untitled

【右键】sniftran -> 新建(N) -> 项(K) -> 【命名】command
修改command默认的数据为:**C:\\sniftran\\Binaries\\Windows\\sniftran.exe** %1

**注意:C:\\sniftran\\Binaries\\Windows\\sniftran.exe是sniftran.exe文件所在的路径,根据自己文件的路劲修改**

Untitled

效果 右击sniftran,packet1.log正常转换

Untitled

对文件夹添加 对文件夹添加的方式,与对文件添加方式一致,只是注册表的路径有变

# 对文件夹添加注册表地址:
计算机\\HKEY_CLASSES_ROOT\\Directory\\shell