The cat invocation here is completely irrelevant?! The issue is access to random network resources and access to the shell and combining both.