-
Notifications
You must be signed in to change notification settings - Fork 7
/
initial.py
50 lines (41 loc) · 1.87 KB
/
initial.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
'''
@author: SmartMonk-E(Mayur-Debu), thelinuxchoice(anonymous)
Product Details: A hacking tool made for the personal educational purpose.
Disclaimer: Please note that, the usage of this software is for educational and ethical purpose only.
Any harm caused to your system or the target system will be the responsibility of the user itself.
Owner of this repository is not responsible for any harm caused to your or any other system.
Contact me at this url: www.mayurmanoharpatil.ml
'''
# from win10toast import ToastNotifier
import random
from termcolor import cprint, colored
import os
import prettytable as pt
# clearing the content on powershell before executing
os.system('cls')
# printing the instructions on the screen
instructionOnStartup = colored("Turn off Windows Defender and run as Administrator", 'cyan', attrs=['bold'])
widthOfTable = 127
tableObject = pt.PrettyTable()
tableObject.field_names = [colored("Instruction to the user", 'red', attrs=['bold'])]
[tableObject.add_row([instructionOnStartup[i:i + widthOfTable]]) for i in range(0, len(instructionOnStartup), widthOfTable)]
print(tableObject)
# sending the desktop notification to the user
notification = ToastNotifier()
activation_code = random.randint(1000, 15000)
notification.show_toast("KISSING BUG", f"Your software activation code is: " + str(activation_code), icon_path='bug.ico')
cprint(f"Enter the software activation code: ", 'red', attrs=['bold'])
user_input = input()
# authentication and authorized access
if int(user_input) == int(activation_code):
os.system('cls')
os.chdir("Source_Code")
os.system('python Kissing_Bug.py')
else:
cprint('Resend? (y/n): ', 'cyan', attrs=['bold'])
choice = input()
if choice == 'y' or choice == 'Y':
os.system('cls')
os.system('python initial.py')
else:
exit()