转自:
http://louppen.wordpress.com/2011/06/22/installing-the-sulley-fuzzer-framework-on-windows-xp-professional-installtion-notes/System: Microsoft Windows XP Professional
Version 2002
Service Pack 3
Install
WinPcaP. Also download WinPcaP
developer’s pack, as it is needed for the compilation of pcapy. Default installation.
Install MinGW. Default installation, except for checking the box asking for the C++ compiler. Post installation – add the path of MinGW’s binaries (C:\MinGW\bin) to Windows’s “Path” environment variable.
Install Python. Post installation – add Python’s path (C:\Python27) to Windows’s “Path” environment variable.
Install pydasm –
download libdasm, extract, cd into the
pydasm directory, compile and install as shown below:
C:\Documents
and Settings\Mickey\Desktop\libdasm-1.5\pydasm>python setup.py build_ext -c mingw32 |
building
'pydasm' extension |
C:\MinGW\bin\gcc.exe
-mno-cygwin -shared -s build\temp.win32-2.7\Release\..\libdasm.o build\temp.win32-2.7\Release\pydasm.o build\temp.win32-2.7\Release\..\pydasm.def -LC:\Python27\libs -LC:\Python27\PCbuild -lpython27 -lmsvcr90 -o build\lib.win32-2.7\pydasm.pyd |
C:\Documents
and Settings\Mickey\Desktop\libdasm-1.5\pydasm>python setup.py install |
Writing
C:\Python27\Lib\site-packages\pydasm-1.5-py2.7.egg-info |
C:\Documents
and Settings\Mickey\Desktop\libdasm-1.5\pydasm> |
Install
PaiMei by issuing “python setup.py install” from
whatever directory you checked it out to.
Post
installation – delete or rename C:\Python27\Lib\site-packages\pydbg\pydasm.pydInstall
pcapy by issuing the following commands (The compiler
needs to know about the location of WinPcaP’s developers pack):
C:\Documents
and Settings\Mickey\Desktop\pcapy-0.10.5\pcapy-0.10.5>python setup.py build_ext -c mingw32 -I "C:\Documents and Settings\Mickey\Desktop\WpdPack_4_1_2\WpdPack\Include" -L "C:\Documents and Settings\Mickey\Desktop\WpdPack_4_1_2\WpdPack\Lib" |
building
'pcapy' extension |
C:\Documents
and Settings\Mickey\Desktop\pcapy-0.10.5\pcapy-0.10.5>C:\Documents and Settings\Mickey\Desktop\pcapy-0.10.5\pcapy-0.10.5>python setup.py install |
Writing
C:\Python27\Lib\site-packages\pcapy-0.10.5-py2.7.egg-info |
C:\Documents
and Settings\Mickey\Desktop\pcapy-0.10.5\pcapy-0.10.5> |
Install
impacket by issuing “python setup.py install”
from whatever directory you extracted it to.
Checkout Sulley to C:\sulley . Verify that the network and
process monitors are acting as expected:
C:\sulley>python
network_monitor.py |
ERR>
USAGE: network_monitor.py |
device
to sniff on (see list below) |
[-f|--filter
PCAP FILTER] BPF filter string |
[-P|--log_path PATH] log directory to store pcaps to |
[-l|--log_level LEVEL]log level (default 1), increase for more verbosity |
[--port PORT] TCP port to bind this agent to |
[0]
{0D3CCF45-BC70-4C0E-BE93-1FBF9BD7E019} 192.168.1.102 |
C:\sulley>python
network_monitor.py |
ERR>
USAGE: network_monitor.py |
device
to sniff on (see list below) |
[-f|--filter
PCAP FILTER] BPF filter string |
[-P|--log_path PATH] log directory to store pcaps to |
[-l|--log_level LEVEL]log level (default 1), increase for more verbosity |
[--port PORT] TCP port to bind this agent to |
[0]
{0D3CCF45-BC70-4C0E-BE93-1FBF9BD7E019} 192.168.1.102 |