Skip to content

Commit ab00021

Browse files
committed
v0.15a
Fixed major bug causing web app tests to crash before finishing and fixed bug causing extra & not to be clipped off the this injection URI
1 parent 3e1cdd6 commit ab00021

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nosqlmap.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def mainMenu():
3434
while select:
3535
os.system('clear')
3636
#label = subprocess.check_output(["git","describe","--always"])
37-
print "NoSQLMap-v0.15"
37+
print "NoSQLMap-v0.15a"
3838
3939
print "\n"
4040
print "1-Set options (do this first)"
@@ -483,7 +483,7 @@ def webApps():
483483
print " response variance was only " + str(whereThisStrDelta) + "bytes. Injection might have worked but difference is too small to be certain."
484484
possAddrs.append(strThisNeqUri)
485485

486-
elif (WhereThisStrDelta == 0):
486+
elif (whereThisStrDelta == 0):
487487
print "Random string response size and this return response size were the same. Injection did not work."
488488

489489
else:
@@ -708,6 +708,8 @@ def buildUri(origUri, randValue):
708708
whereIntUri = whereIntUri[:-1]
709709
whereOneStr = whereOneStr[:-1]
710710
whereOneInt = whereOneInt[:-1]
711+
strThisNeqUri = strThisNeqUri[:-1]
712+
intThisNeqUri = intThisNeqUri[:-1]
711713
timeStrUri = timeStrUri[:-1]
712714
timeIntUri = timeIntUri[:-1]
713715

0 commit comments

Comments
 (0)