mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-25 23:13:24 +08:00
WIP pentest-tools module
This commit is contained in:
parent
7819790ecd
commit
638497b8c0
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
from theHarvester.discovery.constants import *
|
from theHarvester.discovery.constants import *
|
||||||
from theHarvester.lib.core import *
|
from theHarvester.lib.core import *
|
||||||
|
import json
|
||||||
|
|
||||||
class SearchPentestTools:
|
class SearchPentestTools:
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ async def do_search(self):
|
||||||
'target': f'{self.word}'
|
'target': f'{self.word}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
responses = await AsyncFetcher.post_fetch(url=self.api, data=subdomain_payload, json=True)
|
responses = await AsyncFetcher.post_fetch(url=self.api, data=json.dumps(subdomain_payload))
|
||||||
responses = responses[0]
|
responses = responses[0]
|
||||||
dct = responses
|
dct = responses
|
||||||
print(dct)
|
print(dct)
|
||||||
|
|
Loading…
Reference in a new issue