From 523507835ed6789a9489120023b539f6ae82eb18 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Sun, 22 Sep 2019 19:32:18 +0200 Subject: Fix get_str_ansi: return str get_str_ansi and get_str_unic now returns both *str* object: As get_str_unic decodes the string, get_str_ansi should do the same. --- example/symbol_exec/dse_crackme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/symbol_exec') diff --git a/example/symbol_exec/dse_crackme.py b/example/symbol_exec/dse_crackme.py index 90774dc3..be9f4490 100644 --- a/example/symbol_exec/dse_crackme.py +++ b/example/symbol_exec/dse_crackme.py @@ -280,7 +280,7 @@ while todo: sb.run() except FinishOn as finish_info: print(finish_info.string) - if finish_info.string == b"OK": + if finish_info.string == "OK": # Stop if the expected result is found found = True break -- cgit 1.4.1