File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11NoSQLMap
22========
33
4- [ NoSQLMap] ( http://www.nosqlmap.net ) v0.15a
4+ [ NoSQLMap] ( http://www.nosqlmap.net ) v0.15b
55
66Introduction
77============
Original file line number Diff line number Diff 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 print "nosqlmap@gmail.com"
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 ])
You can’t perform that action at this time.
0 commit comments