Commit 7f8aa48e authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent ef135ac2
...@@ -67,7 +67,7 @@ async function run() { ...@@ -67,7 +67,7 @@ async function run() {
console.log(data) console.log(data)
portRes=parseInt(data.port) portRes=parseInt(data.port)
console.log(portRes) console.log(portRes)
if (portRes === 0 || portRes === 443 || portRes ===5) { if (portRes === 0 || portRes ===5) {
port = randomInt(4000, 60000) port = randomInt(4000, 60000)
secret=await shellExec('head -c 16 /dev/urandom | xxd -ps') secret=await shellExec('head -c 16 /dev/urandom | xxd -ps')
secret=secret.stdout.replace('\n','') secret=secret.stdout.replace('\n','')
......
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