mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-26 11:34:53 +02:00
Merge pull request #1279 from L1ghtn1ng/dev
few slight fixes with liniting an ci
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
max-parallel: 8
|
||||
matrix:
|
||||
os: [ ubuntu-latest, macos-latest ]
|
||||
python-version: [ 3.10.0, 3.11.0 ]
|
||||
python-version: [ 3.10.9, 3.11 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -24,8 +24,7 @@ class SearchBufferover:
|
||||
host.split(',')if ',' in host and self.word.replace('www.', '') in host.split(',')[0] in host else
|
||||
host.split(',')[4] for host in dct['Results']}
|
||||
|
||||
self.totalips = {ip.split(',')[0] for ip in dct['Results'] if
|
||||
re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", ip.split(',')[0])}
|
||||
self.totalips = {ip.split(',')[0] for ip in dct['Results'] if re.match(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", ip.split(',')[0])}
|
||||
|
||||
async def get_hostnames(self) -> set:
|
||||
return self.totalhosts
|
||||
|
||||
Reference in New Issue
Block a user