You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason why this works "ping -c 4 " works, but "ping -c 2 ; ping -c 2 " doesn't work when generating payloads? I can't seem to get anything that isn't a single command to work (no output redirection, not multiple commands, etc.
The text was updated successfully, but these errors were encountered:
The short answer is that Runtime.exec() doesn't get passed through the shell and therefore doesn't support shell features/syntax such as ;, &, |, >, <. The long answer is that it's complicated and you'll probably want to read this for more info.
Is there a reason why this works "ping -c 4 " works, but "ping -c 2 ; ping -c 2 " doesn't work when generating payloads? I can't seem to get anything that isn't a single command to work (no output redirection, not multiple commands, etc.
The text was updated successfully, but these errors were encountered: