waymore 4.1__py3-none-any.whl → 4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- waymore/__init__.py +1 -1
- waymore/waymore.py +30 -22
- {waymore-4.1.dist-info → waymore-4.2.dist-info}/METADATA +2 -2
- waymore-4.2.dist-info/RECORD +8 -0
- waymore-4.1.dist-info/RECORD +0 -8
- {waymore-4.1.dist-info → waymore-4.2.dist-info}/LICENSE +0 -0
- {waymore-4.1.dist-info → waymore-4.2.dist-info}/WHEEL +0 -0
- {waymore-4.1.dist-info → waymore-4.2.dist-info}/entry_points.txt +0 -0
- {waymore-4.1.dist-info → waymore-4.2.dist-info}/top_level.txt +0 -0
waymore/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__="4.
|
|
1
|
+
__version__="4.2"
|
waymore/waymore.py
CHANGED
|
@@ -1780,23 +1780,31 @@ def processWayBackPage(url):
|
|
|
1780
1780
|
return
|
|
1781
1781
|
|
|
1782
1782
|
# Get the URLs and MIME types. Each line is a separate JSON string
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
if verbose():
|
|
1787
|
-
try:
|
|
1788
|
-
linkMimes.add(str(results).split(' ')[2])
|
|
1789
|
-
except Exception as e:
|
|
1790
|
-
if verbose():
|
|
1791
|
-
writerr(colored(getSPACER('ERROR processWayBackPage 2: Cannot get MIME type from line: ' + str(line)),'red'))
|
|
1792
|
-
write(resp.text)
|
|
1793
|
-
try:
|
|
1783
|
+
try:
|
|
1784
|
+
for line in resp.iter_lines():
|
|
1785
|
+
results = line.decode("utf-8")
|
|
1794
1786
|
foundUrl = fixArchiveOrgUrl(str(results).split(' ')[1])
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1787
|
+
|
|
1788
|
+
# Check the URL exclusions
|
|
1789
|
+
match = re.search(r'('+re.escape(FILTER_URL).replace(',','|')+')', foundUrl, flags=re.IGNORECASE)
|
|
1790
|
+
if match is None:
|
|
1791
|
+
# Only get MIME Types if --verbose option was selected
|
|
1792
|
+
if verbose():
|
|
1793
|
+
try:
|
|
1794
|
+
linkMimes.add(str(results).split(' ')[2])
|
|
1795
|
+
except Exception as e:
|
|
1796
|
+
if verbose():
|
|
1797
|
+
writerr(colored(getSPACER('ERROR processWayBackPage 2: Cannot get MIME type from line: ' + str(line)),'red'))
|
|
1798
|
+
write(resp.text)
|
|
1799
|
+
try:
|
|
1800
|
+
linksFoundAdd(foundUrl)
|
|
1801
|
+
except Exception as e:
|
|
1802
|
+
if verbose():
|
|
1803
|
+
writerr(colored(getSPACER('ERROR processWayBackPage 3: Cannot get link from line: ' + str(line)),'red'))
|
|
1804
|
+
write(resp.text)
|
|
1805
|
+
except Exception as e:
|
|
1806
|
+
if verbose():
|
|
1807
|
+
writerr(colored(getSPACER('ERROR processWayBackPage 4: ' + str(line)),'red'))
|
|
1800
1808
|
else:
|
|
1801
1809
|
pass
|
|
1802
1810
|
except Exception as e:
|
|
@@ -2422,12 +2430,12 @@ def processResponses():
|
|
|
2422
2430
|
# This is useful for filtering out captures that are 'too dense' or when looking for unique captures."
|
|
2423
2431
|
if args.capture_interval == 'none': # get all
|
|
2424
2432
|
collapse = ''
|
|
2425
|
-
elif args.capture_interval == 'h': # get at most 1 capture per hour
|
|
2426
|
-
collapse = 'timestamp:10'
|
|
2427
|
-
elif args.capture_interval == 'd': # get at most 1 capture per day
|
|
2428
|
-
collapse = 'timestamp:8'
|
|
2429
|
-
elif args.capture_interval == 'm': # get at most 1 capture per month
|
|
2430
|
-
collapse = 'timestamp:6'
|
|
2433
|
+
elif args.capture_interval == 'h': # get at most 1 capture per URL per hour
|
|
2434
|
+
collapse = 'timestamp:10,original'
|
|
2435
|
+
elif args.capture_interval == 'd': # get at most 1 capture per URL per day
|
|
2436
|
+
collapse = 'timestamp:8,original'
|
|
2437
|
+
elif args.capture_interval == 'm': # get at most 1 capture per URL per month
|
|
2438
|
+
collapse = 'timestamp:6,original'
|
|
2431
2439
|
|
|
2432
2440
|
url = WAYBACK_URL.replace('{DOMAIN}',subs + quote(argsInput) + path).replace('{COLLAPSE}',collapse) + filterMIME + filterCode + filterLimit + filterFrom + filterTo + filterKeywords
|
|
2433
2441
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: waymore
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.2
|
|
4
4
|
Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan & VirusTotal!
|
|
5
5
|
Home-page: https://github.com/xnl-h4ck3r/waymore
|
|
6
6
|
Author: @xnl-h4ck3r
|
|
@@ -16,7 +16,7 @@ Requires-Dist: tldextract
|
|
|
16
16
|
|
|
17
17
|
<center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
|
|
18
18
|
|
|
19
|
-
## About - v4.
|
|
19
|
+
## About - v4.2
|
|
20
20
|
|
|
21
21
|
The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
|
|
22
22
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
waymore/__init__.py,sha256=KS43n250T2U7gE8jspc0cFVyTllND-0M0RkTA_yyc88,17
|
|
2
|
+
waymore/waymore.py,sha256=8HdTaKE5-SzIIWWWF5kskaBVzl0FRG0DpBChR11JWjs,167332
|
|
3
|
+
waymore-4.2.dist-info/LICENSE,sha256=o_jq62xZ1YxI8tqzQKbNtqr3RW2i5sh0rk6ixCJEroU,1068
|
|
4
|
+
waymore-4.2.dist-info/METADATA,sha256=uSCOfxcJDVsAO9z_in0-n6l8BOfD9jPNHiAsDuhuhz0,47245
|
|
5
|
+
waymore-4.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
+
waymore-4.2.dist-info/entry_points.txt,sha256=YHy5EUf3r_7OTkt9jvylLjNeg7Z5yvIVm5RUAyfNcN4,49
|
|
7
|
+
waymore-4.2.dist-info/top_level.txt,sha256=RFTphkWaRu1N7lUWIPUjabgCPQ3ETmNllF7qze4JJ_s,8
|
|
8
|
+
waymore-4.2.dist-info/RECORD,,
|
waymore-4.1.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
waymore/__init__.py,sha256=W33igiZPTC8XKkjVNoDhbalnEpvc0URlY2v823612DE,17
|
|
2
|
-
waymore/waymore.py,sha256=0BC0QZbyQap8f8xMp9_IXYG6yC_ZC9Hgi6L7_FER4Tg,166754
|
|
3
|
-
waymore-4.1.dist-info/LICENSE,sha256=o_jq62xZ1YxI8tqzQKbNtqr3RW2i5sh0rk6ixCJEroU,1068
|
|
4
|
-
waymore-4.1.dist-info/METADATA,sha256=ePRZd4A8GtQQHFlsRDCcPPW6GvrRe1XcgHDoYVav-qI,47245
|
|
5
|
-
waymore-4.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
-
waymore-4.1.dist-info/entry_points.txt,sha256=YHy5EUf3r_7OTkt9jvylLjNeg7Z5yvIVm5RUAyfNcN4,49
|
|
7
|
-
waymore-4.1.dist-info/top_level.txt,sha256=RFTphkWaRu1N7lUWIPUjabgCPQ3ETmNllF7qze4JJ_s,8
|
|
8
|
-
waymore-4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|