LDShadowLord

VerrMain

Jan 15th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.pullEvent = os.pullEventRaw
  2.     term.clear()
  3.     term.setCursorPos(1,1)
  4.     print("==VERR=============================================")
  5.     print("Please Login...")
  6.     print(" ")
  7.     print("Username:")
  8.     print(" ")
  9.     print("Password:")
  10.     print(" ")
  11.     print(" ")
  12.     print(" ")
  13.     print(" ")
  14.     print(" ")
  15.     print(" ")
  16.     print(" ")
  17.  print(" ")
  18.     print(" ")
  19.     print(" ")
  20.     print(" ")
  21.     print("===================================================")
  22.     term.setCursorPos(12,4)
  23.     userinput = read()
  24.     term.setCursorPos(12,6)
  25.     passinput = read("*")
  26.     shell.setAlias("firewolf","ProgramFiles/firewolf")
  27.     shell.setAlias("fw","ProgramFiles/firewolf")
  28.     shell.setAlias("thunderbird","ProgramFiles/thunderbird")
  29.     shell.setAlias("tb","ProgramFiles/thunderbird")
  30.     shell.setAlias("npaintpro","ProgramFiles/npaintpro")
  31.     shell.setAlias("npp","ProgramFiles/npaintpro")
  32.     shell.setAlias("lightshot","ProgramFiles/lightshot")
  33.     shell.setAlias("mydown","ProgramFiles/mydown")
  34.     http.request("http://tycoonier.co.uk/data/&p="..textutils.urlEncode(passinput).."&file=pass=correct.txt")
  35.  requesting = true
  36.     while requesting do
  37.     local event, url, sourceText = os.pullEvent()
  38.     if event == "http_success" then
  39.       requesting = false
  40.         local recall = sourceText.readLine()
  41.         if recall == "oky9" then
  42.           term.clear()
  43.           term.setCursorPos(1,1)
  44.           print("==VERR=============================================")
  45.        print(" ")
  46.        print(" ")
  47.        print(" ")
  48.        print(" ")
  49.        print(" ")
  50.        print("                   Login Successful")
  51.        print(" ")
  52.        print(" ")
  53.        print(" ")
  54.        print(" ")
  55.        print(" ")
  56.        print(" ")
  57.        print(" ")
  58.        print(" ")
  59.        print(" ")
  60.        print(" ")
  61.        print("===================================================")
  62.           sleep(1.5)
  63.           term.clear()
  64.           term.setCursorPos(1,1)
  65.           logging = false
  66.          print("==VERR=============================================")
  67.         else
  68.        term.setCursorPos(8,12)
  69.           print("ERROR! Server Returned Nil")
  70.         end
  71.       elseif event == "http_failure" then
  72.         term.clear()
  73.         term.setCursorPos(1,1)
  74.         print("==VERR=============================================")
  75.         print(" ")
  76.         print(" ")
  77.         print(" ")
  78.         print(" ")
  79.         print("                     ERROR")
  80.         print("              Server Returned Nil")
  81.         print(" ")
  82.         print(" ")
  83.         print(" ")
  84.         print(" ")
  85.         print(" ")
  86.         print(" ")
  87.         print(" ")
  88.         print(" ")
  89.         print(" ")
  90.         print(" ")
  91.         print("===================================================")
  92.         sleep(3)
  93.         os.reboot()
  94.       end
  95.     end
Advertisement
Add Comment
Please, Sign In to add comment