learning - slowly, but learning
This commit is contained in:
@@ -1,26 +1,46 @@
|
||||
homePW = #envar homePW
|
||||
doomKey = #envar doomKey
|
||||
|
||||
g = get_custom_object
|
||||
|
||||
doomPath = "/root/doom"
|
||||
myShell = get_shell("root", homePW)
|
||||
|
||||
if not myShell then print("Unable to get root shell\n")
|
||||
/*
|
||||
g.count = 0
|
||||
|
||||
while g.count < 2
|
||||
myShell.launch("/usr/bin/Terminal.exe", "doom")
|
||||
print("Launched terminal #" + g.count + "\n")
|
||||
g.count += 1
|
||||
wait 2
|
||||
end while
|
||||
*/
|
||||
|
||||
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
|
||||
|
||||
i = 0
|
||||
while i < 4
|
||||
myShell.start_terminal
|
||||
while (i < 4)
|
||||
myShell.launch("usr/bin/Terminal.exe", "some terminal launch arg")
|
||||
wait 2
|
||||
i = i + 1
|
||||
i += 1
|
||||
end while
|
||||
i = 0
|
||||
|
||||
// Debug for my own curiosity
|
||||
somePath = launch_path
|
||||
print("\n<b> Debug log: <b>\n Parent path: " + parent_path(somePath))
|
||||
print("\n<b> Debug log: <b>\n Parent path: " + parent_path(somePath) + "\n\n")
|
||||
|
||||
|
||||
myShell.launch("/usr/bin/Chat.exe")
|
||||
// uncomment for MP
|
||||
//myShell.launch("/usr/bin/Chat.exe")
|
||||
myShell.launch("/usr/bin/AdminMonitor.exe")
|
||||
wait 2
|
||||
myShell.launch("/usr/bin/FileExplorer.exe")
|
||||
wait 2
|
||||
myShell.launch("/usr/bin/Mail.exe")
|
||||
wait 2
|
||||
myShell.launch("/usr/bin/Notepad.exe")
|
||||
|
||||
Reference in New Issue
Block a user