From 3453cbc441a3621eb3bc159ddcf007d81e197f23 Mon Sep 17 00:00:00 2001 From: vm03 Date: Tue, 20 Aug 2019 12:26:32 +0300 Subject: [PATCH] exit if payload type not supported --- payload_dumper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/payload_dumper.py b/payload_dumper.py index 617aaa0..f2b0a8d 100644 --- a/payload_dumper.py +++ b/payload_dumper.py @@ -52,6 +52,7 @@ def data_for_op(op,out_file,old_file): out_file.write(data) else: print ("Unsupported type = %d" % op.type) + sys.exit(-1) return data