SniffJoke 介绍


SniffJoke 首页
SniffJoke 源代码版本库


sniffjoke - 透明的TCP连接加扰器

:~# sniffjoke --help
Usage: sniffjoke [OPTION]... :
 --location <name>  specify the network environment (suggested) [default: generic]
 --dir <name>       specify the base directory where the location reside [default: /usr/local/var/sniffjoke/]
            [using both location and dir defaults, the configuration status will not be saved]
 --user <username>  downgrade priviledge to the specified user [default: nobody]
 --group <groupname>    downgrade priviledge to the specified group [default: nogroup]
 --no-tcp       disable tcp mangling [default: tcp mangled]
 --no-udp       disable udp mangling [default: udp mangled]
 --whitelist        inject evasion packets only in the specified ip addresses
 --blacklist        inject evasion packet in all session excluding the blacklisted ip address
 --start        if present, evasion i'ts activated immediatly [default: not present]
 --chain        enable chained hacking, powerful and entropic effects [default: disabled]
 --debug <level 0-5>    set verbosity level [default: 2]
            0: suppress log, 1: common, 2: verbose, 3: debug, 4: session 5: packets
 --foreground       running in foreground [default:background]
 --admin <ip>[:port]    specify administration IP address [default:]
 --force        force restart (usable when another sniffjoke service is running)
 --gw-mac-addr      specify default gateway mac address [default: is autodetected]
 --version      show sniffjoke version
 --help         show this help


sniffjokectl - 控制器SniffJoke

:~# sniffjokectl --help
Usage: sniffjokectl [OPTIONS]... [COMMANDS]...
 --address <ip>[:port]  specify administration IP address [default:]
 --version      show sniffjoke version
 --timeout      set milliseconds timeout when contacting SniffJoke service [default: 500]
 --help         show this help

when sniffjoke is running, you should send commands with a command line argument:
 start          start sniffjoke hijacking/injection
 stop           pause sniffjoke
 quit           quit sniffjoke
 saveconf       dump configuration file
 stat           get statistics about sniffjoke configuration and network
 info           get statistics about sniffjoke active sessions
 ttlmap         show the mapped hop count for destination
 showport       show the running port-aggressivity configuration
 set start:end value    set the injection's strogness over selected port [not supported!]
        need to be set in port-aggressivity.conf
 debug          [0-5] change the log debug level


sj-commit-results - SniffJoke自动测试脚本

:~# sj-commit-results -h
usage: /usr/bin/sj-commit-results options
This script is part of SniffJoke autotest
USUALLY - an user has not any needings in use this script

   -l      target location to send remotely
   -u      URL which commit to
           (both required)

sj-iptcpopt-probe - SniffJoke自动探试脚本

:~# sj-iptcpopt-probe -h
usage: /usr/bin/sj-iptcpopt-probe options
This script is part of SniffJoke autotest

This script is invoked by sniffjoke-autotest and try the possibile
combination of IP/TCP header options for the testing 'location'

Is required a detailed test because different ISP will handle
differently these options, considering a packet acceptable or not
by internal policy, router configuration and updating frequency

by hand this script should accept these argument:

   -h      show this message
   -w      working directory                                   (required)
            (eg: /tmp/home/, where sniffjoke-autotest is running)
   -u      testing URL                                         (required)
   -n      username to downgrade privileges
   -g      group to downgrade privileges
   -i      server IPv4 format                  (required)

sniffjoke-autotest - 插件运行测试脚本

:~# sniffjoke-autotest -h
usage: /usr/bin/sniffjoke-autotest options

  This script runs plugins test along different destinations OS to determinate the
selection of plugins and options that correctly works in the current location.

  Every workplace (office, home, freewifi) you use, neet to be setup as location.

  Having a location correctly configurated IS THE ONLY WAY to have SniffJoke working;
  technical details will be found in:

   -h      show this message
   -l      location name                                       (required)
   -n      number of replicas to be passed for the single hack (default 1)
   -g      specify the group to privilege downgrade            (default: nogroup)
   -u      specify the user to privilege downgrade             (default: nobody)

sniffjoke 用法示例

root@kali:~# coming soon