SniffJoke包装说明

SniffJoke是Linux可以处理透明的TCP连接,延迟,modifyng和你变速器内注入伪造数据包,使他们几乎不可能被正确地被动窃听技术(IDS或嗅探器)读取的应用程序。

资料来源:https://github.com/vecna/sniffjoke
SniffJoke首页 | 卡利SniffJoke回购

  • 作者:维克那,evilaliv3
  • 许可:GPLv3的

包含在sniffjoke包工具

sniffjoke - 透明的TCP连接加扰器
[email protected]:~# 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: 127.0.0.1:8844]
 --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

            http://www.delirandom.net/sniffjoke

sniffjokectl - 控制器SniffJoke

[email protected]:~# sniffjokectl --help
Usage: sniffjokectl [OPTIONS]... [COMMANDS]...
 --address <ip>[:port]  specify administration IP address [default: 127.0.0.1:8844]
 --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

            http://www.delirandom.net/sniffjoke

SJ-提交 - 结果 - 这个脚本是SniffJoke自动测试的一部分

[email protected]:~# 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

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

SJ-iptcpopt探针 - 这个脚本是SniffJoke自动测试的一部分

[email protected]:~# 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:

OPTIONS:
   -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 000.000.000.000                  (required)

sniffjoke - 自动测试 - 这个脚本运行的插件测试

[email protected]:~# 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:
http://www.delirandom.net/sniffjoke/sniffjoke-locations

OPTIONS:
   -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用法示例