e13a9f382067cfe836b86faab70ef5474d32f8cc
Chrome's Hammer
A Chrome App that runs a local SOCKS5 proxy on 127.0.0.1:1080, routing traffic through Chrome's networking stack.
Installation
- Go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select this folder
Usage Examples
curl
curl --socks5 127.0.0.1:1080 https://httpbin.org/ip
ssh
ssh -o ProxyCommand="nc -X 5 -x 127.0.0.1:1080 %h %p" user@host
perl
use IO::Socket::SOCKS;
my $sock = IO::Socket::SOCKS->new(
ProxyAddr => '127.0.0.1',
ProxyPort => 1080,
ConnectAddr => 'httpbin.org',
ConnectPort => 80
);
python
pip install requests[socks]
import requests
proxies = {
'http': 'socks5://127.0.0.1:1080',
'https': 'socks5://127.0.0.1:1080'
}
response = requests.get('https://httpbin.org/ip', proxies=proxies)
print(response.json())
nodejs
npm install socks-proxy-agent
const { SocksProxyAgent } = require('socks-proxy-agent');
const agent = new SocksProxyAgent('socks5://127.0.0.1:1080');
fetch('https://httpbin.org/ip', { agent })
.then(r => r.json())
.then(console.log);
How It Works
Chrome's Hammer acts as a true SOCKS5 proxy server, creating bidirectional TCP tunnels between your applications and destination servers through Chrome's networking.
Description
Languages
JavaScript
71.4%
HTML
28.6%
