06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · Guided Hacking · · 0:36 runtime

How I Got Root Access via Lua Exploit

In the wiki Lua
Transcript 103 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

In particular, the output and write functions can be used in conjunction to achieve an arbitrary file write exploit. Let's break this down a bit. I io.output specifies where a write operation takes place. By default, io.righthello will write hello to the terminal or std out. However, we can change the location by supplying IO output with a file name. If the file does not exist, this file will be created and all subsequent calls to write will be written to the corresponding file. This bypasses the need for us to use the other blacklisted IO functions related to reading and writing files.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 536 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks