forked from AnandaRauf/Semut-System-Malware-Mutation-Analyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Semut.py
104 lines (79 loc) · 2.36 KB
/
Semut.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import pefile
print("--------------------------------------------------------------\n")
devby= "PT Media Pengembangan Teknologi Indonesia Jaya\n"
author= "Author: Ananda Rauf Maududi\n"
devdate= "11 September 2023\n"
nameprogram= "Semut(System Malware Mutation Analyst) \n"
version= "Version 1.0.0\n"
print(devby)
print(author)
print(devdate)
print(nameprogram)
print(version)
print("--------------------------------------------------------------\n")
class MenuSemut():
def menu():
print("Menu System Malware Mutation Analyst:\n")
print
print("1.Analyst file exe")
print("2.Analyst file pdf")
print("3.Analyst file jpg")
print("4.Analyst file png")
print("5.Analyst file apk")
print("6.Exit")
class AnExe():
def anexe(self):
print("You choose analyst file exe")
exfile = "nitro_pro10_x64.exe"
detect = pefile.PE(exfile)
print(detect)
class AnPdf():
def anpdf(self):
print("You choose analyst file pdf")
pdffile = "Ananda Rauf Maududi_CV.pdf"
detect = pefile.PE(pdffile)
print(detect)
class AnJpg():
def anjpg(self):
print("You choose analyst file jpg")
jpgfile = "yournamefile.jpg"
detect = pefile.PE(jpgfile)
print(detect)
class AnPng():
def anpng(self):
print("You choose analyst file png")
pngfile = "Activity_diagram_Happy Care.png"
detect = pefile.PE(pngfile)
print(detect)
class AnApk():
def anapk(self):
print("You choose analyst file apk")
apkfile = "Happy Care-Skripsi-V1-androidarm-release-debug.apk"
detect = pefile.PE(apkfile)
print(detect)
MenuSemut.menu()
chmenu = int(input("Please choose number on menu:"))
anlex = AnExe()
anlpdf = AnPdf()
anljpg = AnJpg()
anlpng = AnPng()
anlapk = AnApk()
if chmenu== 1:
anlex.anexe()
elif chmenu== 2:
anlpdf.anpdf()
elif chmenu== 3:
anljpg.anjpg()
elif chmenu== 4:
anlpng.anpng()
elif chmenu== 5:
anlapk.anapk()
elif chmenu== 6:
print("Thanks for using ^-^\n")
print("Dont forget share and give star ^-^")
exit
else:
print("Not found, sorry!")
print("Please try again!")
MenuSemut.menu()
chmenu = int(input("Please choose number on menu:"))