App - Script

Thursday 15 March 2018, 10:23  #1
App - Script: Restricted shell
Ale
Ale
  • 2 posts

Hi all,

Actually I’m stuck at step 9 to 10, when I have to use ssh to advance.
The policy does not allow any connection, not even to localhost, so ssh always terminates before doing anything useful.
I’ve looked into the sources, but I’ didn’t find anything that could lead to exec a command before printing the usage or giving ’connection refused’.
I’ve thought about creating a socket with a program simulating a master control socket, for attaching a ssh client: at least I’d have bypassed the outbound connection limit..
Anyone has an hint on that?

Thanks

Friday 16 March 2018, 13:32  #2
App - Script: Restricted shell
Ale
Ale
  • 2 posts

Ok, nevermind, I’ve managed to complete the challenge.