l3mpik / slither-feeder-bot

Slither.io FeederBots
MIT License
16 stars 17 forks source link

socks4/5 and http support?? #24

Closed anonymousxxx02 closed 8 years ago

anonymousxxx02 commented 8 years ago

@l3mpik bro can you add #socks4 #sock5 #http support just like ogar feeder bot???? i tried that yesterday but no succses :(

Wartoz commented 8 years ago

socks5 support already exists dist/bot.js add this lines :

            } else if (mode === 'socks') {
                console.log('Mode socks, proxy', proxyServer);
                let temp = proxyServer.split(':');
                let socksIp = temp[0]
                let socksPort = temp[1];
                requestOptions.agent = new Socks.Agent({
                    proxy: {
                        ipaddress: socksIp,
                        port: socksPort,
                        type: 5
                    }
                });
            }

and change var mode = 'http'; to var mode = 'socks';

anonymousxxx02 commented 8 years ago

@Wartoz yes i know that..i ask for something like ogar fedder bot

socks4

//sock4 proxies

socks5

//sock4 proxies

http

//http proxiest

Wartoz commented 8 years ago

hmm i see

l3mpik commented 8 years ago

i support only http and socks5 . Sorry. Maybe later.

yario-o commented 8 years ago

https://github.com/dahquan/rattlesnake/issues/70

yario-o commented 8 years ago

@anonymousxxx02 I just add SOCKS4

yario-o commented 8 years ago

Multi Proxy Support of slither-feeder-bot : https://github.com/yario-o/slither-feeder-bot Multi Proxy Support of rattlesnake : https://github.com/yario-o/rattlesnake/tree/SocksAndHTTP/

yario-o commented 8 years ago

Pull request : https://github.com/l3mpik/slither-feeder-bot/pull/31