Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Web front end to nmap using remote server for scanning w/results?

Posted on 2009-04-01
4
Medium Priority
?
495 Views
Last Modified: 2013-12-06
I'm looking for something Like MyNmap integrated with Remote Nmap.

Basically I'd like to view nmap results on a webpage, and have scans run regularly using a remote server.  I'm not sure anyone has written this.  The two features exist separately (MyNmap & Remote Nmap).

here's a quick def each:
"MyNmap is a tool that uses Apache, PHP, MySQL, and Perl (designed to run on Linux, BSD, or other Unix clones) to display nmap network scan data for large networks"

"Remote nmap (Rnmap) is a pair of client and server programs which allow for various authorised clients to run their port scans from a centralised server."

any ideas?
0
Comment
Question by:braker15
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 24065156
if you mean to use nmap for web application security (HTTP), the simply forget about it for now as it is not much usefull for that
for (pen)testeing web applications you need specialised tools
0
 
LVL 1

Author Comment

by:braker15
ID: 24065422
ahoffman:
Thank you very much for responding.  I'm not trying to use nmap for web app securitty (HTTP).  I'm trying to portscan my subnets from outside my firewall remotely and send the results to servers in side my firewall... then display the results on a webpage....

Here's the gist:
  1. I'm trying to map our firewall by portscanning our subnets (using nmap) from an outside location
      ex: nmap -T4 --version-light -sV -F -O 63.115.253.0/24
  2. All portscan results would be dumped to a MySQL database behind our firewall (probably through a ssh tunnel using a tool called nmap-sql)
  3. A website behind our firewall would then display the portscan results (by querying the MySQL database).
 ex:
IP---------------open ports------
192.168.1.0 |   80/443
192.168.1.1 |   22
192.168.1.2 |   N/A
192.168.1.3 |   443,3386

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 24074942
do you mean something like:

nmap -T4 --version-light -sV -F -O 63.115.253.0/24|awk '/open ports/{print "IPport"}($3=="|"){print ""$1""$3""}END{print "}'> open-ports.html
0
 
LVL 1

Accepted Solution

by:
braker15 earned 0 total points
ID: 24075864
that html output would be sufficent except that I wanted the ip/port info stored in a mysql database (that way I could get a historical view of specific ip's and what ports they have had open over time)

like i said, the two tools i mentioned in my original post can do these two things.... i guess i am looking for a non-gui version of remote nmap... that's really all i'd need to accomplish this
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Rules and regulations were devised in order to maintain the integrity of a system. However, interpretation of rules can be quite tricky.
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question