百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dirtycow

> 安全
开源

Dirty Cow 漏洞 - CVE-2016-5195

937 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Dirty Cow 漏洞 - CVE-2016-5195

dirtycow

This exploit uses the pokemon exploit of the dirtycow vulnerability as a base and automatically generates a new passwd line. The user will be prompted for the new password when the binary is run. The original /etc/passwd file is then backed up to /tmp/passwd.bak and overwrites the root account with the generated line. After running the exploit you should be able to login with the newly created user.

To use this exploit modify the user values according to your needs.

The default user being created is toor.

Original exploit (dirtycow's ptrace_pokedata "pokemon" method): https://github.com/dirtycow/dirtycow.github.io/blob/master/pokemon.c

Compile with:

gcc -pthread dirty.c -o dirty -lcrypt

Then run the newly create binary by either doing:

./dirty

or

 ./dirty my-new-password

Afterwards, you can either su toor or ssh toor@...

DON'T FORGET TO RESTORE YOUR /etc/passwd AFTER RUNNING THE EXPLOIT!

mv /tmp/passwd.bak /etc/passwd

Exploit adopted by Christian "firefart" Mehlmauer

https://firefart.at

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ccve-2016-5195dirtycowexploit

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.