Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Syntax Error in Patching 2


ghost's Avatar
0 0

I don't really need help, but when I first tried this mission, I thought the exploit was the syntax error on line 10 (the no semi-colon after echo $end;). I thought it is just worth mentioning.


ghost's Avatar
0 0

In this case, I don't think that is an error. A semicolon is a separator. These two code snippets would be the same:

}```
```markupecho $end}```

On another note, the PHP closing tag, ?> , implies a semicolon (not to say that it matters in this case).