how can i bypass a if instruction by injecting a variable?

Use -o instead of ||, you want test to interpret the value of the variable, not the shell.

./ '1 -o 1 = 1'

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top