From 0573387eab8c06b049acc9a9f76eb251dae0c23a Mon Sep 17 00:00:00 2001 From: 0x4f53 <71916237+0x4f53@users.noreply.github.com> Date: Wed, 7 Aug 2024 02:51:53 +0530 Subject: [PATCH] fixed a parsing bug for fused subdomains --- test_case.txt | 528 ++++++++++++++++++++++++++++++++++++++++---------- textsubs.go | 29 ++- 2 files changed, 450 insertions(+), 107 deletions(-) diff --git a/test_case.txt b/test_case.txt index bf9988d..bc1fcc9 100644 --- a/test_case.txt +++ b/test_case.txt @@ -1,120 +1,442 @@ - -Link to subdomain1 + + + + + - -Link to subdomain2 + + Home - RedHunt Labs + + + + + + + + + + + + + + - -
- -
- -Image from subdomain4 - - - - - - - - -
subdomain7.one.example.com
- - - - - -

http://subdomain9.example.com

- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + +
+
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+