diff --git a/.github/workflows/theHarvester.yml b/.github/workflows/theHarvester.yml index 6aabf9d0..45fa32e4 100644 --- a/.github/workflows/theHarvester.yml +++ b/.github/workflows/theHarvester.yml @@ -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 diff --git a/theHarvester/discovery/bufferoverun.py b/theHarvester/discovery/bufferoverun.py index e916dc72..84256d8c 100644 --- a/theHarvester/discovery/bufferoverun.py +++ b/theHarvester/discovery/bufferoverun.py @@ -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