Posted 18 March 2012 - 11:57 AM
When I run my code the terminal says:
My code just calls loadsting on a string I got from string.dump
the only changes I made to the string.dump output was changing a / to a // and a new line to a /n
you can get the un-edited output of the string.dump by running the code bellow, it will save to the file "testC" without the quotes
I ran the code through this, just replace "code" (w/out quotes) with the output of the above code
and do the 2 modifications I mentioned
and here is the code put into byte form with pipes("|") as seperators, I can't figure out how to put it into a regular form though
parallel:22:Java heap space
Press any key to continue
My code can't be pasted, so you can get it here:http://www.mediafire...qagk4z4x6va1nt2My code just calls loadsting on a string I got from string.dump
the only changes I made to the string.dump output was changing a / to a // and a new line to a /n
you can get the un-edited output of the string.dump by running the code bellow, it will save to the file "testC" without the quotes
function encode(str)
local code=""
for i=1,#str do
local num=tostring(str:byte(i))
if #num<3 then
num=string.rep("0",3-#num)..num
end
code=code..num
end
return code
end
local file=fs.open("testC","w")
file.write(string.dump(encode))
file.close()
I ran the code through this, just replace "code" (w/out quotes) with the output of the above code
and do the 2 modifications I mentioned
encode=loadstring("code")
term.write(encode("admin"))
and here is the code put into byte form with pipes("|") as seperators, I can't figure out how to put it into a regular form though
101|110|99|111|100|101|61|108|111|97|100|115|116|114|105|110|103|40|34|27|76|117|97|81|0|0|4|4|4|8|0|0|0|0|0|0|0|0|1|0|0|0|11|0|1|0|92|110|0|0|0|27|0|0|0|65|0|0|64|64|0|0|63|0|65|1|4|32|0|0|69|0|64|75|2|2|64|1|1|63|0|92|92|3|0|1|63|64|24|1|22|0|1|65|63|65|63|1|63|3|0|2|84|63|66|77|1|1|63|0|2|0|3|63|63|1|3|0|2|0|3|63|85|127|63|1|0|0|94|0|0|30|0|0|0|8|4|0|0|0|1|0|3|63|0|0|0|0|0|4|0|0|0|9|116|111|115|116|114|105|110|103|0|4|0|0|0|5|98|121|116|101|0|3|64|8|0|0|0|0|0|0|4|0|0|0|7|115|116|114|105|110|103|0|4|0|0|0|4|114|101|112|0|4|0|0|0|2|48|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|34|41|10|116|101|114|109|46|119|114|105|116|101|40|101|110|99|111|100|101|40|34|97|100|109|105|110|34|41|41|