You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/kali/EtherGhost/ether_ghost/core/php_session_common.py", line 1360, in submit_unwrapped
status_code, text = await self.submit_http(payload_encoded)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/EtherGhost/ether_ghost/sessions/php_behinder.py", line 131, in submit_http
data = behinder_aes(payload, self.key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/EtherGhost/ether_ghost/sessions/php_behinder.py", line 55, in behinder_aes
payload_padded = pad(payload, AES.block_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/EtherGhost/env/lib/python3.12/site-packages/Crypto/Util/Padding.py", line 64, in pad
return data_to_pad + padding
~~~~~~~~~~~~^~~~~~~~~
TypeError: can only concatenate str (not "bytes") to str
安装最新版
环境 php 8.0.1 和 8.4.1
https://github.com/IshtarStar/docker-compose-nginx-phpfpm
马为https://github.com/Marven11/EtherGhost/blob/main/test_environment/behinder.php
默认配置,连接报错如下
将
payload_padded = pad(payload, AES.block_size)
改为payload_padded = pad(payload_bytes, AES.block_size)
后,再次连接,报错如下修改
for($i = 0; $i < count($eg_decoder_hooks); $i ++) {{
为for($i = 0; $i < count($eg_decoder_hooks ?? []); $i ++) {{
功能正常,但勾选流量加密后失效
请求、响应如下
The text was updated successfully, but these errors were encountered: