Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use it without luarocks, can i install it by compiling src code? #7

Open
nemoyin opened this issue Dec 20, 2016 · 2 comments
Open

Comments

@nemoyin
Copy link

nemoyin commented Dec 20, 2016

rt

@nemoyin
Copy link
Author

nemoyin commented Dec 20, 2016

there is no example for user authentication ,
i came across an error for sending username and password
i use
cosocket:send(char(0x01) .. char(0x84) .. (userName) .. char(0x84) .. (password))

local res, err = cosocket.receive()

@starius
Copy link
Owner

starius commented Dec 20, 2016

Hi,

how to use it without luarocks

Just copy the file socks5.lua to the place where you can require it from Lua.

can i install it by compiling src code?

Compilation is not needed - it just pure Lua file.

there is no example for user authentication

Sock5 authentication is not supported yet. Feel free to add it in a pull request :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants