-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.py
69 lines (56 loc) · 1.74 KB
/
main.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## DedSec APP
# IMPORTS
from kivy.app import App
import random
from kivy.clock import Clock
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.label import Label
from kivy.uix.image import Image
# MAIN CLASS
class DedSecApp(App):
# UPDATE FUNCTION
def update(self, instance):
keys = "abWXc9$dVAeYU8fTZBg7ShR6iCQjk#D5PlmEOn4RNFMoK3LpqGr2sHt@uI1vwxJ0yz!"
types = ["apk","exe","py","c","h","bf"]
self.Text2.text = "".join(random.choices(keys, k=9)) + ".[color=#aa0000]" + "".join(random.choices(types)) + "[/color]"
# BUILD FUNCTION
def build(self):
# HOME SCREEN
self.Home = FloatLayout()
# Toolbar
self.Text = Label(
pos_hint = {"center_x": 0.5, "center_y":0.3},
font_size = 20,
color = "#ffffff",
text = '[b]Generating Malware[/b]',
markup = True,
)
# LABLE
self.Text2 = Label(
pos_hint = {"center_x": 0.5, "center_y":0.2},
font_size = 20,
color = "#AAAAAA",
text = '',
markup = True,
bold = True
)
# GIF IMAGE
self.Gif = Image(
size_hint = (0.5, 0.5),
pos_hint = {"center_x": 0.5, "center_y":0.75},
source = "data/dedsec2.gif",
anim_delay = 0.025,
mipmap = True,
color = "#ffffff"
)
# ADD WIDGETS
self.Home.add_widget(self.Text)
self.Home.add_widget(self.Gif)
self.Home.add_widget(self.Text2)
# Update Text text
Clock.schedule_interval(lambda _:self.update(self), 0.2)
# RETRUN HOME
return self.Home
# RUN
DedSecApp().run()
# -> END