Mercurial > hg > anonet-resdb
annotate contrib/splicex/README @ 706:de6fd9fc14e5 draft
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
author | d3v11 <d3v11@d3v11.ano> |
---|---|
date | Sat, 29 Oct 2011 11:37:41 -0400 |
parents | dc8f88270f6a |
children | 67aa934958cf |
rev | line source |
---|---|
692 | 1 __________ _ _ __ __ ______ |
2 / / / / ___| _ __ | (_) ___ ___\ \/ / / / / / | |
3 / / / /\___ \| '_ \| | |/ __/ _ \\ / / / / / | |
4 / / / / ___) | |_) | | | (_| __// \ / / / / | |
5 /_/_/_/ |____/| .__/|_|_|\___\___/_/\_\/_/_/_/ | |
6 |_| | |
7 | |
8 .:Brute Force Utilities For GNU/Linux:. | |
9 | |
10 SpliceX is free software: you can redistribute it and/or modify it under | |
11 the terms of the GNU General Public License as published by the Free | |
12 Software Foundation, either version 3 of the License, or (at your option) | |
13 any later version. | |
14 | |
15 SpliceX is distributed in the hope that it will be useful, but WITHOUT | |
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
18 for more details. http://www.gnu.org/licenses/ | |
19 | |
20 AUTHOR: | |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
21 |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
22 d3v11 <d3v11@d3v11.ano> |
692 | 23 |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
24 |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
25 |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
26 (UN)INSTALL: |
692 | 27 |
705 | 28 You may optionally install splicex with cython. Doing so takes |
29 longer to install because of compile times but splicex will | |
30 also be 20% to 35% faster, depending on your system. I recommend | |
31 this option if you intend on putting splicex to long-term use. | |
32 If your goal is simply to test, try, and/or debug splicex then | |
33 using the pythonic install will be more practical. | |
34 | |
706
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
35 NOTES: |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
36 |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
37 If you installed Python from source you can ignore |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
38 the python-dev dependency below. However, your source |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
39 install of Python must have the development files. IE: |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
40 |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
41 tar xvf Python-*.tgz |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
42 cd Python-* |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
43 ./configure --with-pydebug |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
44 make install |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
45 |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
46 This generates Python.h and structmember.h, which are |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
47 need for gcc to compile splicex. |
de6fd9fc14e5
SpliceX patched compiler for /path/to/Python.h and /path/to/structmember.h
d3v11 <d3v11@d3v11.ano>
parents:
705
diff
changeset
|
48 |
705 | 49 DEPENDS ON: |
50 | |
51 python (>=2.6), python-dev(>=2.6), cython (>=0.12.1), | |
52 gcc (>=4.4.3), bash (>=4.1.5), man (>=2.5.7) | |
53 | |
54 SOURCE: | |
692 | 55 |
705 | 56 ./configure <python[version]> |
57 make compile | |
58 make install | |
59 | |
60 DEBIAN/UBUNTU: | |
692 | 61 |
705 | 62 ./configure <python[version]> |
63 make compile | |
64 make install-deb | |
65 | |
66 UNINSTALL: | |
67 | |
68 SOURCE: | |
69 make uninstall | |
692 | 70 |
705 | 71 DEBIAN/UBUNTU: |
72 apt-get remove splicex | |
73 | |
74 PYTHONIC (UN)INSTALL: | |
75 | |
76 You make optionally install splicex as pure python. | |
77 Install times are quick but splicex will be 20% to 35% | |
78 slower than compiling an executable binary with the | |
79 cython + gcc option above. I recommend using this option | |
80 if you simply want to test, try, and/or debug splicex. | |
81 | |
82 DEPENDS ON: | |
692 | 83 |
705 | 84 python (>=2.6), bash (>=4.1.5), man (>=2.5.7) |
85 | |
86 SOURCE: | |
87 | |
88 ./configure <python[version]> --no-compile | |
89 make pyinstall | |
90 | |
91 DEBIAN/UBUNTU: | |
92 | |
93 ./configure <python[version]> --no-compile | |
94 make pyinstall-deb | |
95 | |
96 UNINSTALL: | |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
97 |
705 | 98 SOURCE: |
99 make uninstall | |
692 | 100 |
705 | 101 DEBIAN/UBUNTU: |
102 apt-get remove splicex | |
692 | 103 |
104 TOOLS: | |
105 | |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
106 SpliceX includes brute forcing tools. Each tool will |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
107 include a README file in its respected folder(s): |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
108 |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
109 ls tools/* |
692 | 110 |
111 UPDATE: | |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
112 |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
113 d3v11's AnoNet(2) update for splicex: |
692 | 114 |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
115 make update |
692 | 116 |
117 HELP AND USAGE: | |
118 | |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
119 To obtain additional information on how to use splicex |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
120 enter either of the following commands after installation: |
692 | 121 |
697
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
122 splicex --help |
a554ba2c1e81
SpliceX now compiles to true binary
d3v11 <d3v11@d3v11.ano>
parents:
692
diff
changeset
|
123 splicex --rtfm |
692 | 124 |
125 |