File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
core/injections/controller Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1275,9 +1275,13 @@ def is_empty(multi_parameters, http_request_method):
12751275 empty_parameters = []
12761276 multi_params = [s for s in multi_parameters ]
12771277 if settings .IS_JSON :
1278- multi_params = ',' .join (multi_params )
1279- json_data = json .loads (multi_params , object_pairs_hook = OrderedDict )
1280- multi_params = flatten (json_data )
1278+ try :
1279+ multi_params = ',' .join (multi_params )
1280+ json_data = json .loads (multi_params , object_pairs_hook = OrderedDict )
1281+ multi_params = flatten (json_data )
1282+ except ValueError as err_msg :
1283+ print (settings .print_critical_msg (err_msg ))
1284+ raise SystemExit ()
12811285 for empty in multi_params :
12821286 try :
12831287 if settings .IS_JSON :
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def sys_argv_errors():
216216DESCRIPTION = "The command injection exploiter"
217217AUTHOR = "Anastasios Stasinopoulos"
218218VERSION_NUM = "3.3"
219- REVISION = "39 "
219+ REVISION = "40 "
220220STABLE_RELEASE = False
221221if STABLE_RELEASE :
222222 VERSION = "v" + VERSION_NUM + "-stable"
You can’t perform that action at this time.
0 commit comments