mirror of
https://github.com/vysecurity/LinkedInt.git
synced 2025-12-06 08:52:29 +01:00
Add logon failure message
This commit is contained in:
parent
b12616e481
commit
3f0dc4b747
1 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ import sys
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import requests
|
import requests
|
||||||
|
import pdb
|
||||||
import subprocess
|
import subprocess
|
||||||
import json
|
import json
|
||||||
import argparse
|
import argparse
|
||||||
|
|
@ -59,6 +60,7 @@ def login():
|
||||||
try:
|
try:
|
||||||
cookie = cookiejar._cookies['.www.linkedin.com']['/']['li_at'].value
|
cookie = cookiejar._cookies['.www.linkedin.com']['/']['li_at'].value
|
||||||
except:
|
except:
|
||||||
|
print "[!] Cannot log in"
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
cookiejar.save()
|
cookiejar.save()
|
||||||
|
|
@ -122,7 +124,6 @@ def get_search():
|
||||||
|
|
||||||
# Do we want to automatically get the company ID?
|
# Do we want to automatically get the company ID?
|
||||||
|
|
||||||
|
|
||||||
if bCompany:
|
if bCompany:
|
||||||
if bAuto:
|
if bAuto:
|
||||||
# Automatic
|
# Automatic
|
||||||
|
|
@ -415,6 +416,7 @@ if __name__ == '__main__':
|
||||||
print "[!] Incorrect choice, please select a value from (auto,full,firstlast,firstmlast,flast,first.last,fmlast)"
|
print "[!] Incorrect choice, please select a value from (auto,full,firstlast,firstmlast,flast,first.last,fmlast)"
|
||||||
|
|
||||||
print
|
print
|
||||||
|
pdb.set_trace()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue