dofus-protocol

0.0.1 • Public • Published

dofus-protocol

Try it on gitpod NPM version Build Status

Network protocol for dofus : create client and servers for dofus 1.30

Installation

npm i

Sniffer

cd examples/sniffer && npm i

Usage

Sniffer

Yes node-pcap need root

sudo node examples/sniffer/sniffer.js [network interface(ifconfig)]

Bot

node examples/simpleBot.js -u [my_username] -p [my_password] [-d [delay_between_packets] default: 0]

Proxy

Add IP table rule

sysctl -w net.ipv4.conf.[YOUR_NETWORK_INTERFACE].route_localnet=1
sudo iptables -t nat -A OUTPUT -p tcp --dport 887 -d 190.115.26.127 -j DNAT --to-destination 127.0.0.1:34555

Remove all non default IP table rule

sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X

Readme

Keywords

Package Sidebar

Install

npm i dofus-protocol

Weekly Downloads

8

Version

0.0.1

License

MIT

Unpacked Size

140 kB

Total Files

28

Last publish

Collaborators

  • louis030195