parent = get_shell.host_computer.File("/home/") lib = get_shell.host_computer.File("/lib/") libl = false libf = lib.get_files() for file in libf if file.name == "crypto.so" and libl == false then cryptools = include_lib("/lib/crypto.so") libl = true end if end for if libl == false then libf = get_shell.host_computer.File(current_path()).get_files() for file in libf if file.name == "crypto.so" then libl = true cryptools = include_lib(current_path + "/crypto.so") end if end for end if if libl == false then exit("There is a error while finding crypto.so (need to be to /lib or current path)") end if GetPassword = function(userPass) if userPass.len != 2 then exit("decipher: wrong syntax") password = cryptools.decipher(userPass[1]) return password end function if parent.is_folder then files = parent.get_folders() for file in files if file.name != "guest" then p = get_shell.host_computer.File("/home/" + file.name + "/Config/Bank.txt") print p.get_content() pass = p.get_content().split(":") final = GetPassword(pass) print("Found pass of user : " + pass[0] + "\n") print(" " + final + " ") print("\n") end if end for end if