-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.py
36 lines (27 loc) · 913 Bytes
/
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
from silky_mes_gui import SilkyMesGUI
debug = False
def test(mode: str):
# diss, ass, diss_for_hack...
from silky_mes import SilkyMesScript
script_mes = "LIBLARY.LIB"
file_txt = "LIBLARY.txt"
if mode == "diss":
new_script = SilkyMesScript(script_mes, file_txt, verbose=True, debug=False)
new_script.disassemble()
del new_script
elif mode == "ass":
new_script = SilkyMesScript(script_mes, file_txt, verbose=True, debug=False)
new_script.assemble()
del new_script
elif mode == "diss_for_hack":
new_script = SilkyMesScript(script_mes, file_txt, verbose=True, debug=True, hackerman_mode=True)
new_script.disassemble()
del new_script
def main():
gui = SilkyMesGUI()
return True
if __name__ == '__main__':
if debug:
test("diss")
else:
main()