ChrisTheCoolHut / Zeratool

Automatic Exploit Generation (AEG) and remote flag capture for exploitable CTF problems
GNU General Public License v3.0
1.11k stars 147 forks source link

added support for ret2dlresolve and remote libc leaking #24

Closed ChrisTheCoolHut closed 2 years ago

ChrisTheCoolHut commented 2 years ago
(angr_pwn) ➜  Zeratool git:(overflow_leak_remote_libc) ✗ pytest -v .     
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /home/chris/.virtualenvs/angr_pwn/bin/python
cachedir: .pytest_cache
rootdir: /home/chris/projects/Zeratool
plugins: forked-1.4.0, xdist-2.5.0
collected 22 items                                                                                                                                                                            

tests/bof_test.py::test_detect_32 PASSED                                                                                                                                                [  4%]
tests/bof_test.py::test_detect_64 PASSED                                                                                                                                                [  9%]
tests/bof_test.py::test_get_win_func PASSED                                                                                                                                             [ 13%]
tests/bof_test.py::test_pwn_win_func_32 PASSED                                                                                                                                          [ 18%]
tests/bof_test.py::test_pwn_win_func_64 PASSED                                                                                                                                          [ 22%]
tests/bof_test.py::test_pwn_win_sc_32 PASSED                                                                                                                                            [ 27%]
tests/bof_test.py::test_pwn_win_sc_64 PASSED                                                                                                                                            [ 31%]
tests/bof_test.py::test_send_exploit PASSED                                                                                                                                             [ 36%]
tests/bof_test.py::test_leak_rop_32 PASSED                                                                                                                                              [ 40%]
tests/bof_test.py::test_leak_rop_64 PASSED                                                                                                                                              [ 45%]
tests/bof_test.py::test_pwn_rop_32 PASSED                                                                                                                                               [ 50%]
tests/bof_test.py::test_pwn_rop_64 PASSED                                                                                                                                               [ 54%]
tests/bof_test.py::test_pwn_libc_rop_32 SKIPPED (Not yet finished)                                                                                                                      [ 59%]
tests/bof_test.py::test_pwn_libc_rop_64 PASSED                                                                                                                                          [ 63%]
tests/bof_test.py::test_remote_libc_leak_64 PASSED                                                                                                                                      [ 68%]
tests/bof_test.py::test_pwn_dlresolve_64 PASSED                                                                                                                                         [ 72%]
tests/format_test.py::test_detect_32 PASSED                                                                                                                                             [ 77%]
tests/format_test.py::test_detect_64 PASSED                                                                                                                                             [ 81%]
tests/format_test.py::test_leak_32 PASSED                                                                                                                                               [ 86%]
tests/format_test.py::test_leak_64 PASSED                                                                                                                                               [ 90%]
tests/format_test.py::test_win_32 PASSED                                                                                                                                                [ 95%]
tests/format_test.py::test_win_64 PASSED                                                                                                                                                [100%]

========================================================================== 21 passed, 1 skipped in 217.83s (0:03:37) ==========================================================================