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):
1275
1275
empty_parameters = []
1276
1276
multi_params = [s for s in multi_parameters ]
1277
1277
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 ()
1281
1285
for empty in multi_params :
1282
1286
try :
1283
1287
if settings .IS_JSON :
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def sys_argv_errors():
216
216
DESCRIPTION = "The command injection exploiter"
217
217
AUTHOR = "Anastasios Stasinopoulos"
218
218
VERSION_NUM = "3.3"
219
- REVISION = "39 "
219
+ REVISION = "40 "
220
220
STABLE_RELEASE = False
221
221
if STABLE_RELEASE :
222
222
VERSION = "v" + VERSION_NUM + "-stable"
You can’t perform that action at this time.
0 commit comments