All Projects → mattcg → Socks5 Http Client

mattcg / Socks5 Http Client

SOCKS v5 HTTP client implementation in JavaScript for Node.js.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Socks5 Http Client

soxy-driver
A docker networking driver that transparently tunnels docker containers TCP traffic through a proxy
Stars: ✭ 25 (-90.12%)
Mutual labels:  tor, socks
auto-change-tor-ip
Automatically change tor ip address over time when accessing the internet. Make it private and safe for you
Stars: ✭ 29 (-88.54%)
Mutual labels:  tor, socks
Kuhero
websocket proxy on heroku
Stars: ✭ 192 (-24.11%)
Mutual labels:  tor, socks
Tor Socks Proxy
🐳 Tiny Docker(🤏 10MB) image as 🧅 Tor SOCKS5 proxy 🛡
Stars: ✭ 218 (-13.83%)
Mutual labels:  tor, socks
Ighack
Hack Instagram From Termux With Help of Tor
Stars: ✭ 206 (-18.58%)
Mutual labels:  tor
Awesome Tor
A list of awesome Tor related projects, articles, papers, etc
Stars: ✭ 182 (-28.06%)
Mutual labels:  tor
Dpitunnel
DPITunnel is an android app made for censorship bypass
Stars: ✭ 179 (-29.25%)
Mutual labels:  socks
Magicpad
MagicPad is an encryption suite for beginners. It is designed to be run standalone via the browser or executable (Electron).
Stars: ✭ 174 (-31.23%)
Mutual labels:  tor
Thechoice
The linux choice collection tools
Stars: ✭ 245 (-3.16%)
Mutual labels:  tor
Autosqli
An automatic SQL Injection tool which takes advantage of ~DorkNet~ Googler, Ddgr, WhatWaf and sqlmap.
Stars: ✭ 222 (-12.25%)
Mutual labels:  tor
Tor
unofficial git repo -- report bugs/issues/pull requests on https://gitlab.torproject.org/ --
Stars: ✭ 2,809 (+1010.28%)
Mutual labels:  tor
Online Privacy Test Resource List
Privacy Online Test and Resource Compendium (POTARC) 🕵🏻
Stars: ✭ 185 (-26.88%)
Mutual labels:  tor
Txtorcon
Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
Stars: ✭ 215 (-15.02%)
Mutual labels:  tor
Torsharp
Use Tor for your C# HTTP clients. Tor + Privoxy = ❤️
Stars: ✭ 180 (-28.85%)
Mutual labels:  tor
Lightsocks Python
⚡️一个轻巧的网络混淆代理🌏
Stars: ✭ 235 (-7.11%)
Mutual labels:  socks
Torrequest
Simple Python interface for HTTP(s) requests over Tor
Stars: ✭ 175 (-30.83%)
Mutual labels:  tor
Proxybroker
Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS 🎭
Stars: ✭ 2,767 (+993.68%)
Mutual labels:  socks
Socks
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
Stars: ✭ 200 (-20.95%)
Mutual labels:  socks
Adamant Im
ADAMANT Decentralized Messenger. Progressive Web Application (PWA)
Stars: ✭ 202 (-20.16%)
Mutual labels:  tor
Invizible
Android application for Internet privacy and security
Stars: ✭ 251 (-0.79%)
Mutual labels:  tor

SOCKS5 HTTP Client

Build Status

SOCKS v5 HTTP client implementation in JavaScript for Node.js.

var shttp = require('socks5-http-client');

shttp.get('http://www.google.com/', function(res) {
	res.setEncoding('utf8');
	res.on('readable', function() {
		console.log(res.read()); // Log response to console.
	});
});

URLs are parsed using url.parse. You may also pass an options hash as the first argument to get or request.

Options

Specify the socksHost and socksPort options if your SOCKS server isn't running on localhost:1080. Tor runs its SOCKS server on port 9050 by default, for example.

Specify a username and password using socksUsername and socksPassword.

Using with Tor

Works great for making HTTP requests through Tor.

Make sure a Tor server is running locally and run node example/tor http://en.wikipedia.org/wiki/SOCKS to test.

Using with Request

To use with Request, just pass a reference to the Agent constructor.

var Agent = require('socks5-http-client/lib/Agent');

request({
	url: 'http://en.wikipedia.org/wiki/SOCKS',
	agentClass: Agent,
	agentOptions: {
		socksHost: 'my-tor-proxy-host', // Defaults to 'localhost'.
		socksPort: 9050 // Defaults to 1080.
	}
}, function(err, res) {
	console.log(err || res.body);
});

HTTPS

This client only provides support for making HTTP requests. See socks5-https-client for an HTTPS implementation.

License

Copyright © 2013 Matthew Caruana Galizia, licensed under an MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].