'Analyze the admin URL.
:param response: The http response object for the _vti_inf file.
:param frontpage_admin: A regex match object.
:return: None. All the info is saved to the kb.'

def _analyze_admin(self, response, frontpage_admin):

    admin_location = response.get_url().get_domain_path().url_join(frontpage_admin.group(1))
    if (frontpage_admin.group(1) != '_vti_bin/_vti_adm/admin.exe'):
        name = 'Customized    frontpage    configuration'
        desc = 'The    FPAdminScriptUrl    is    at:    "%s"    instead    of    the    default    location    "_vti_bin/_vti_adm/admin.exe".    This    is    very    uncommon.'
        desc = (desc % admin_location)
    else:
        name = 'FrontPage    FPAdminScriptUrl'
        desc = 'The    FPAdminScriptUrl    is    at:    "%s".'
        desc = (desc % admin_location)
    i = Info(name, desc, response.id, self.get_name())
    i.set_url(admin_location)
    i['FPAdminScriptUrl'] = admin_location
    kb.kb.append(self, 'frontpage_version', i)
    om.out.information(i.get_desc())
