25 lines
817 B
Lua
25 lines
817 B
Lua
homePW = #envar homePW
|
|
doomKey = #envar doomKey
|
|
|
|
doomPath = "/root/doom"
|
|
myShell = get_shell("root", homePW)
|
|
|
|
if not myShell then
|
|
exit("<color=red><b>Not able to get root shell...\n</b></color>")
|
|
else
|
|
print("<color=green><b>Root shell obtained</b></color>")
|
|
end if
|
|
|
|
filePath = "usr/bin/"
|
|
extension = ".exe"
|
|
|
|
launchSequence = ["Terminal", "Terminal", "Terminal", "Terminal", "AdminMonitor", "FileExplorer", "Mail", "Notepad", "Chat"]
|
|
argSequence = ["", "doom", "doom", "doom", "", "", "", "", ""]
|
|
|
|
if launchSequence.len != argSequence.len then exit(user_input("<center><b><color=red>Launch and args arent the same length...\n</color>Press enter to exit...</b></center>"))
|
|
|
|
for lines in launchSequence
|
|
myShell.launch(filePath + launchSequence[line] + extension, argSequence[line])
|
|
wait 2
|
|
end for
|
|
exit() |