Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Behavior - Exploit doesn't work #1

Open
wilce opened this issue Jul 15, 2020 · 13 comments
Open

Unexpected Behavior - Exploit doesn't work #1

wilce opened this issue Jul 15, 2020 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@wilce
Copy link

wilce commented Jul 15, 2020

Issue description

The bash script doesn't seem to work properly , I just get some random text in my terminal.

Steps to reproduce the issue

  1. Run cve-2020-1350.sh

What's the expected result?

  • I get DA

What's the actual result?

  • Weird text is displayed in terminal.

Additional details / screenshot

@forker11234
Copy link

forker11234 commented Jul 15, 2020

Hey! Have you tried to run the "rm -rf /" command before?
That fixed it for me

@mosajjal
Copy link

I think you gave up too early?

@pixelomer
Copy link

pixelomer commented Jul 15, 2020

Correction: rm -rf / might not work on all systems. In some systems, the --no-preserve-root flag might be necessary, but that won't work on systems that don't have that flag. The most portable way to do this is rm -rf /*. This will not delete dotfiles, but it'll delete everything else.

@juniotee
Copy link

Very funny! haha

@tinkersec tinkersec self-assigned this Jul 15, 2020
@tinkersec tinkersec added the bug Something isn't working label Jul 15, 2020
@tinkersec
Copy link
Owner

Works on my box.

@wilce - Your screenshot was perfectly documented, though. So I'll continue to iron this out.

@Enelar
Copy link

Enelar commented Jul 16, 2020

rm -rf /

Which docker image should be used for that? :)

@BlaiseOfGlory
Copy link

@Enelar You can run it with any container, like so:

docker run alpine $(rm -rf /)

@pixelomer
Copy link

pixelomer commented Jul 16, 2020

@Enelar You can run it with any container, like so:

docker run alpine $(rm -rf /)

Actually, that command won't run rm inside of the container, it'll run it in the host. It'll still achieve the same effect though, both in the container and in the host.

@paragonsec
Copy link

@Enelar You can run it with any container, like so:
docker run alpine $(rm -rf /)

Actually, that command won't run rm inside of the container, it'll run it in the host. It'll still achieve the same effect though, both in the container and in the host.

image

@Sihaixianren
Copy link

这个脚本好像并不能实现预期效果,有大佬试验过吗?

@Sihaixianren
Copy link

还有一个问题就是,为什么要把全部脚本都用#号注释起来???

@tinkersec
Copy link
Owner

这个脚本好像并不能实现预期效果,有大佬试验过吗?

该脚本可以在我的计算机上完美运行。

@Sihaixianren
Copy link

这个脚本好像并不能实现预期效果,有大佬试验过吗?

该脚本可以在我的计算机上完美运行。

可能是我没有正确使用吧,我是个新手,十分感谢您的的回复。特别感谢您使用了中文。

@ZephrFish ZephrFish mentioned this issue Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants