
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
github.com/c3b2a7/ssh-tunnel
A tunneling tool based on ssh protocol can be used for port forwarding. No dependency and out of the box.
local
,remote
,dynamic
ssh port forwardingssh-key
,password
authentication methodcurl https://get.extism.org/cli | sh
See the help output for more options:
curl https://get.extism.org/cli | sh -s -- -h
go install github.com/c3b2a7/sshtunnel@latest
You can also download and extract the latest release from https://github.com/c3b2a7/sshtunnel/releases
./sshtunnel
Usage of ./sshtunnel:
-config string
config file
-v show version information
-verbose
verbose mode
At first, you need write a configuration like this:
{
"target": "host:port",
"username": "username",
"private-key": "location of ssh private key",
"passphrase": "private-key passphrase or password of username",
"tunnels": [
{
"local": "127.0.0.1:13306",
"remote": "172.16.0.14:3306",
"mode": "local"
},
{
"local": "127.0.0.1:8080",
"remote": "0.0.0.0:18080",
"mode": "remote"
},
{
"local": "127.0.0.1:1080",
"mode": "dynamic"
}
]
}
and then, use the following command to start ssh tunnel:
./sshtunnel -config /path/to/config -verbose
after the tunnel is established:
connect to the remote MySQL service like connecting to the local:
mysql -h 127.0.0.1 -P 13306 -u root -p # in local
connect to local service in remote:
nc -l 8080 # in local
nc localhost 18080 # in remote
connect to dynamic addr using socks5 protocol via remote server:
curl -x socks5://localhost:1080 ip.sb # in local
MIT
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.