Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 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. if myVar2 == ("mv"):
  31. print("Command is found.")
  32. time.sleep(2)
  33. print("Running... Please wait.")
  34. time.sleep(2)
  35. os.chdir( 'c:\\Program Files (x86)\\MicroVolts' )
  36. os.system( '"C:\\Program Files (x86)\\MicroVolts\\Launcher.exe"' )
  37. print("Done, Quiting...")
  38. time.sleep(2)
  39. exit()
  40. if myVar2 == ("mvx"):
  41. print("Command is found.")
  42. time.sleep(2)
  43. print("Running... Please wait.")
  44. time.sleep(2)
  45. os.chdir( 'c:\\Program Files (x86)\\MicroVolts' )
  46. os.system( '"C:\\Program Files (x86)\\MicroVolts\\Mvx.exe"' ) and ( '"C:\\Program Files (x86)\\MicroVolts\\Launcher.exe"' )
  47. print("Done, Quiting...")
  48. time.sleep(2)
  49. exit()
  50. else:
  51. time.sleep(3)
  52. print("Command doesn't exist")
  53. time.sleep(3)
  54. print("Exiting the tool...")
  55. time.sleep(3)
  56. exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement