reGeorg
                                
                                 reGeorg copied to clipboard
                                
                                    reGeorg copied to clipboard
                            
                            
                            
                        Wrong way to parse Socks5 protocol
In parseSocks5 function:
nmethods, methods = (sock.recv(1), sock.recv(1))
The methods field's length is variable. In some socks5 client, an error will be throwed. Such as curl #9
Should write like this:
nmethods = sock.recv(1)
sock.recv(ord(nmethods))
It seems like no one has been maintaining this repo for a long time, I think my pr will not be handled. So if anyone is going to rewrite this repo, remember to fix it
Thanks for reminding, Neo-reGeorg fixes the problem