-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
SHC binary having problems with jailed user #141
Comments
I solved this problem by using -r flag. But it nothing good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, I am trying to use an
shc
binary for a chrooted user on my system and I am running into an issue that has had me stumped for several days.Whenever I run the compiled binary as a non-jailed user, I have no problems at all and it does what it is supposed to do. But when I run the script as the jailed user, it just outputs gibberish to the terminal and doesn't run the code inside the script. I have
chmod
'd the binaries to make them executable andchown
'd them so the jailed user definitely has the permission to execute the script and the commands contained within.When I run the commands within the compiled shell script manually, the user can do so without issues. But once it is converted into a binary the problem arises. Below is a simplified example of what I am attempting to accomplish:
The script I run to generate the binaries from the shell scripts:
Any assistance in resolving this would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: