Skip to content

Commit

Permalink
add condition that optionSet[4] == True in line number 96
Browse files Browse the repository at this point in the history
Because variable "myIP" should be set
  • Loading branch information
youngyangyang04 committed Jun 4, 2016
1 parent 6079d24 commit fea582f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nosqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def mainMenu():
options()

elif select == "2":
if optionSet[0] == True:
if optionSet[0] == True and optionSet[4] == True:
if platform == "MongoDB":
nsmmongo.netAttacks(victim, dbPort, myIP, myPort)

Expand Down

0 comments on commit fea582f

Please sign in to comment.