May 17, 2012, 05:02:44 am
Maltego Forum

Username
Password

Pages: [1]
Print
Author Topic: Network Discovery  (Read 40941 times)
konrads
Newbie
*
Posts: 7



« on: March 04, 2009, 10:04:26 am »

Hi,

I''ve started work on network discovery pack (right now, just a ping sweep).
The pack is available as subversion download form http://rogue.smelkovs.com/svn/pymaltego/trunk .

The lib directory includes pymaltego - a Pythonic way of reporting to maltego
The bin directory has one transform nmap_sweep.py, which takes netblock as argument and ping-sweeps it.

External dependencies:
nmap_sweep depends on netaddr, which can be easily installed (it comes as .exe and .zip for easy_install''ing).

Setup:
svn checkout it and add the pymaltego/lib to Your path. Set up local transform.


* maltego_sweep.png (147.29 KB, 585x382 - viewed 997 times.)
Logged
H
Newbie
*
Posts: 9


« Reply #1 on: April 25, 2009, 07:47:12 am »

Nice work, the nmap_sweep.py transform works nicely.

The current version of nmap_scan.py in your SVN seems to contain some debug code and didn`t work for me (it`s reading the output XML from a hardcoded path, it`s doing a full default ports nmap scan rather than just a port 80 as indicated in the comment, and it doesn`t check if ports are actually in state open).

I made two modified versions based on your code:

nmap_scan.py (hardcoded scan of ports 21,22,25,80,443 and not using tempfiles)

nmap_scan_gui.py (uses easygui to pop up a dialog box prompting for port range to scan. Needs http://easygui.sourceforge.net/current_version/index.html. One issue with this is that you will get a popup box for each IP when running the transform on multiple IPs).

* nmap_scan.py (3.11 KB - downloaded 413 times.)
* nmap_scan_gui.py (3.39 KB - downloaded 423 times.)
« Last Edit: April 25, 2009, 07:50:06 am by H » Logged
Pages: [1]
Print
Jump to: