msva / lua-htmlparser

An HTML parser for lua.
234 stars 44 forks source link

Unable to obtain parameters #62

Closed weaweawe01 closed 1 year ago

weaweawe01 commented 1 year ago

this is html info

<img src/onerror=prompt(8)>

get attributes info

------------------------------------
Lua version: LuaJIT 2.0.4
------------------------------------

img
table: 0x41accc08

{"src":""}

Unable to obtain the parameter 'oneerror'

payloads

<svg/onload=prompt(8)>
<image src/onerror=prompt(8)>

refer to

weaweawe01 commented 1 year ago

image

Need to change %s+ to [%s+|/]

image