Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Nov 28, 2024
1 parent 7e17fa5 commit dfa9d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initdb-assetdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$AMASS_DB" <<-EOSQ
r2.from_entity_id) INNER JOIN entities AS ips ON r2.to_entity_id = ips.id)
WHERE fqdns.etype = 'FQDN' AND srvs.etype = 'FQDN' AND ips.etype = 'IPAddress'
AND r1.etype IN ('PrefDNSRelation', 'SRVDNSRelation') AND r2.etype = 'BasicDNSRelation'
AND r1.content->>'label' = 'dns_record' AND r2.conent->>'label' = 'dns_record'
AND r1.content->>'label' = 'dns_record' AND r2.content->>'label' = 'dns_record'
AND r1.content->>'header.rr_type' IN (33, 2, 15) AND r2.content->>'header.rr_type' IN (1, 28)
AND r1.updated_at >= _from AND r1.updated_at <= _to AND r2.updated_at >= _from AND r2.updated_at <= _to
AND fqdns.content->>'name' = ANY(_names)
Expand Down

0 comments on commit dfa9d63

Please sign in to comment.