Proxify

From aldeid
Jump to navigation Jump to search

Description

Proxify is lightweight, streamlined, concurrent and very efficient proxy utility that is easy to integrate into other tools. It fully understands HTTP and does SSL interception and clones certificates on the fly.

Proxify is available for Windows, Linux and Mac OS X and there is a GUI frontend named BadAssProxy (BAP) available for Windows and Mac OS X.

Installation

$ mkdir -p /data/src/proxify/
$ cd /data/src/proxify/
$ wget https://gnucitizen.googlecode.com/files/proxify-Linux-1.2.tar.gz
$ tar xzvf proxify-Linux-1.2.tar.gz

Usage

Syntax

Usage: ./proxify <-p port> [-P port] [-H host] [-z23NSx] [-D dir] [-d dir] [-s subject] [-c ciphers]

Options

-p
starts the proxy defined by local port
-P
forwards proxied requests to port
-H
forwards proxied requests to host
-x
hex dump data on screen
-D
dump data to directory
-d
use database specified in directory
-z
prevents process zombification
-2
disables SSL2
-3
disables SSL3
-N
disables null ciphers
-S
uses a builtin subject line for not reachable targets
-s
sets default subject line for not reachable targets
-c
enables specific ciphers letter(s) chosen from the following list
A
SSL2 RC4 128 WITH MD5
B
SSL2 RC4 128 EXPORT40 WITH MD5
C
SSL2 RC2 128 CBC WITH MD5
D
SSL2 RC2 128 CBC EXPORT40 WITH MD5
E
SSL2 DES 64 CBC WITH MD5
F
SSL2 DES 192 EDE3 CBC WITH MD5
c
SSL3 RSA WITH RC4 128 MD5
d
SSL3 RSA WITH 3DES EDE CBC SHA
e
SSL3 RSA WITH DES CBC SHA
f
SSL3 RSA EXPORT WITH RC4 40 MD5
g
SSL3 RSA EXPORT WITH RC2 CBC 40 MD5
i
SSL3 RSA WITH NULL MD5
j
SSL3 RSA FIPS WITH 3DES EDE CBC SHA
k
SSL3 RSA FIPS WITH DES CBC SHA
l
SSL3 RSA EXPORT WITH DES CBC SHA
m
SSL3 RSA EXPORT WITH RC4 56 SHA

Example

Intercept traffic in real time

$ ./proxify -p 8080 -x
Proxify Version 1.2

Copyright 2013 GNUCITIZEN. All rights reserved.
Commercial use of this software is strictly prohibited.
For commercial options please contact us at http://www.gnucitizen.org/.

[0000]   47 45 54 20 2F 20 48 54   54 50 2F 31 2E 31 0D 0A   GET...HT TP.1.1..
[0000]   48 6F 73 74 3A 20 77 77   77 2E 67 6F 6F 67 6C 65   Host..ww w.google
[f8fb]   2E 63 6F 6D 0D 0A 55 73   65 72 2D 41 67 65 6E 74   .com..Us er.Agent
[fad9]   3A 20 4D 6F 7A 69 6C 6C   61 2F 35 2E 30 20 28 58   ..Mozill a.5.0..X
[abc7]   31 31 3B 20 55 62 75 6E   74 75 3B 20 4C 69 6E 75   11..Ubun tu..Linu
[c1f5]   78 20 69 36 38 36 3B 20   72 76 3A 31 39 2E 30 29   x.i686.. rv.19.0.
[eef1]   20 47 65 63 6B 6F 2F 32   30 31 30 30 31 30 31 20   .Gecko.2 0100101.
[f0fe]   46 69 72 65 66 6F 78 2F   31 39 2E 30 0D 0A 41 63   Firefox. 19.0..Ac
[fffc]   63 65 70 74 3A 20 74 65   78 74 2F 68 74 6D 6C 2C   cept..te xt.html.
[f7fd]   61 70 70 6C 69 63 61 74   69 6F 6E 2F 78 68 74 6D   applicat ion.xhtm
[f904]   6C 2B 78 6D 6C 2C 61 70   70 6C 69 63 61 74 69 6F   l.xml.ap plicatio
[f904]   6E 2F 78 6D 6C 3B 71 3D   30 2E 39 2C 2A 2F 2A 3B   n.xml.q. 0.9.....
[b9bc]   71 3D 30 2E 38 0D 0A 41   63 63 65 70 74 2D 4C 61   q.0.8..A ccept.La
[ed01]   6E 67 75 61 67 65 3A 20   66 72 2C 66 72 2D 66 72   nguage.. fr.fr.fr
[bbca]   3B 71 3D 30 2E 38 2C 65   6E 2D 75 73 3B 71 3D 30   .q.0.8.e n.us.q.0
[f0b8]   2E 35 2C 65 6E 3B 71 3D   30 2E 33 0D 0A 41 63 63   .5.en.q. 0.3..Acc
[b901]   65 70 74 2D 45 6E 63 6F   64 69 6E 67 3A 20 67 7A   ept.Enco ding..gz
[abb9]   69 70 2C 20 64 65 66 6C   61 74 65 0D 0A 43 6F 6F   ip..defl ate..Coo
[c5f1]   6B 69 65 3A 20 50 52 45   46 3D 49 44 3D 62 36 66   kie..PRE F.ID.b6f
[bfbf]   61 31 33 34 30 62 33 33   34 36 34 62 61 3A 55 3D   a1340b33 464ba.U.
[eec2]   36 32 36 63 37 33 66 36   61 64 64 66 35 31 38 63   626c73f6 addf518c
[c8d2]   3A 46 46 3D 30 3A 4C 44   3D 65 6E 3A 54 4D 3D 31   .FF.0.LD .en.TM.1
[c0be]   33 34 32 35 32 38 39 35   37 3A 4C 4D 3D 31 33 36   34252895 7.LM.136
[bec1]   32 30 35 33 36 39 38 3A   47 4D 3D 31 3A 53 3D 75   2053698. GM.1.S.u
[REMOVED]

Comments