NHAS/reverse_ssh

Problems with protocol judgement

shanjunmei opened this issue · 1 comments

validMethods := [][]byte{

The code protocol only gets the first three bytes, which means that all http requests will be misjudged except for GET and PUT methods, e.g. POST has four bytes

NHAS commented

Yep definitely an oversight. Thanks!