chore: attribute to ZSecurity / Linuxhackingid

This commit is contained in:
ZSecurity
2026-10-24 14:07:07 +07:00
parent fd0227d68d
commit 7f969e47f0
3 changed files with 23 additions and 4 deletions
+5 -2
View File
@@ -8,7 +8,7 @@ in the target page.
$ ./lab/up.sh
target: OK
$ python -m poc exploit
php2shell poc 0.1.0 | Hermes Agent | independent security research
php2shell poc 0.1.0 | ZSecurity | Linuxhackingid
[1/4] A1 oom status=HTTP/1.0 500 Internal Server Error
[2/4] B1 leak decoded=819208 libphp=0x78991f26f000 main=0x78991d600000 count=87
[3/4] A2 oom status=HTTP/1.0 500 Internal Server Error
@@ -17,7 +17,7 @@ php2shell poc 0.1.0 | Hermes Agent | independent security research
uid=33(www-data) gid=33(www-data) groups=33(www-data)
```
`__author__` Hermes Agent · `__org__` independent security research · v0.1.0
`__author__` ZSecurity · `__org__` Linuxhackingid · v0.1.0
---
@@ -283,6 +283,9 @@ test and to generate the golden body hashes. Nothing in `poc/` imports it.
## Attribution
PoC, harness and calibration: **ZSecurity — Linuxhackingid** (`__author__` / `__org__` in
`poc/__init__.py`, and the banner every command prints).
Primitive discovery and public analysis: Wiz Research ("PHP2Shell"), the PHP security team
(Jakub Zelenka), and the authors of the public reference chain used for control testing and
golden-hash generation. This repository is an independent rebuild of those published primitives
+2 -2
View File
@@ -1,3 +1,3 @@
__author__ = "Hermes Agent"
__org__ = "independent security research"
__author__ = "ZSecurity"
__org__ = "Linuxhackingid"
__version__ = "0.1.0"
+16
View File
@@ -67,6 +67,22 @@ class UrlTargetTest(unittest.TestCase):
self.assertEqual(ns.port, 7000)
class BannerTest(unittest.TestCase):
def test_banner_carries_author_and_org(self):
import contextlib
import io
import poc
buf = io.StringIO()
with contextlib.redirect_stdout(buf):
cli.banner()
out = buf.getvalue()
self.assertIn(poc.__author__, out)
self.assertIn(poc.__org__, out)
self.assertIn(poc.__version__, out)
class ExecWrapperTest(unittest.TestCase):
def test_wrapper_redirects_output_to_mount(self):
wrapped = cli.exec_wrapper("id")