-
Notifications
You must be signed in to change notification settings - Fork 217
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
Got stuck rewriting shellcode #44
Comments
Why do you want edit the shell code?
|
I want to rewrite it, because I'm dealing with already hacked device, and standard way is not working. Because the device is accessible by port 80 and reports the same (vulnerable) RouterOS version, my idea is to rewrite the shellcode to run just system utility, not bash. Possibly, the attackers made something to bash |
So edit this line
with
Edit line
with
Now you can use it:
I didn't test this mods, but i think they will work |
Thanks, I thought about this, but this way I'll get execve("/nova/bin/info", ["/nova/bin/info", " ", "user_command"]), is it normal to repeat executable in parameter array? |
...yes
|
Oh, thank you! |
Could you help with editing the shellcode? I want to send just /nova/bin/info, bypassing bash shell
The text was updated successfully, but these errors were encountered: