From 6492aadd7cde566c15f363a7799f917590f8a661 Mon Sep 17 00:00:00 2001 From: Eljakim Herrewijnen Date: Sat, 7 Dec 2024 20:59:02 +0100 Subject: [PATCH] seperated exynos device from exploit --- .../__pycache__/exynos.cpython-310.pyc | Bin 0 -> 2850 bytes source/exploit/exploit.py | 96 ++---------------- source/exploit/exynos.py | 87 ++++++++++++++++ 3 files changed, 96 insertions(+), 87 deletions(-) create mode 100644 source/exploit/__pycache__/exynos.cpython-310.pyc create mode 100644 source/exploit/exynos.py diff --git a/source/exploit/__pycache__/exynos.cpython-310.pyc b/source/exploit/__pycache__/exynos.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bafbaefc0b113c967e35334aadeefee83af298fd GIT binary patch literal 2850 zcma)8S#KOS5^l1O=^3>~htG|@yB%)=>;%S4e8kZrr*$Nr*cm61yhi4QXf-LRrJn9F zn`29ZaS%j)-CqzaAiXT$zpy_dKY*`!SwAOF0TQH&J-VDt5H`B1NLE)@u|5`=Pfpe> zXg~aCbt9-+)_2%B*=*>12ygLUAl%|4wYnuIU1IvQOAWWXw&70KG2HFChI?HPI87_7 z_#I9CF|Uq!&2T%N=mp(?ppKJH_Uhfbkx4q$oicW&yVHixbZ5BBy=PW;mRGnB{0y)1 z8t}7xf(O9QeQfbbUVmos`X23`=VZldOuYdAtxkhz@&=HZk8iU`_HNx|T&xW?HiU%1 z%IEjk?d63#F+tsNL)n3M0p9NeAj;Y&oQ$jk3TA0%NZ)Ngr`ju&9K=dH{V3jk4u9Es zZpjHy|8cIhnfF9Xq+8K;(rc~c0~w3fO4KU`*#=vAyH%7UVyBt*@R6By?br=>F!Vn-x0DhC);qEg60Q7hTfZ%eUSAl!H z#wUPRcmO%8>tM;O@uGN~#A0~27D8J{qoN2^9**-6Mq#NHa-$aheQxd_Z?=HE)d&Yg zl5K=)Q-lvz=EFik&YQ-{i~j*uUfi4ox6#eRhB78`0p8*-Kt=!{W{oIN111L2zI|W; z<`Gu*@Nzp#RQM!Oo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/exploit.py +++ b/source/exploit/exploit.py @@ -1,23 +1,4 @@ -import struct, sys, usb1, libusb1, ctypes, usb, argparse -from keystone import * -from capstone import * -from ghidra_assistant.utils.utils import * -from ghidra_assistant.concrete_device import * -from ghidra_assistant.utils.debugger.debugger_archs.ga_arm64 import GA_arm64_debugger -from qiling.const import QL_ARCH -import os, tqdm, datetime - -def p32(x): - return struct.pack("