Skip to content

Commit 389b921

Browse files
committed
v0.15b
Added error handling if application path and parameters cannot correctly be parsed from option set.
1 parent 0f0adea commit 389b921

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
NoSQLMap
22
========
33

4-
[NoSQLMap](http://www.nosqlmap.net) v0.15a
4+
[NoSQLMap](http://www.nosqlmap.net) v0.15b
55

66
Introduction
77
============

nosqlmap.py

Lines changed: 8 additions & 3 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.15a"
37+
print "NoSQLMap-v0.15b"
3838
3939
print "\n"
4040
print "1-Set options (do this first)"
@@ -639,9 +639,14 @@ def buildUri(origUri, randValue):
639639
injOpt = ""
640640

641641
#Split the string between the path and parameters, and then split each parameter
642-
split_uri = origUri.split("?")
643-
params = split_uri[1].split("&")
642+
try:
643+
split_uri = origUri.split("?")
644+
params = split_uri[1].split("&")
644645

646+
except:
647+
raw_input("Not able to parse the URL and parameters. Check options settings. Press enter to return to main menu...")
648+
mainMenu()
649+
645650
for item in params:
646651
index = item.find("=")
647652
paramName.append(item[0:index])

0 commit comments

Comments
 (0)