Skip to content

Commit 8cb27a3

Browse files
author
İSMAİL TAŞDELEN
committed
Update MetasploitFrameworkDatabaseManagement.py
1 parent c912600 commit 8cb27a3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

MetasploitFrameworkDatabaseManagement.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ def msfdb_start():
3434
def msfdb_stop():
3535
os.system("msfdb stop")
3636

37+
def program_cikis():
38+
cikis_mesaj = "Programdan çıkış yaptınız."
39+
print cikis_mesaj
40+
sys.exit()
41+
3742
islemler_ico = """
3843
(1) Metasploit-Framework Database Init
3944
(2) Metasploit-Framework Database Reinit
@@ -62,6 +67,4 @@ def msfdb_stop():
6267
msfdb_stop()
6368

6469
else:
65-
cikis_mesaj = "Programdan çıkış yaptınız."
66-
print cikis_mesaj
67-
sys.exit()
70+
program_cikis

0 commit comments

Comments
 (0)