Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. import time
  2. import sys
  3. import string
  4. import os
  5. print("=========== Welcome to the main page. ===========")
  6. print("Command for using the mvx class : mvx")
  7. print("Command for running MicroVolts : mv")
  8. print("Any other commands will not be accepted.")
  9. print("=================================================")
  10. def tool():
  11. myName = input("Please enter your username: ")
  12. myVar = input("Enter Your Password: ")
  13. if myName == ("aslox") and myVar == ("lolo123123"):
  14. print("You are recognized now. Use the tool as your own risk.")
  15. else:
  16. print("Username or password is incorrect. Please try again.")
  17. exit()
  18. myVar1 = input("Enter a command: ")
  19. if myVar1 == ("mvx"):
  20. print("Command was found.")
  21. time.sleep(3)
  22. print("Please wait while the progress is running.")
  23. time.sleep(3)
  24. if myVar1 == ("mv"):
  25. print("Command was found.")
  26. time.sleep(3)
  27. print("Please wait while the progress is running.")
  28. time.sleep(3)
  29. myVar2 = input("Please enter your command again: ")
  30.  
  31. if myVar2 == ("mv"):
  32. print("Command is found.")
  33. time.sleep(2)
  34. print("Running... Please wait.")
  35. time.sleep(2)
  36. os.chdir( 'c:\\Program Files (x86)\\MicroVolts' )
  37. os.system( '"C:\\Program Files (x86)\\MicroVolts\\Launcher.exe"' )
  38. print("Done, Quiting...")
  39. time.sleep(2)
  40. exit()
  41. if myVar2 == ("mvx"):
  42. print("Command is found.")
  43. time.sleep(2)
  44. print("Running... Please wait.")
  45. time.sleep(2)
  46. os.chdir( 'c:\\Program Files (x86)\\MicroVolts' )
  47. os.system( '"C:\\Program Files (x86)\\MicroVolts\\Mvx.exe"' ) and ( '"C:\\Program Files (x86)\\MicroVolts\\Launcher.exe"' )
  48. print("Done, Quiting...")
  49. time.sleep(2)
  50. exit()
  51. else:
  52. time.sleep(3)
  53. print("Command doesn't exist")
  54. time.sleep(3)
  55. print("Exiting the tool...")
  56. time.sleep(3)
  57. exit()
  58. tool()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement