Windows
Build Nmapsi4 in MS Windows
This howto will help you building Nmapsi4 in MS Windows
Contents |
Requirements
Nmap
Download and install Nmap for Windows from http://insecure.org/nmap/download.html
Add Nmap to System variables
Open Control Panel → select System and Maintenance → System → Advanced System Settings → Environment Variables → in System Variables select Path then edit Variable Value and add “C:\Program Files\Nmap;”
Qt with MinGW
Download qt-win-opensource-4.4.0-mingw.exe (or later) from
http://trolltech.com/developer/downloads/qt/windows
and install the QT for Windows reminding to download MinGW and select mirror
and wait download and then installation.
Svn Client: Tortoise SVN
Download and install Tortoise SVN from http://tortoisesvn.net/downloads.
Cmake 2.6
Download and install Cmake 2.6 from http://www.cmake.org/HTML/Download.html
Add Cmake to System variables
Open Control Panel → select System and Maintenance → System → Advanced System Settings → Environment Variables → in System Variables select Path then edit Variable Value and add “C:\Programmi\CMake 2.6\ bin;”
Compiling
Compiling using qmake
Open “C:\Qt\4.4.0\src” and create a new folder “nmapsi4-VERSION”. Select “SVN checkout” in the context menu and use the URL http://nmapsi4.googlecode.com/svn/trunk/nmapsi4/ for SVN version in nmapsi4-trunk folder, or use the URL http://nmapsi4.googlecode.com/svn/branches/1.x for branche version in nmapsi4-branche folder.
Open "Qt Command prompt":
enter nmapsi4 folder and execute:
- qmake and make
At the end, we find nmapsi4.exe in “C:\Qt\4.4.0\src\nmapsi4-VERSION\release”
In order to function, nmapsi4 needs 3 other files from “C:\Qt\4.4.0\bin" folder:
- mingwm10.dll
- QtCore4.dll
- QtGui4.dll
Compiling using Cmake 2.6
Open “C:\Qt\4.4.0\src” and create a new folder “nmapsi4-VERSION”. Select “SVN checkout” in the context menu and use the URL http://nmapsi4.googlecode.com/svn/trunk/nmapsi4/ for SVN version in nmapsi4-svn folder, or use the URL http://nmapsi4.googlecode.com/svn/branches/1.x for stable version in nmapsi4-stable folder.
Open "cmake-gui(beta)" and select “Suppress dev-warnings” from Option menu. Select nmapsi4-VERSION folder in source path and “release/” folder for building process. Now execute configure. First time you have to specify “CMAKE_BUILD_TYPE”, use Release value for branches version and Debug value for trunk version. Retry configure and then generate. Enter “nmapsi4-VERSION/release/” folder and type make
At the end, we find nmapsi4.exe in “C:\Qt\4.4.0\src\nmapsi4-VERSION\release\bin” In order to function, nmapsi4 needs 3 other files from “C:\Qt\4.4.0\bin" folder:
- mingwm10.dll
- QtCore4.dll
- QtGui4.dll
Internationalization
Open "Qt Command prompt", enter the “C:\Qt\4.4.0\src\nmapsi4-VERSION\” folder and execute: lrelease nmapsi4.pro. Enter the “C:\Qt\4.4.0\src\nmapsi4-VERSION\ts” folder, here there are several files in the form nmapsi4_LANG.qm for each available language.
Test
Create a new folder, such as nmapsi4-VERSION-test, and copy nmapsi4.exe, mingwm10.dll, QtCore4.dll, QtGui4.dll files in it. Now you are ready to start using NmapSI4. P.S. If you want to translate the program to your language, add the file nmapsi4_YOUR-LANG.qm in the test folder.
Download
Nmapsi4 0.1 + Nmap for MS Windows (.exe installer)
Download Nmapsi4 0.1 for MS Windows + Nmap 4.68 complete package (.exe self-extracting) mirror 1 mirror 2
Download Nmapsi4 0.1 for MS Windows + Nmap 4.68 complete package (.zip self-extracting) mirror 1 mirror 2
Download nmapsi4 for MS windows (.exe)
Download nmapsi4 for MS windows (.zip self-extracting)
Download nmapsi4 for MS windows (.exe self-extracting)
Build nmapsi4 in MS windows (pdf version)
Build nmapsi4 in MS windows (odt version)