library/src/blockclass/BP-BlockClass.cc
// displays results of search in a human readable format
displays results of search in a human readable format
displays results of search in a human readable format
size_t Block::displayNmapDBSearchResults(bool displayQuery)
{
	if (!this->nmapdb_results)
	{
		this->AddErrorToStack((char*) "Error in Block::displayNmapDBSearchResults(): NULL results/Empty Set.");
		return ERR_FAILURE;
	}
	BP_NDBVisualizeResults(this->nmapdb_results->runlist, displayQuery);
	BP_NDBVisualizeResults(this->nmapdb_results->scanners, displayQuery);
	BP_NDBVisualizeResults(this->nmapdb_results->targets, displayQuery);
	BP_NDBVisualizeResults(this->nmapdb_results->hoststats, displayQuery);
	BP_NDBVisualizeResults(this->nmapdb_results->portstats, displayQuery);
	return ERR_SUCCESS;
}
size_t Block :: displayNmapDBSearchResults ( bool displayQuery ) { if ( ! this -> nmapdb_results ) { this -> AddErrorToStack ( ( char * ) " " ) ; return ERR_FAILURE ; } BP_NDBVisualizeResults ( this -> nmapdb_results -> runlist , displayQuery ) ; BP_NDBVisualizeResults ( this -> nmapdb_results -> scanners , displayQuery ) ; BP_NDBVisualizeResults ( this -> nmapdb_results -> targets , displayQuery ) ; BP_NDBVisualizeResults ( this -> nmapdb_results -> hoststats , displayQuery ) ; BP_NDBVisualizeResults ( this -> nmapdb_results -> portstats , displayQuery ) ; return ERR_SUCCESS ; }
displays results of search in a human readable format
displays results of search in a human readable format
// display runlist info // display scanners info // display targets info // display hoststats info // display porstats info