File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -1265,15 +1265,13 @@ def buildUri(origUri, randValue):
1265
1265
1266
1266
def stealDBs (myDB ):
1267
1267
menuItem = 1
1268
- < << << << HEAD
1269
1268
if optionSet [4 ] == False :
1270
1269
raw_input ("No destination database set! Press enter to return to the main menu." )
1271
1270
mainMenu ()
1272
- == == == =
1271
+
1273
1272
if len (dbList ) == 0 :
1274
1273
print "Can't get a list of databases to steal. The provided credentials may not have rights."
1275
1274
return
1276
- > >> >> >> 0.3
1277
1275
1278
1276
for dbName in dbList :
1279
1277
print str (menuItem ) + "-" + dbName
@@ -1318,17 +1316,11 @@ def stealDBs(myDB):
1318
1316
except :
1319
1317
if str (sys .exc_info ()).find ('text search not enabled' ) != - 1 :
1320
1318
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
- == == == =
1327
1319
return
1320
+
1328
1321
else :
1329
1322
raw_input ("Something went wrong. Are you sure your MongoDB is running and options are set? Press enter to return..." )
1330
1323
return
1331
- >> >> >> > 0.3
1332
1324
1333
1325
def massMongo ():
1334
1326
global victim
@@ -1357,13 +1349,6 @@ def massMongo():
1357
1349
raw_input ("Not a valid subnet. Press enter to return to main menu." )
1358
1350
return
1359
1351
1360
- < << << << HEAD
1361
-
1362
- #print "Debug:"
1363
- #print ipList
1364
-
1365
- == == == =
1366
- >> >> >> > 0.3
1367
1352
if loadOpt == "2" :
1368
1353
while loadCheck == False :
1369
1354
loadPath = raw_input ("Enter file name with IP list to scan: " )
You can’t perform that action at this time.
0 commit comments