Commit 3824de8d authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 27ffbdd8
......@@ -9,7 +9,7 @@ const server = socksv5.createServer((_, resolve) => resolve())
server.listen(PORT, () => console.log(`Listen: localhost:${PORT}`))
server.useAuth(socksv5.auth.UserPassword((username, password, cb) => {
console.log('user ' + username + ' ' + ' pass ' + password)
isAuthUser(username, password, cb)
}))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment