mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2025-12-06 17:02:19 +01:00
Fix Hunter
This commit is contained in:
parent
9f4b08e3e4
commit
894b7da4cc
1 changed files with 5 additions and 9 deletions
|
|
@ -56,6 +56,7 @@ def login():
|
||||||
}
|
}
|
||||||
rv = s.post(URL + '/checkpoint/lg/login-submit', data=postdata)
|
rv = s.post(URL + '/checkpoint/lg/login-submit', data=postdata)
|
||||||
try:
|
try:
|
||||||
|
print(s.response)
|
||||||
cookie = requests.utils.dict_from_cookiejar(s.cookies)
|
cookie = requests.utils.dict_from_cookiejar(s.cookies)
|
||||||
cookie = cookie['li_at']
|
cookie = cookie['li_at']
|
||||||
except:
|
except:
|
||||||
|
|
@ -356,11 +357,6 @@ if __name__ == '__main__':
|
||||||
break
|
break
|
||||||
elif prefix == "auto":
|
elif prefix == "auto":
|
||||||
print("[*] Automatically using Hunter IO to determine best Prefix")
|
print("[*] Automatically using Hunter IO to determine best Prefix")
|
||||||
url = "https://hunter.io/trial/v2/domain-search?offset=0&domain=%s&format=json" % suffix
|
|
||||||
r = requests.get(url)
|
|
||||||
content = json.loads(r.text)
|
|
||||||
if "status" in content:
|
|
||||||
print("[!] Rate limited by Hunter IO trial")
|
|
||||||
url = "https://api.hunter.io/v2/domain-search?domain=%s&api_key=%s" % (suffix, api_key)
|
url = "https://api.hunter.io/v2/domain-search?domain=%s&api_key=%s" % (suffix, api_key)
|
||||||
r = requests.get(url)
|
r = requests.get(url)
|
||||||
content = json.loads(r.text)
|
content = json.loads(r.text)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue