|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActivity
com.wjholden.nmap.Nmap
public class Nmap
Field Summary | |
---|---|
static String |
bindir
this is where the nmap/nping/ncat compiled binaries should be (usually /data/local/bin/) |
static boolean |
canGetRoot
tells us if "su" command is available |
static boolean |
DEBUG
|
static Handler |
h
handler for inter-thread communcation |
static boolean |
hasRunOneScan
tells us whether one or more scans have been executed |
static boolean |
installationVerified
if "verifyInstallation()" method has run this should be set to true TODO: save this in SharedPreferences and stop reinstalling the binaries every time! |
static NmapError |
ne
|
static String |
outputArgs
the command to be executed (nmap, nping, ncat) and optional (and mandatory) command line arguments from mArguments |
static ProgressDialog |
pd
|
static int |
scanType
tells the scanning engine what command is to be executed (nmap, nping, ncat) |
static String |
sh
location of the 'su' command, if present, otherwise 'sh'. |
Fields inherited from interface com.wjholden.nmap.Nmap_Constants |
---|
INSTALL_ERROR, INSTALL_GOOD, INSTALL_NO_ROOT, MENU_GROUP_DEBUG, MENU_ITEM_DEBUG_EMAIL, MENU_ITEM_DEBUG_ENABLE, RUN_COMPLETE, RUN_ERROR, RUN_LINE, SCANTYPE_NCAT, SCANTYPE_NDIFF, SCANTYPE_NMAP, SCANTYPE_NPING, TAG, THREAD_ERROR |
Constructor Summary | |
---|---|
Nmap()
|
Method Summary | |
---|---|
void |
onCreate(Bundle savedInstanceState)
|
protected void |
onDestroy()
|
boolean |
onMenuItemSelected(int featureId,
MenuItem item)
|
protected void |
onPause(Bundle outState)
|
boolean |
onPrepareOptionsMenu(Menu menu)
|
protected void |
onResume(Bundle savedInstanceState)
|
static void |
setBinDir(String b)
|
static void |
setSh(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String bindir
public static boolean canGetRoot
public static boolean DEBUG
public static Handler h
public static boolean hasRunOneScan
public static boolean installationVerified
public static NmapError ne
public static String outputArgs
public static ProgressDialog pd
public static int scanType
public static String sh
Constructor Detail |
---|
public Nmap()
Method Detail |
---|
public void onCreate(Bundle savedInstanceState)
protected void onDestroy()
public boolean onMenuItemSelected(int featureId, MenuItem item)
protected void onPause(Bundle outState)
public boolean onPrepareOptionsMenu(Menu menu)
protected void onResume(Bundle savedInstanceState)
public static void setBinDir(String b)
public static void setSh(String s)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |