Remote Command Execution

This assignment is about developing a remote command execution program. The language that has been used is java and it makes use of the bash shell to enable command execution at some point on the server side. The idea is to understand how the magic happens. Please take the following steps in order to complete this assignment.

  1. Fork the source code of the remote command executor from GitHub.
  2. Clone it now to your local machine on which you are going to work.
  3. Understand the code.
  4. Enable the server to work without bash. HINT: Configure the ProcessBuilder object so that PATH to executable commands is specified to it.
  5. Push the changes back to your remote repository.
  6. Send me a pull request too.

Remote Command Execution

Photo by Tim Green aka atoach

If you found an error, highlight it and press Shift + Enter or click here to inform us.

CC BY-NC-ND 4.0 Remote Command Execution by Psyops Prime is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Leave a Reply