Skip to content
angad edited this page Mar 26, 2012 · 4 revisions

UML Diagrams

Host Discovery and Port Scanning

org.umit.ns.mobile

All the activities of the app are part of this package.

nsandroid.java

Initializes the application - UI, API, checks root, setup the native binaries, event handlers. Implements the Host Discovery Activity.

PortScanner.java

Implements the PortScanner activity.

nmap.java

Implements the nmap native binary wrapper and the nmap activity.

Traceroute.java

Implements the traceroute native binary wrapper and the traceroute activity.

LogsViewer.java

Implements the Logs Viewer activity.

SavedScans.java

Implements the Saving and Loading scans activity.

org.umit.ns.mobile.core

This package has the core classes - Discovery.java and Scanning.java. The activities from org.umit.ns.mobile package call the functions in these classes to start Host Discovery and Port Scanning.

Discovery.java and Scanning.java

It starts the various AsyncTasks for different methods for Host Discovery and Port Scanning.

org.umit.ns.mobile.discovery and org.umit.ns.mobile.scanner

These 2 packages contain all the classes that implement various methods of discovery and scanning. They are the core implementations of the various methods.

org.umit.ns.mobile.api

This package contains all the utilities required by the app such.

cmdLine.java and shellUtils.java

Implements functions that help in starting command line applications from Java.

SubnetUtils.java and networkInfo.java

They collect the network information required by the application.

XMLParser.java

Implements functions for XML Parsing.

ZipUtils.java

Functions for unzipping raw binaries in Android