Skip to content

Commit 31dc268

Browse files
committed
fixed parsing for multi level subdomains
1 parent edf7bba commit 31dc268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

finalrecon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def save_key(key_string):
203203
domain = ''
204204
domain_suffix = ''
205205
else:
206-
netloc = parsed_url.registered_domain # abc.com
206+
netloc = parsed_url.fqdn # abc.com
207207
domain = parsed_url.domain
208208
domain_suffix = parsed_url.suffix
209209
hostname = netloc

0 commit comments

Comments
 (0)