My favorites | Sign in
Project Logo
                
Search
for
Updated Sep 01, 2009 by el.diabl09
BuildNmapsi4inWindows  

Introduction

This howto will help you building Nmapsi4 in MS Windows

Details

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 MaintenanceSystemAdvanced System SettingsEnvironment Variables → in System Variables select Path then edit Variable Value and add “C:\Program Files\Nmap;”

Qt

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. Select mirror and wait download and then installation.

Tortoise SVN

Download and install Tortoise SVN from http://tortoisesvn.net/downloads.

Compiling

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 "Qt Command prompt" enter nmapsi4-VERSION folder and execute: qmake and 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.


Sign in to add a comment
Hosted by Google Code