Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- import time
- import os
- import socket
- import getpass
- import sys
- import io
- import signal
- import builtins
- import warnings
- import errno
- import colorsys
- from time import monotonic as _time
- def start():
- print("Microsoft Windows [Version 10.0.15063]")
- print("(c) 2017 Microsoft Corporation. All rights reserved.")
- name()
- def name():
- user=getpass.getuser()
- print('\nC:\ Users\ ',user,'>')
- cmd=input()
- cmd=cmd.lower()
- print
- if cmd == "help":
- time.sleep(0.5)
- print("1.Imported Commands")
- time.sleep(0.5)
- print("2.CMD Commands")
- time.sleep(0.5)
- print("3.Why not working?")
- h1=int(input())
- if h1 == 1:
- print("My Commands")
- time.sleep(0.5)
- print("----------------------")
- time.sleep(0.5)
- print("help")
- time.sleep(0.5)
- print("ipconfig")
- time.sleep(0.5)
- print("driverquery")
- time.sleep(0.5)
- print("getmac")
- time.sleep(0.5)
- print("netstat")
- time.sleep(0.5)
- print("powercfg")
- time.sleep(0.5)
- print("tasklist")
- time.sleep(0.5)
- print("$")
- time.sleep(0.5)
- print("----------------------")
- name()
- if h1 == 2:
- subprocess.call(["help"])
- time.sleep(0.5)
- name()
- if h1 == 3:
- time.sleep(0.5)
- print("1. Make sure you open it directly (double click the file)")
- time.sleep(0.5)
- print("2. If accessing dev mode do 'cd c:\' to access whole drive")
- time.sleep(0.5)
- name()
- if cmd == "ipconfig":
- ipconfig()
- if cmd == "driverquery":
- drive()
- if cmd == "getmac":
- getmac()
- if cmd == "netstat":
- netstat()
- if cmd == "powercfg":
- powercfg()
- if cmd == "tasklist":
- tasklist()
- if cmd == "shutdown":
- taskkill()
- else:
- for i in range(len(cmd)):
- if cmd[i] == "$":
- presence=True
- print("Loading Developer Mode")
- time.sleep(5)
- if user == "Dan-L" or user == "lee09114":
- print("Success")
- time.sleep(3)
- print("Authenticating User...")
- time.sleep(5)
- print("Accepted!")
- time.sleep(3)
- print("Decrypting Information")
- time.sleep(5)
- print("Developer Mode Activated! \n---------------------------------------------------------------------------------------------------")
- time.sleep(1)
- subprocess.call(["cmd"])
- else:
- print("Error While Loading Assets...")
- time.sleep(3)
- print("Retrying...")
- print("Error While Authenticating User...")
- time.sleep(3)
- print("Trying again.....")
- time.sleep(10)
- print("Please enter valid credentials to gain access")
- time.sleep(3)
- us=input("Username: ")
- us=us.lower()
- pas=input("Password: ")
- pas=pas.lower()
- time.sleep(3)
- if us == "lee09114" and pas == "trains":
- print("Validating Information")
- time.sleep(10)
- print("Accepted!")
- time.sleep(3)
- print("Decrypting Information")
- time.sleep(5)
- print("Developer Mode Activated! \n---------------------------------------------------------------------------------------------------")
- time.sleep(1)
- subprocess.call(["cmd"])
- if us == "henry" and pas == "qwerty":
- print("Validating Information")
- time.sleep(10)
- print("Accepted!")
- time.sleep(3)
- print("Decrypting Information")
- time.sleep(5)
- print("Developer Mode Activated! \n---------------------------------------------------------------------------------------------------")
- time.sleep(1)
- subprocess.call(["cmd"])
- else:
- print("Validating Information")
- time.sleep(10)
- print("ERROR!")
- time.sleep(3)
- print("Missing system32 file")
- time.sleep(3)
- print("Restarting Windows...")
- time.sleep(3)
- subprocess.call(["shutdown", "/r"])
- else:
- name()
- def ipconfig():
- subprocess.call(["ipconfig", "/all"])
- name()
- def drive():
- subprocess.call(["driverquery"])
- name()
- def getmac():
- subprocess.call(["getmac"])
- name()
- def netstat():
- subprocess.call(["netstat"])
- name()
- def powercfg():
- subprocess.call(["powercfg", "/l"])
- name()
- def tasklist():
- subprocess.call(["tasklist"])
- name()
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement