From df5e85f1197178df0fac2822e41cf66a59adb502 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 11 Mar 2022 09:01:18 -0500 Subject: sploit: add rev module to sploit Signed-off-by: dusoleil --- sploit/rev/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 sploit/rev/__init__.py (limited to 'sploit/rev/__init__.py') diff --git a/sploit/rev/__init__.py b/sploit/rev/__init__.py new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3 From 57e5d92be7e82f28adcb3212c73bb06b0b8d7fe8 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 11 Mar 2022 09:04:32 -0500 Subject: sploit: add ldd ability to rev module add helper function to invoke ldd to get a list of libraries that will be linked to a given ELF Signed-off-by: dusoleil --- sploit/rev/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sploit/rev/__init__.py') diff --git a/sploit/rev/__init__.py b/sploit/rev/__init__.py index e69de29..c489b98 100644 --- a/sploit/rev/__init__.py +++ b/sploit/rev/__init__.py @@ -0,0 +1,4 @@ +from . import ( + ldd +) + -- cgit v1.2.3 From 729c5598b3fcb85e52c62bf19d28a7db2647659d Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 11 Mar 2022 09:15:31 -0500 Subject: sploit: add r2 funcionality to rev module Add an r2 module with several helper functions that do a number of simple reverse engineering tasks to aid in writing simple sploit scripts. The functions in this module invoke radare2 to accomplish their tasks. Signed-off-by: dusoleil --- sploit/rev/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sploit/rev/__init__.py') diff --git a/sploit/rev/__init__.py b/sploit/rev/__init__.py index c489b98..b6a73a2 100644 --- a/sploit/rev/__init__.py +++ b/sploit/rev/__init__.py @@ -1,4 +1,5 @@ from . import ( - ldd + ldd, + r2, ) -- cgit v1.2.3 From 13a1931d7b765009d35c72594310f4a5abcacff4 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 11 Mar 2022 10:15:35 -0500 Subject: sploit: add ELF helper class to rev Create a class which encapsulates some basic information about an ELF file and provides a convenient interface for basic reverse engineering. In particular, ELF automatically loads the symbol table of the given elf file and recursively creates ELF objects for any linked libraries. Signed-off-by: dusoleil --- sploit/rev/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sploit/rev/__init__.py') diff --git a/sploit/rev/__init__.py b/sploit/rev/__init__.py index b6a73a2..43cee7b 100644 --- a/sploit/rev/__init__.py +++ b/sploit/rev/__init__.py @@ -1,5 +1,6 @@ from . import ( ldd, r2, + elf, ) -- cgit v1.2.3