Commit graph

9 commits

Author SHA1 Message Date
Mr.X
1b1f93ae5c
Make test_ssti and test_xpath runnable standalone (#6136)
Some checks failed
/ build (macos-latest, 3.8) (push) Has been cancelled
/ build (ubuntu-latest, pypy-2.7) (push) Has been cancelled
/ build (windows-latest, 3.14) (push) Has been cancelled
Every tests/test_*.py file provides an

    if __name__ == "__main__":
        unittest.main(...)

entrypoint so it can be run directly, except test_ssti.py and
test_xpath.py. Running either of those directly produced no output and
executed none of its tests; they only ran under `unittest discover`.

Add the missing entrypoint to both so they behave like the rest of the
suite. No test logic changed (62 and 48 tests respectively still pass).
2026-10-05 23:54:39 +02:00
Miroslav Štampar
36ebce6935 Tons of stabilization of non-SQLi techniques 2026-07-23 12:15:45 +02:00
Miroslav Štampar
b38eb79ed0 Implementing support for Struts2 into --ssti 2026-07-17 09:56:32 +02:00
Miroslav Štampar
2fec735b13 Minor patches 2026-07-10 11:36:40 +02:00
Miroslav Štampar
346c9d9f03 Minor patch
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run
2026-07-10 07:58:07 +02:00
Miroslav Štampar
d60e95ede7 Some more stabilization of unittests
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run
2026-07-02 22:52:02 +02:00
Miroslav Štampar
f932a3f30f Minor refactoring 2026-06-30 20:45:46 +02:00
Miroslav Štampar
7b60bc8284 Minor improvements 2026-06-29 22:20:22 +02:00
Miroslav Štampar
820efa7a8a Adding switch --ssti 2026-06-29 11:43:10 +02:00