Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c912600

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

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

‎MetasploitFrameworkDatabaseManagement.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# -*- coding:utf-8 -*-
33

44
import os
5+
import sys
56

67
MetasploitFramework_databasemanagement_ico = """
78
####################################################################################
@@ -47,11 +48,20 @@ def msfdb_stop():
4748

4849
if islem == 1:
4950
msfdb_init()
50-
if islem == 2:
51+
52+
elif islem == 2:
5153
msfdb_reinit()
52-
if islem == 3:
54+
55+
elif islem == 3:
5356
msfdb_delete()
54-
if islem == 4:
57+
58+
elif islem == 4:
5559
msfdb_start()
56-
if islem == 5:
60+
61+
elif islem == 5:
5762
msfdb_stop()
63+
64+
else:
65+
cikis_mesaj = "Programdan çıkış yaptınız."
66+
print cikis_mesaj
67+
sys.exit()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /