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

Redirect stdio of exec #19

Open
kpcyrd opened this issue Jan 26, 2018 · 1 comment
Open

Redirect stdio of exec #19

kpcyrd opened this issue Jan 26, 2018 · 1 comment

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Jan 26, 2018

If you have replaced the regular interface ({rev,ipc}shell), the stdio of processes started with exec is still attached to the original process, so you can't get the output when starting processes.

You can work around this by with ncat:

exec ncat -c sh\ -i\ 2>&1 -U /run/foo123.sock

This shouldn't be needed though.

@kpcyrd
Copy link
Owner Author

kpcyrd commented Mar 5, 2018

This was resolved for ipcshell, the problem remains for revshell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant