library/src/exploitation/WebExploitation/BP-WebExploitation.cc
// Tests to see if a string is part of a DNS domain, or simply an IP address. Will
// test up until either a 0x00 or a / character.
// eg http://192.168.1.1 vs http://www.test.com
Tests to see if a string is part of a DNS domain, or simply an IP address. Will
test up until either a 0x00 or a / character.
Tests to see if a string is part of a DNS domain or simply an IP address . Will test up until either a 0x00 or a / character .
BP_BASE_TARGET_TYPE BP_HTTPStringIsIP(char *testStr, size_t len)
{
	return BP_BASE_TARGET_TYPE_HTTPS_DNS;
}
BP_BASE_TARGET_TYPE BP_HTTPStringIsIP ( char * testStr , size_t len ) { return BP_BASE_TARGET_TYPE_HTTPS_DNS ; }
Tests to see if a string is part of a DNS domain, or simply an IP address.
Tests to see if a string is part of a DNS domain or simply an IP address .
/*
	 enum BP_BASE_TARGET_TYPE {
	 BP_BASE_TARGET_TYPE_HTTP_IP,
	 BP_BASE_TARGET_TYPE_HTTPS_IP,
	 BP_BASE_TARGET_TYPE_HTTP_DNS,
	 BP_BASE_TARGET_TYPE_HTTPS_DNS
	 };


	 if(len < 8)
	 return false;

	 size_t i = 0;
	 for(i = 0; i < len; i++){



	 }
	 */