-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
MetasploitFrameworkDatabaseManagement.py
95 lines (76 loc) · 2.48 KB
/
MetasploitFrameworkDatabaseManagement.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
#!/usr/bin/eny python
# -*- coding:utf-8 -*-
import os
import sys
MetasploitFramework_databasemanagement_ico = """
####################################################################################
# PYTHON - METASPLOIT FRAMEWORK DATABASE MANAGEMENT - GH0ST S0FTWARE #
####################################################################################
# CONTACT #
####################################################################################
# DEVELOPER : İSMAİL TAŞDELEN #
# Mail Address : [email protected] #
# LINKEDIN : https://www.linkedin.com/in/ismailtasdelen #
# Whatsapp : + 90 534 295 94 31 #
####################################################################################
"""
star = "####################################################################################"
print MetasploitFramework_databasemanagement_ico
def msfdb_init():
os.system("msfdb init")
def msfdb_reinit():
os.system("msfdb reinit")
def msfdb_delete():
os.system("msfdb delete")
veritabani_kaldirildi_mesaj_ico = "Metasploit-Framework Veritabanı Kaldırıldı."
print star
print veritabani_kaldirildi_mesaj_ico
def msfdb_start():
os.system("msfdb start")
servis_baslatma_mesaj_ico = "Metasploit-Framework Service Database Starting.."
print star
print servis_baslatma_mesaj_ico
def msfdb_stop():
os.system("msfdb stop")
servis_durdurma_mesaj_ico = "Metasploit-Framework Service Database Stop.."
print star
print servis_durdurma_mesaj_ico
def program_cikis():
print star
cikis_mesaj = "Programdan çıkış yaptınız.."
print cikis_mesaj
print star
sys.exit()
islemler_ico = """
(1) Metasploit-Framework Database Init
(2) Metasploit-Framework Database Reinit
(3) Metasploit-Framework Database Delete
(4) Metasploit-Framework Service Database Start
(5) Metasploit-Framework Service Database Stop
(6) Exit
"""
print islemler_ico
print star
islem = input("Yapılcak işlem numarasını giriniz : ")
if islem == 1:
print star
msfdb_init()
print star
elif islem == 2:
print star
msfdb_reinit()
print star
elif islem == 3:
print star
msfdb_delete()
print star
elif islem == 4:
print star
msfdb_start()
print star
elif islem == 5:
print star
msfdb_stop()
print star
elif islem == 6:
program_cikis