Comments (3)
Hi @aaronleshalock - thanks so much for taking the time to open an issue!
I actually don't use this tool myself much these days, so I only find out about a breaking change when someone reports it. This is helpful.
I just ran the tool myself, though, and I can't reproduce your problem.
Can you run the tool with the -x
or --proxy
command to go through ZAP or Burp and take a look at the 302/303 you are receiving? Any details you can provide to troubleshoot would be helpful, of course being careful not to share cookies or credentials.
Thanks!
Also, BTW, the bit of code you are hitting is here. So perhaps they've changed some strings that I'm matching on or perhaps there is a new type of redirect that I don't know about:
if response.status_code == 302 or response.status_code == 303:
redirect = response.headers['Location']
if 'feed' in redirect:
print(PC.ok_box + "Successfully logged in.\n")
return session
if 'challenge' in redirect:
print(PC.warn_box + "LinkedIn 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.\n")
return False
if 'captcha' in redirect:
print(PC.warn_box + "You've triggered a CAPTCHA. Oops. Try logging"
" in with your web browser first and come back later.")
return False
# The below will detect some 302 that I don't yet know about.
print(PC.warn_box + "Some unknown redirection occurred. If this"
" persists, please open an issue on github.\n")
return False
from linkedin2username.
Thanks for the response. It looks like it was somewhat related to my account. It was redirecting me over to add/confirm my phone number, but for some reason that didn't show up when i logged in on the web. After confirming my phone number, everything works as expected.
Here's the HTTP request:
POST /checkpoint/lg/login-submit?loginSubmitSource=GUEST_HOME HTTP/1.1
Host: www.linkedin.com
User-Agent: Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; SCH-I535 Build/KOT49H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
X-RestLi-Protocol-Version: 2.0.0
Content-Length: 160
Content-Type: application/x-www-form-urlencoded
Here's the relevant portion of the response as shown in Burp
HTTP/1.1 303 See Other
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Location: /check/add-phone?country_code=us
Thanks!
from linkedin2username.
Thank you very much for the detail!
Probably there is a way to skip past it in the tool, but it's hard to test as it doesn't prompt me.
Instead, I chose the easy way out and simply added it in the list of error checks in 2e0dbe1.
Thanks again!
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.