Comments (15)
Hello, and thank you very much for taking the time to open an issue!
LinkedIn is changing their site often, and this can sometimes break my tool. So I depend on folks opening issues when that happens.
I just tried the tool myself, though, and it is working perfectly.
We'll need more info to figure this out. Are you familiar with using an intercepting proxy like Burp or ZAP? If so, you can run the tool again with the --proxy argument to view the response returned by LinkedIn to the logon attempt. Any details you can provide on that would be helpful to troubleshoot.
from linkedin2username.
Hello, and thank you very much for taking the time to open an issue!
LinkedIn is changing their site often, and this can sometimes break my tool. So I depend on folks opening issues when that happens.
I just tried the tool myself, though, and it is working perfectly.
We'll need more info to figure this out. Are you familiar with using an intercepting proxy like Burp or ZAP? If so, you can run the tool again with the --proxy argument to view the response returned by LinkedIn to the logon attempt. Any details you can provide on that would be helpful to troubleshoot.
Login redirects a url reponse, the Location is
'/checkpoint/challenge/AgF4pNvujBS_tQAAAW7LgRTBk4sLJO1rYprPhiC9PM80q6ndbdXtASNwvsvtc0ziYA1iL2_xF0iRfYIUFh1YGEYdvOu8nA?ut=2Yz_e3YVJcEV01'
Is it a Man-machine calibration page?If so , how to avoid these situation?
Thanks.
from linkedin2username.
Great, thanks for this. Good info.
In the past, I've seen the challenge come up with you're logging in from a dodgy location (like a VPN provider).
Are you able to log in to LinkedIn via the web from the same IP address the linkedin2username tool is running from?
I'll need to update the code to correctly parse this error. I'm just our on holidays for a bit and will try to get to it when I get back.
from linkedin2username.
@KusuLeung Sorry, I just noticed your username is not the one that opened the issue. :) Are both accounts yours, or are these separate issues?
from linkedin2username.
@KusuLeung Sorry, I just noticed your username is not the one that opened the issue. :) Are both accounts yours, or are these separate issues?
Because I have the same notice. I guess we have faced a similar situation. Maybe it is not a separate issue.
from linkedin2username.
Great, thanks for this. Good info.
In the past, I've seen the challenge come up with you're logging in from a dodgy location (like a VPN provider).
Are you able to log in to LinkedIn via the web from the same IP address the linkedin2username tool is running from?
I'll need to update the code to correctly parse this error. I'm just our on holidays for a bit and will try to get to it when I get back.
I can login Linkedin though browser from the same IP address without Man-machine calibration.
from linkedin2username.
from linkedin2username.
Hi, I got the same problems too. After awhile keep login, i got those errors:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4e069d0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.linkedin.com', port=443): Max retries exceeded with url: /uas/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4e069d0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./linkedin2username.py", line 693, in
main()
File "./linkedin2username.py", line 669, in main
session = login(args)
File "./linkedin2username.py", line 233, in login
anon_response = session.get('https://www.linkedin.com/uas/login')
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.linkedin.com', port=443): Max retries exceeded with url: /uas/login (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4e069d0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
from linkedin2username.
Thanks everyone.
I can now replicate the issue. Looks like LinkedIn made some changes, and for some reason it took a while to catch up to everyone. I will try to find time this week to fix, but it may stay broken until next week. I'm just on holiday with family right now. :)
from linkedin2username.
Turns out the master version was actually still working for me.
But I did notice a few changes on LinkedIn. Can you please try out the version here: https://github.com/initstring/linkedin2username/tree/dev and let me know if it solves your issue?
from linkedin2username.
Hi @initstring , thank you so much, the later version works like a charm for me! Just curious, what did u do to make it work =)?
from linkedin2username.
Hi @hookabidoo
A few things. Basically, I used ZAP to proxy a legit login (using mobile browser user agent) and noticed that a new login URL is being used. So I updated both where the login data is POSTed to and where the CSRF token is pulled from.
Also I noticed that a few error checks (challenge and bad username/password) would no longer provide a specific error due to LinkedIn changing some stuff, so I fixed those as well.
from linkedin2username.
Pushed fixes to master.
from linkedin2username.
Pushed fixes to master.
Thanks for bug fixes. It has already been run without Man-machine calibration .
from linkedin2username.
Thanks everyone! Closing this now.
from linkedin2username.
Related Issues (20)
- Cant login HOT 3
- Showing Error -[94m[*] [0mUsing version 0.20, which is the latest on GitHub. [93m[!] [0mLinkedIn doesn't like something about this login. Maybe you're being sneaky on a VPN or something. You may get an email with a verification token. You can ignore the email. Log in from a web browser and try again. HOT 4
- Some account notification HOT 4
- Nice tool however, it doesn't give me results. HOT 10
- Missing Spaces HOT 1
- Off by 1 Running Total HOT 2
- Linkedin2username not working HOT 1
- Does this work with 2FA-enabled account? No issue logging in via browser on same machine. HOT 1
- doesn't work HOT 2
- Hey i want to rewrite this code in type script.. is this possible? Thanks mate HOT 2
- [REQUEST] Add occupation to the list HOT 5
- JSONDecodeErrors HOT 6
- Error Prompting to Login to Web Gui HOT 1
- DEBUG INFO: LOCATION: /settings RESPONSE TEXT: HOT 2
- unable to login in LinkedIn HOT 6
- Implement Selenium WebDriver for Auth HOT 1
- Improve README HOT 1
- KeyError: 'occupation' HOT 1
- Yikes, got an HTTP 400. This is not normal HOT 9
- Recommendation for Name Parentheticals and Certificates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkedin2username.