WIP pentest-tools module

This commit is contained in:
L1ghtn1ng 2020-02-18 23:25:36 +00:00
parent 7819790ecd
commit 638497b8c0

View file

@ -1,6 +1,6 @@
from theHarvester.discovery.constants import *
from theHarvester.lib.core import *
import json
class SearchPentestTools:
@ -21,7 +21,7 @@ async def do_search(self):
'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]
dct = responses
print(dct)