Closed jm33-m0 closed 4 years ago
Related to #3
2020/03/09 10:42:01 Read 0 bytes from port 80: EOF
looks weird. With retry, however, it grabs the bytes and sends back to CC, only the response looks odd as well.
https://github.com/jm33-m0/emp3r0r/commit/a7d6787df158520929681ad36d5c21eb6b19fbc4
https://github.com/jm33-m0/emp3r0r/commit/06881f7265c95fcc6903e788abd4e41ce93d8653
looks like io.Copy
solves this issue.
So far both side are using io.Copy
to connect h2conn
and net.Conn
When using ncat to test, the port-mapping works okay, I can even run a reverse shell inside ncat connection. Other services such as SSH and HTTP server, don't work at all.