├── .gitignore ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── docs ├── develop.md ├── dynamic.md ├── eshelf.md ├── hooks.md ├── libc.md ├── mitigation_bypass.md ├── opcodes_relocation.md ├── optimizations.md ├── output_formats.md ├── py_api.md ├── shelf_loader.md └── speific_arch_limitations.md ├── examples ├── Makefile ├── example.c └── run_example.sh ├── headers └── mini_loader.h ├── hook_configurations └── simple_hello_hook.py ├── hooks ├── Makefile ├── mem_change_protection_hook.c └── simple_hello_hook.c ├── makefiles ├── compilers.mk └── generic.mk ├── mini_loaders ├── __init__.py ├── arm │ ├── aarch64.c │ ├── aarch64.h │ ├── arm32.c │ └── arm32.h ├── compile.py ├── compile.sh ├── compile_lib │ ├── __init__.py │ └── shelf_extract_relative_symbols.py ├── debug.h ├── eshelf │ └── eshelf.h ├── generic_loader.c ├── generic_loader.h ├── hooks.h ├── hooks │ └── simple_hello_hook.c ├── intel │ ├── x32.c │ ├── x32.h │ ├── x64.c │ └── x64.h ├── mips │ ├── mips.c │ └── mips.h ├── parallel_api │ ├── __init__.py │ ├── api.py │ ├── consts.py │ ├── multi_process_comm.py │ └── multi_process_job.py └── riscv │ ├── riscv64.c │ └── riscv64.h ├── osals ├── debug.h ├── linux │ ├── debug.c │ ├── syscalls │ │ ├── arch │ │ │ ├── arm │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ │ ├── arm64 │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ │ ├── generic │ │ │ │ ├── syscalls_extend_0.h │ │ │ │ ├── syscalls_extend_1.h │ │ │ │ ├── syscalls_extend_2.h │ │ │ │ ├── syscalls_extend_3.h │ │ │ │ ├── syscalls_extend_4.h │ │ │ │ └── syscalls_extend_5.h │ │ │ ├── i386 │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ │ ├── mips │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ │ ├── riscv64 │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ │ └── x86_64 │ │ │ │ ├── defs.h │ │ │ │ └── syscalls.h │ │ ├── defs.h │ │ └── syscalls.h │ └── syscalls_wrapper │ │ ├── more.c │ │ ├── more.h │ │ ├── poll.c │ │ ├── poll.h │ │ ├── port.c │ │ ├── sys │ │ ├── ioctl.c │ │ ├── ioctl.h │ │ ├── mman.c │ │ ├── mman.h │ │ ├── mount.c │ │ ├── mount.h │ │ ├── select.c │ │ ├── select.h │ │ ├── signal.c │ │ ├── signal.h │ │ ├── stat.c │ │ ├── stat.h │ │ ├── time.c │ │ ├── time.h │ │ ├── wait.c │ │ └── wait.h │ │ ├── unistd.c │ │ └── unistd.h ├── sprintf.c ├── sprintf.h ├── string.c └── string.h ├── run_examples.sh ├── shelf ├── MANIFEST.in ├── setup.py └── shelf │ ├── __init__.py │ ├── __main__.py │ ├── __version__.py │ ├── api │ ├── __init__.py │ ├── api.py │ └── utilities │ │ ├── __init__.py │ │ └── binary.py │ ├── arm │ ├── __init__.py │ ├── aarch64_dynamic_relocations.py │ ├── arm_32_dynamic_relocations.py │ ├── x32.py │ └── x64.py │ ├── hooks │ ├── __init__.py │ ├── base_hook.py │ ├── builtin │ │ ├── __init__.py │ │ ├── change_memory_protection.py │ │ ├── descriptors.py │ │ └── rwx_bypass.py │ └── hooks_configuration_parser.py │ ├── intel │ ├── __init__.py │ ├── intel_irelative_relocations.py │ ├── x32.py │ ├── x32_dynamic_relocations.py │ ├── x32_opcodes_analysis.py │ ├── x64.py │ └── x64_dynamic_relocations.py │ ├── lib │ ├── __init__.py │ ├── consts.py │ ├── exceptions.py │ ├── ext │ │ ├── __init__.py │ │ ├── dynamic_relocations_base.py │ │ ├── loader_symbols.py │ │ └── opcodes_analysis_base.py │ ├── five.py │ ├── plugins │ │ ├── __init__.py │ │ ├── base_shelf_plugins.py │ │ └── memory_dump │ │ │ ├── __init__.py │ │ │ └── shelf_memory_dumps_plugin.py │ ├── shellcode.py │ └── utils │ │ ├── __init__.py │ │ ├── address_utils.py │ │ ├── disassembler.py │ │ ├── general.py │ │ ├── hooks.py │ │ ├── match_utils.py │ │ ├── memory_section.py │ │ ├── mini_loader.py │ │ ├── objdump_disassembler_backend.py │ │ └── process.py │ ├── mips │ ├── __init__.py │ ├── mips.py │ └── mips_dynamic_relocations.py │ ├── relocate.py │ ├── resources │ └── __init__.py │ └── riscv │ ├── __init__.py │ ├── enums64.py │ ├── opcodes_analyzer │ ├── __init__.py │ ├── candidate_matchers.py │ ├── instructions │ │ └── __init__.py │ └── relocation_candidates.py │ ├── riscv64.py │ ├── riscv64_dynamic_relocations.py │ └── riscv64_opcodes_analyzer.py ├── shelf_loader_publish.sh ├── shelf_publish.sh ├── shellcode_loader ├── Makefile ├── __init__.py ├── hal.h ├── main.c ├── run_shellcode.sh └── shelf_loader │ ├── MANIFEST.in │ ├── __init__.py │ ├── setup.py │ └── shelf_loader │ ├── __init__.py │ ├── __main__.py │ ├── consts.py │ ├── extractors │ ├── __init__.py │ ├── base_extractor.py │ ├── loader_information_extractor.py │ ├── opcodes.py │ └── utils.py │ ├── interactive_debugger │ ├── __init__.py │ ├── gdb_scripts │ │ ├── __init__.py │ │ ├── gdb_main.py │ │ ├── gdb_utils.gdb │ │ └── shelf_debug_flow.py │ └── interactive_debugger.py │ ├── loader.py │ └── resources │ └── __init__.py ├── tests ├── Makefile ├── elf_features.c ├── no_libc.h ├── no_relocations.c ├── run_tests.py ├── test_framework_tests.c ├── test_package.py ├── test_runner │ ├── __init__.py │ ├── consts.py │ ├── test_run_utils.py │ └── tests.py └── tests.h └── upload.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/README.md -------------------------------------------------------------------------------- /docs/develop.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/develop.md -------------------------------------------------------------------------------- /docs/dynamic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/dynamic.md -------------------------------------------------------------------------------- /docs/eshelf.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/eshelf.md -------------------------------------------------------------------------------- /docs/hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/hooks.md -------------------------------------------------------------------------------- /docs/libc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/libc.md -------------------------------------------------------------------------------- /docs/mitigation_bypass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/mitigation_bypass.md -------------------------------------------------------------------------------- /docs/opcodes_relocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/opcodes_relocation.md -------------------------------------------------------------------------------- /docs/optimizations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/optimizations.md -------------------------------------------------------------------------------- /docs/output_formats.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/output_formats.md -------------------------------------------------------------------------------- /docs/py_api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/py_api.md -------------------------------------------------------------------------------- /docs/shelf_loader.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/shelf_loader.md -------------------------------------------------------------------------------- /docs/speific_arch_limitations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/docs/speific_arch_limitations.md -------------------------------------------------------------------------------- /examples/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/examples/Makefile -------------------------------------------------------------------------------- /examples/example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/examples/example.c -------------------------------------------------------------------------------- /examples/run_example.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/examples/run_example.sh -------------------------------------------------------------------------------- /headers/mini_loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/headers/mini_loader.h -------------------------------------------------------------------------------- /hook_configurations/simple_hello_hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/hook_configurations/simple_hello_hook.py -------------------------------------------------------------------------------- /hooks/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/hooks/Makefile -------------------------------------------------------------------------------- /hooks/mem_change_protection_hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/hooks/mem_change_protection_hook.c -------------------------------------------------------------------------------- /hooks/simple_hello_hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/hooks/simple_hello_hook.c -------------------------------------------------------------------------------- /makefiles/compilers.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/makefiles/compilers.mk -------------------------------------------------------------------------------- /makefiles/generic.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/makefiles/generic.mk -------------------------------------------------------------------------------- /mini_loaders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mini_loaders/arm/aarch64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/arm/aarch64.c -------------------------------------------------------------------------------- /mini_loaders/arm/aarch64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/arm/aarch64.h -------------------------------------------------------------------------------- /mini_loaders/arm/arm32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/arm/arm32.c -------------------------------------------------------------------------------- /mini_loaders/arm/arm32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/arm/arm32.h -------------------------------------------------------------------------------- /mini_loaders/compile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/compile.py -------------------------------------------------------------------------------- /mini_loaders/compile.sh: -------------------------------------------------------------------------------- 1 | python3 compile.py --action clean make 2 | -------------------------------------------------------------------------------- /mini_loaders/compile_lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mini_loaders/compile_lib/shelf_extract_relative_symbols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/compile_lib/shelf_extract_relative_symbols.py -------------------------------------------------------------------------------- /mini_loaders/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/debug.h -------------------------------------------------------------------------------- /mini_loaders/eshelf/eshelf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/eshelf/eshelf.h -------------------------------------------------------------------------------- /mini_loaders/generic_loader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/generic_loader.c -------------------------------------------------------------------------------- /mini_loaders/generic_loader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/generic_loader.h -------------------------------------------------------------------------------- /mini_loaders/hooks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/hooks.h -------------------------------------------------------------------------------- /mini_loaders/hooks/simple_hello_hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/hooks/simple_hello_hook.c -------------------------------------------------------------------------------- /mini_loaders/intel/x32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/intel/x32.c -------------------------------------------------------------------------------- /mini_loaders/intel/x32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/intel/x32.h -------------------------------------------------------------------------------- /mini_loaders/intel/x64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/intel/x64.c -------------------------------------------------------------------------------- /mini_loaders/intel/x64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/intel/x64.h -------------------------------------------------------------------------------- /mini_loaders/mips/mips.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/mips/mips.c -------------------------------------------------------------------------------- /mini_loaders/mips/mips.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/mips/mips.h -------------------------------------------------------------------------------- /mini_loaders/parallel_api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mini_loaders/parallel_api/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/parallel_api/api.py -------------------------------------------------------------------------------- /mini_loaders/parallel_api/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/parallel_api/consts.py -------------------------------------------------------------------------------- /mini_loaders/parallel_api/multi_process_comm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/parallel_api/multi_process_comm.py -------------------------------------------------------------------------------- /mini_loaders/parallel_api/multi_process_job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/parallel_api/multi_process_job.py -------------------------------------------------------------------------------- /mini_loaders/riscv/riscv64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/riscv/riscv64.c -------------------------------------------------------------------------------- /mini_loaders/riscv/riscv64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/mini_loaders/riscv/riscv64.h -------------------------------------------------------------------------------- /osals/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/debug.h -------------------------------------------------------------------------------- /osals/linux/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/debug.c -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/arm/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/arm/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/arm/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/arm/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/arm64/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/arm64/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/arm64/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/arm64/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_0.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_0.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_1.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_2.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_3.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_4.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/generic/syscalls_extend_5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/generic/syscalls_extend_5.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/i386/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/i386/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/i386/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/i386/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/mips/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/mips/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/mips/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/mips/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/riscv64/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/riscv64/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/riscv64/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/riscv64/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/x86_64/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/x86_64/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/arch/x86_64/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/arch/x86_64/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/defs.h -------------------------------------------------------------------------------- /osals/linux/syscalls/syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls/syscalls.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/more.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/more.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/more.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/more.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/poll.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/poll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/poll.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/port.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/ioctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/ioctl.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/ioctl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/ioctl.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/mman.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/mman.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/mman.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/mman.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/mount.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/mount.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/mount.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/mount.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/select.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/select.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/select.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/signal.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/signal.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/stat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/stat.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/stat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/stat.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/time.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/time.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/wait.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/sys/wait.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/sys/wait.h -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/unistd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/unistd.c -------------------------------------------------------------------------------- /osals/linux/syscalls_wrapper/unistd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/linux/syscalls_wrapper/unistd.h -------------------------------------------------------------------------------- /osals/sprintf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/sprintf.c -------------------------------------------------------------------------------- /osals/sprintf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/sprintf.h -------------------------------------------------------------------------------- /osals/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/string.c -------------------------------------------------------------------------------- /osals/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/osals/string.h -------------------------------------------------------------------------------- /run_examples.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/run_examples.sh -------------------------------------------------------------------------------- /shelf/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/MANIFEST.in -------------------------------------------------------------------------------- /shelf/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/setup.py -------------------------------------------------------------------------------- /shelf/shelf/__init__.py: -------------------------------------------------------------------------------- 1 | from shelf.relocate import make_shellcode 2 | -------------------------------------------------------------------------------- /shelf/shelf/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/__main__.py -------------------------------------------------------------------------------- /shelf/shelf/__version__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/__version__.py -------------------------------------------------------------------------------- /shelf/shelf/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/api/__init__.py -------------------------------------------------------------------------------- /shelf/shelf/api/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/api/api.py -------------------------------------------------------------------------------- /shelf/shelf/api/utilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/api/utilities/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/api/utilities/binary.py -------------------------------------------------------------------------------- /shelf/shelf/arm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/arm/aarch64_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/arm/aarch64_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/arm/arm_32_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/arm/arm_32_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/arm/x32.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/arm/x32.py -------------------------------------------------------------------------------- /shelf/shelf/arm/x64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/arm/x64.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/__init__.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/base_hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/base_hook.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/builtin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/hooks/builtin/change_memory_protection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/builtin/change_memory_protection.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/builtin/descriptors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/builtin/descriptors.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/builtin/rwx_bypass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/builtin/rwx_bypass.py -------------------------------------------------------------------------------- /shelf/shelf/hooks/hooks_configuration_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/hooks/hooks_configuration_parser.py -------------------------------------------------------------------------------- /shelf/shelf/intel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/intel/intel_irelative_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/intel_irelative_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/intel/x32.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/x32.py -------------------------------------------------------------------------------- /shelf/shelf/intel/x32_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/x32_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/intel/x32_opcodes_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/x32_opcodes_analysis.py -------------------------------------------------------------------------------- /shelf/shelf/intel/x64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/x64.py -------------------------------------------------------------------------------- /shelf/shelf/intel/x64_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/intel/x64_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/lib/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/consts.py -------------------------------------------------------------------------------- /shelf/shelf/lib/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/exceptions.py -------------------------------------------------------------------------------- /shelf/shelf/lib/ext/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/lib/ext/dynamic_relocations_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/ext/dynamic_relocations_base.py -------------------------------------------------------------------------------- /shelf/shelf/lib/ext/loader_symbols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/ext/loader_symbols.py -------------------------------------------------------------------------------- /shelf/shelf/lib/ext/opcodes_analysis_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/ext/opcodes_analysis_base.py -------------------------------------------------------------------------------- /shelf/shelf/lib/five.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/five.py -------------------------------------------------------------------------------- /shelf/shelf/lib/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/lib/plugins/base_shelf_plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/plugins/base_shelf_plugins.py -------------------------------------------------------------------------------- /shelf/shelf/lib/plugins/memory_dump/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/lib/plugins/memory_dump/shelf_memory_dumps_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/plugins/memory_dump/shelf_memory_dumps_plugin.py -------------------------------------------------------------------------------- /shelf/shelf/lib/shellcode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/shellcode.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/address_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/address_utils.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/disassembler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/disassembler.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/general.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/hooks.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/match_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/match_utils.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/memory_section.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/memory_section.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/mini_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/mini_loader.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/objdump_disassembler_backend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/objdump_disassembler_backend.py -------------------------------------------------------------------------------- /shelf/shelf/lib/utils/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/lib/utils/process.py -------------------------------------------------------------------------------- /shelf/shelf/mips/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/mips/mips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/mips/mips.py -------------------------------------------------------------------------------- /shelf/shelf/mips/mips_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/mips/mips_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/relocate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/relocate.py -------------------------------------------------------------------------------- /shelf/shelf/resources/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/resources/__init__.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/riscv/enums64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/enums64.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/opcodes_analyzer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shelf/shelf/riscv/opcodes_analyzer/candidate_matchers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/opcodes_analyzer/candidate_matchers.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/opcodes_analyzer/instructions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/opcodes_analyzer/instructions/__init__.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/opcodes_analyzer/relocation_candidates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/opcodes_analyzer/relocation_candidates.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/riscv64.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/riscv64.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/riscv64_dynamic_relocations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/riscv64_dynamic_relocations.py -------------------------------------------------------------------------------- /shelf/shelf/riscv/riscv64_opcodes_analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf/shelf/riscv/riscv64_opcodes_analyzer.py -------------------------------------------------------------------------------- /shelf_loader_publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shelf_loader_publish.sh -------------------------------------------------------------------------------- /shelf_publish.sh: -------------------------------------------------------------------------------- 1 | ./upload.sh shelf -------------------------------------------------------------------------------- /shellcode_loader/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/Makefile -------------------------------------------------------------------------------- /shellcode_loader/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shellcode_loader/hal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/hal.h -------------------------------------------------------------------------------- /shellcode_loader/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/main.c -------------------------------------------------------------------------------- /shellcode_loader/run_shellcode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | python ./shelf_loader/__main__.py $@ -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/MANIFEST.in -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/setup.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/__main__.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/consts.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/extractors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/extractors/__init__.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/extractors/base_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/extractors/base_extractor.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/extractors/loader_information_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/extractors/loader_information_extractor.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/extractors/opcodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/extractors/opcodes.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/extractors/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/extractors/utils.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/gdb_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/gdb_main.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/gdb_utils.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/gdb_utils.gdb -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/shelf_debug_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/gdb_scripts/shelf_debug_flow.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/interactive_debugger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/interactive_debugger/interactive_debugger.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/loader.py -------------------------------------------------------------------------------- /shellcode_loader/shelf_loader/shelf_loader/resources/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/shellcode_loader/shelf_loader/shelf_loader/resources/__init__.py -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/elf_features.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/elf_features.c -------------------------------------------------------------------------------- /tests/no_libc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/no_libc.h -------------------------------------------------------------------------------- /tests/no_relocations.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/no_relocations.c -------------------------------------------------------------------------------- /tests/run_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/run_tests.py -------------------------------------------------------------------------------- /tests/test_framework_tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/test_framework_tests.c -------------------------------------------------------------------------------- /tests/test_package.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/test_package.py -------------------------------------------------------------------------------- /tests/test_runner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_runner/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/test_runner/consts.py -------------------------------------------------------------------------------- /tests/test_runner/test_run_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/test_runner/test_run_utils.py -------------------------------------------------------------------------------- /tests/test_runner/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/test_runner/tests.py -------------------------------------------------------------------------------- /tests/tests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/tests/tests.h -------------------------------------------------------------------------------- /upload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonatanSh/shelf/HEAD/upload.sh --------------------------------------------------------------------------------