Skip to content

Commit 97a59ff

Browse files
committed
Remove more Git markup
1 parent a1c72ad commit 97a59ff

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

nosqlmap.py

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,15 +1265,13 @@ def buildUri(origUri, randValue):
12651265

12661266
def stealDBs(myDB):
12671267
menuItem = 1
1268-
<<<<<<< HEAD
12691268
if optionSet[4] == False:
12701269
raw_input("No destination database set! Press enter to return to the main menu.")
12711270
mainMenu()
1272-
=======
1271+
12731272
if len(dbList) == 0:
12741273
print "Can't get a list of databases to steal. The provided credentials may not have rights."
12751274
return
1276-
>>>>>>> 0.3
12771275

12781276
for dbName in dbList:
12791277
print str(menuItem) + "-" + dbName
@@ -1318,17 +1316,11 @@ def stealDBs(myDB):
13181316
except:
13191317
if str(sys.exc_info()).find('text search not enabled') != -1:
13201318
raw_input("Database copied, but text indexing was not enabled on the target. Indexes not moved. Press enter to return...")
1321-
<<<<<<< HEAD
1322-
mainMenu()
1323-
else:
1324-
raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return...")
1325-
mainMenu()
1326-
=======
13271319
return
1320+
13281321
else:
13291322
raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return...")
13301323
return
1331-
>>>>>>> 0.3
13321324

13331325
def massMongo():
13341326
global victim
@@ -1357,13 +1349,6 @@ def massMongo():
13571349
raw_input("Not a valid subnet. Press enter to return to main menu.")
13581350
return
13591351

1360-
<<<<<<< HEAD
1361-
1362-
#print "Debug:"
1363-
#print ipList
1364-
1365-
=======
1366-
>>>>>>> 0.3
13671352
if loadOpt == "2":
13681353
while loadCheck == False:
13691354
loadPath = raw_input("Enter file name with IP list to scan: ")

0 commit comments

Comments
 (0)