Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- import sys
- import os
- import hashlib
- from time import *
- from datetime import datetime
- os.system("clear")
- ######################################
- print ("\033[1;31m _,.-------.,_")
- print ("\033[1;31m ,;~' '~;,")
- print ("\033[1;31m ,; ;,")
- print ("\033[1;31m ; ;")
- print ("\033[1;31m ,' ',")
- print ("\033[1;31m,; ;,")
- print ("\033[1;31m; ; . . ; ;")
- print ("\033[1;31m| ; ______ ______ ; |")
- print ("\033[1;31m| `/~- ~+ . -~ +~\- |")
- print ("\033[1;31m| ~ ,-~~~^~, | ,~^~~~-, ~ |")
- print ("\033[1;31m | | }:{ | |")
- print ("\033[1;31m | l / | \ ! |")
- print ("\033[1;31m .~ (__,.--- .^. +--.,__) ~.")
- print ("\033[1;31m | ---;' / | \ `;--- |")
- print ("\033[1;31m \__. \/^\/ .__/")
- print ("\033[1;31m V| \ / |V")
- print ("\033[1;31m | |T~\___!___!___/~T| |")
- print ("\033[1;31m | |`IIII_I_I_I_IIII'| |")
- print ("\033[1;31m | \,III I I I III,/ |")
- print ("\033[1;31m \ `~~~~~~~~~~' /")
- print ("\033[1;31m \ . . / \033[1;33m DARK-ERROR (4/15/95)")
- print ("\033[1;31m \. ^ ./")
- print ("\033[1;31m ^~~~^~~~^")
- ######################################
- from licensing.models import *
- from licensing.methods import Key, Helpers
- RSAPubKey = "<RSAKeyValue><Modulus>tWBeDysFstFBaBHhoLUDK1drxORpqf2yA03DAe+vyoTm5kmzfNoAi5cU4kEJ8TEmxrBm+vSHEAd4F6LgpT0s39ptQPrstOG6hb2ao4dfVd/p0B981LIf/JQU/b58jLQOGhKXf/X4oIAhlOFrwxCpZ6Ihq6NPATbcbq3yJgqAL3m42z91NOIatVd8graTpe4sGRf4nLVuEkLJ0ABfRU1udkWSN5hJ4WnY1LQF4DaIo2ACuKilkwV355LGKcbZbh6fJGbXjIw37I74MJaPEeUC/4MjETWM5J0ERJIMVMxOIb2/7xQsJwMU8TVE1ImzZVdCp5VzfwUaxSVtGnKHU/r1EQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>"
- auth = "WyIyNDgzODkyOSIsIlRMVGJlYjJvUTQ2bDQycVJINUJhOUxaSU5wT2p6MHg1N3FjaEEzeWciXQ=="
- ali = input("enter licenes key: ")
- result = Key.activate(token=auth,\
- rsa_pub_key=RSAPubKey,\
- product_id=16630, \
- key= ali , \
- machine_code=Helpers.GetMachineCode(v=2))
- if result[0] == None :
- # an error occurred or the key is invalid or it cannot be activated
- # (eg. the limit of activated devices was achieved)
- print("The license does not work: {0}".format(result[1]))
- exit(".")
- else:
- # everything went fine if we are here!
- print("The license is valid!")
- license_key = result[0]
- print("License expires: " + str(license_key.expires))
- time.sleep(4)
- os.system("clear")
- pass
- ######################################
- print ("\033[1;33m ,------. ,---. ,------. ,--. ,--. ,------.,------. ,------. ,-----. ,------. ,--------.,------. ,---. ,--. ,--.")
- print ("\033[1;34m | .-. \ / O \ | .--. '| .' /,-----.| .---'| .--. '| .--. '' .-. '| .--. ' '--. .--'| .---' / O \ | `.' | ")
- print ("\033[1;31m | | \ :| .-. || '--'.'| . ' '-----'| `--, | '--'.'| '--'.'| | | || '--'.' | | | `--, | .-. || |'.'| | ")
- print ("\033[1;35m | '--' /| | | || |\ \ | |\ \ | `---.| |\ \ | |\ \ ' '-' '| |\ \ | | | `---.| | | || | | | ")
- print ("\033[1;36m `-------' `--' `--'`--' '--'`--' '--' `------'`--' '--'`--' '--' `-----' `--' '--' `--' `------'`--' `--'`--' `--' ")
- #####################################
- ip= input ("\033[1;33m =====>ENTER YOUR IP TO START: ")
- print ("scanning start %s please wait"%ip)
- sleep(1)
- #####################################
- def jalan(z):
- for e in z + '\n':
- sys.stdout.write(e)
- sys.stdout.flush()
- time.sleep(00000.09)
- ######################################
- try:
- for port in range (1,6553) :
- s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
- if(s.connect_ex((ip,port))==0):
- try:
- serv=socket.getservbyport(port)
- except socket.error:
- serv= "Unknown Service"
- print ("Port %s 0pen Service:%s "%(port, serv))
- print ("Scanning Completed")
- except KeyboardInterrupt:
- print ("See You Soon...!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement