class TableUniqueSubDomains(metaclass=Header): """ table 2 for Lampyre """ display_name = 'Unique Domains(subdomains)' search_domain = Field("Search domain", ValueType.String) subdomain = Field("Subdomain", ValueType.String)
class TableSubDomains(metaclass=Header): """ table 1 for Lampyre """ display_name = 'Domains(subdomains)' DateTimeField = Field('Date', ValueType.Datetime) search_domain = Field("Search domain", ValueType.String) subdomain = Field("Subdomain", ValueType.String) crawl_index = Field('CommonCrawl index', ValueType.String) url_crawl_index = Field('URL (CommonCrawl index)', ValueType.String)
class IPandASN(metaclass=Header): # return_keys = ['formatted_address', 'name_address', 'lat', 'lon', 'geohash', 'photo_data', 'search text'] display_name = 'IP and ASN' ip = Field('IP', ValueType.String) Announced_Prefix = Field('Announced Prefix', ValueType.String) ASN = Field('ASN', ValueType.String) Country_ISO = Field('Country ISO', ValueType.String) Country = Field('Country', ValueType.String) Country_flag = Field('Country flag', ValueType.String, binary_type=BinaryType.Image) ASN_Name = Field('ASN Name', ValueType.String) rDNS = Field('rDNS', ValueType.String) Prefix_Description = Field('Prefix Description', ValueType.String) ASN_Description = Field('ASN Description', ValueType.String)
class NFSHeader(metaclass=Header): display_name = 'Search data from NFS service' current_day = Field('Date', ValueType.Datetime) host_query = Field('Search ip', ValueType.String) shared_path = Field('NFS path', ValueType.String) ipv4 = Field('IPv4 address', ValueType.String) ipv6 = Field('IPv6 address', ValueType.String) network_v4 = Field('network(IPv4) address', ValueType.String) network_v6 = Field('network(IPv6) address', ValueType.String) host = Field('host', ValueType.String) status = Field('raw record', ValueType.String)
class PagesEmails(metaclass=Header): display_name = 'Emails' page_try = Field('URL', ValueType.String) netloc = Field('netloc', ValueType.String) domain_host = Field("Domain(source)", ValueType.String) ip_host = Field("ip-address(source)", ValueType.String) port_host = Field("port(source)", ValueType.String) email_found = Field('email', ValueType.String) account = Field('account', ValueType.String) domain = Field('Domain', ValueType.String)
class UnionTxAddress(metaclass=Header): display_name = f'Namecoin Chain: Tx and Address' date_time = Field('Date and time Block', ValueType.Datetime) txid = Field('txid', ValueType.String) short_txid = Field('Short txid(8)', ValueType.String) SymbolDirection = Field('Direction', ValueType.String) address = Field('address', ValueType.String) short_address = Field('Short address(8)', ValueType.String) value = Field('Value(coins, NMC)', ValueType.Float) direction = Field('Direction Integer', ValueType.Integer)
class GoogleTextSearchPlaces(metaclass=Header): # return_keys = ['formatted_address', 'name_address', 'lat', 'lon', 'geohash', 'photo_data', 'search text'] display_name = 'Google: search places by text' name_address = Field('Name address', ValueType.String) formatted_address = Field('Formatted address', ValueType.String) photo_data = Field('Photo', ValueType.String, binary_type=BinaryType.Image) search_text = Field('search text', ValueType.String) lat = Field('lat', ValueType.Float) lon = Field('lon', ValueType.Float) geohash = Field('geohash', ValueType.String) geohash_size = Field('geohash_size', ValueType.Integer)
class StatisticsEmails(metaclass=Header): display_name = 'Statistics(Emails)' page_try = Field('URL', ValueType.String) netloc = Field('netloc', ValueType.String) domain_host = Field("Domain(source)", ValueType.String) ip_host = Field("ip-address(source)", ValueType.String) port_host = Field("port(source)", ValueType.String) emails = Field('emails', ValueType.Integer)
class NamecoinTXnExplorer_in(metaclass=Header): display_name = 'Namecoin Explorer(TX) Input' date_time = Field('Date and time Block', ValueType.Datetime) hash_block = Field('hash_block', ValueType.String) txid = Field('txid', ValueType.String) short_txid = Field('Short txid(8)', ValueType.String) txid_in = Field('vin txid', ValueType.String) short_txid_in = Field('Short vin txid(8)', ValueType.String)
class NamecoinDomainExplorer(metaclass=Header): display_name = 'Namecoin Explorer' date_time = Field('Date and time Block', ValueType.Datetime) domain = Field('Domain', ValueType.String) namecoin_domain = Field('Namecoin name', ValueType.String) ip = Field('ip', ValueType.String) Netblock = Field('Netblock', ValueType.String) expired = Field('Status', ValueType.Boolean) operation = Field('operation', ValueType.String) address = Field('address', ValueType.String) height = Field('height', ValueType.Integer) hash_block = Field('hash_block', ValueType.String) txid = Field('txid', ValueType.String)
class NamecoinTXnExplorer_out(metaclass=Header): display_name = 'Namecoin Explorer(TX) Output' date_time = Field('Date and time Block', ValueType.Datetime) hash_block = Field('hash_block', ValueType.String) txid = Field('txid', ValueType.String) short_txid = Field('Short txid(8)', ValueType.String) address = Field('address', ValueType.String) short_address = Field('Short address(10)', ValueType.String) value = Field('Value(coins)', ValueType.Float) nameOp = Field('Op', ValueType.String) raw_name = Field('Raw name', ValueType.String) value_scripts = Field('Value', ValueType.String) namecoin_domain = Field('Domain(Namecoin)', ValueType.String) ip = Field('ip', ValueType.String)