def _populate_dummy(cls, to_populate): from lib import WsFaker to_populate.open_tcp_ports = WsFaker.get_ports() to_populate.open_udp_ports = WsFaker.get_ports() to_populate.historic_domain_names = WsFaker.get_domain_names() to_populate.reverse_domain_names = WsFaker.get_domain_names() to_populate.geolocation_geohash = WsFaker.get_geohash() to_populate.geolocation_latitude = WsFaker.get_latitude() to_populate.geolocation_longitude = WsFaker.get_longitude() to_populate.geolocation_region = WsFaker.get_region() to_populate.geolocation_country_code = WsFaker.get_country_code() to_populate.geolocation_postal_code = WsFaker.get_zip_code() to_populate.arin_whois_networks = WsFaker.get_whois_networks() to_populate.unknown_domain_names = WsFaker.get_domain_names() return to_populate
def _populate_dummy(cls, to_populate): from lib import WsFaker to_populate.domain_names = WsFaker.get_domain_names() to_populate.history_collection_method = WsFaker.get_domain_history_collection_method( ) to_populate.history_distance = WsFaker.get_random_int() return to_populate
def _populate_dummy(cls, to_populate): from lib import WsFaker to_populate.enumeration_method = WsFaker.get_word() to_populate.child_domains = WsFaker.get_domain_names() to_populate.parent_domain = WsFaker.get_domain_name() return to_populate
def _populate_dummy(cls, to_populate): from lib import WsFaker to_populate.hostnames = WsFaker.get_domain_names() return to_populate