You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

black-socks-server

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

black-socks-server - npm Package Compare versions

Comparing version

to
1.0.4

chrome.js

2

package.json
{
"name": "black-socks-server",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "server.js",

@@ -27,4 +27,4 @@ const net = require('net')

stream.on('data',(buf)=>{
this.next_stage()
this[this.stage](buf)
console.log(buf)
this.tunnel(buf[0],buf.slice(1))
})

@@ -35,2 +35,14 @@

tunnel(id,data)
{
if(id == 0x00)
{
this.chromes.push(new chrome(data))
}
else
{
this.chromes[id].send(data)
}
}
log(str)

@@ -37,0 +49,0 @@ {