-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitems.py.bak
More file actions
32 lines (26 loc) · 1.24 KB
/
items.py.bak
File metadata and controls
32 lines (26 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# twofa_crawler/items.py
import scrapy
class CheckoutItem(scrapy.Item):
# Domain/IP Info
domain = scrapy.Field()
ip_addresses = scrapy.Field()
# Shodan Enrichment
shodan_data = scrapy.Field()
shodan_ports = scrapy.Field()
shodan_org = scrapy.Field()
shodan_vulns = scrapy.Field()
# ASN Enrichment
asn = scrapy.Field()
asn_org = scrapy.Field()
asn_country = scrapy.Field()
asn_registry = scrapy.Field()
# Playwright (optional)
interaction_log = scrapy.Field()
detected_3ds_iframe = scrapy.Field()
detected_3ds_redirect_url = scrapy.Field()
start_url = scrapy.Field() # The initial URL crawled
checkout_page_url = scrapy.Field() # The specific page analyzed (e.g., checkout, payment)
negative_3ds_indicators_found = scrapy.Field() # List of findings suggesting NO 3DS (keywords, missing fields, script mentions)
analysis_method = scrapy.Field() # How the page was analyzed (e.g., 'keyword_search', 'form_check', 'script_scan')
likely_skips_3ds = scrapy.Field() # Boolean: True if strong negative indicators found, otherwise False/None (Unknown)
error = scrapy.Field() # Field to store errors (e.g., checkout page not found)