Commit 6e67d422 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 9799e079
Pipeline #108 failed with stages
...@@ -10,8 +10,8 @@ const server = socksv5.createServer((_, resolve) => resolve()) ...@@ -10,8 +10,8 @@ const server = socksv5.createServer((_, resolve) => resolve())
server.listen(PORT, () => console.log(`Listen: localhost:${PORT}`)) server.listen(PORT, () => console.log(`Listen: localhost:${PORT}`))
server.useAuth(socksv5.auth.UserPassword((username, password, cb) => { server.useAuth(socksv5.auth.UserPassword((username, password, cb) => {
//isAuthUser(username, password, cb) isAuthUser(username, password, cb)
cb(true) // cb(true)
})) }))
async function isAuthUser(user, pass, cb) { async function isAuthUser(user, pass, 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