Skip to content

Commit 1f0df7b

Browse files
committed
add label: the current git hash
1 parent 47983c7 commit 1f0df7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nosqlmap.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def mainMenu():
3333
select = True
3434
while select:
3535
os.system('clear')
36-
print "NoSQLMap [email protected]"
36+
label = subprocess.check_output(["git","describe"])
37+
print "NoSQLMap " + label + " [email protected]"
3738
print "\n"
3839
print "1-Set options (do this first)"
3940
print "2-NoSQL DB Access Attacks"
@@ -754,4 +755,4 @@ def stealDBs(myDB):
754755
raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return...")
755756
mainMenu()
756757

757-
mainMenu()
758+
mainMenu()

0 commit comments

Comments
 (0)