Forum Moderators: open
Replace username w/your login name. Replace password with your password.
Please note this is not very secure but it is handy at times.
what if the login page is a http:// (with no www) rather than a www.? Seems like the link [username:password@site.com...] doesn't work right?
When you get to the page you are trying to bypass, is it a web page with the username and password login already on the page, or does a window pop up prompting you for authentication?
You have to determine the authentication method being requested before a solution can be (possibly) recommended.
[sitename.com...]
with the "member.php", "login", "membername", and "password" all potentially being named something different depending on the site?
If the FORM is of method POST, and the PHP programmer has programmed the handler program to retrieve only POSTed values, then the method you attempt ( [sitename.com...] ) will not work as it is a GET method.
NOTE:
-----
As stated earlier, you are attempting to bypass security mechanisms placed here intentionally by the programmer(s); not a good practice.
When they clicked on that link it could grab the login info for that link, open a socket or curl session and then log them in.
Not really an easy solution but I imagine it would word just fine. Then you may have to get around the possibility that the login script may only accept connections from it's own domain. etc, etc, etc
just give them the login info. ;)
Also, if you use the URL method and your log files are public then anyone can see them and know what your userid and password are.
IMO, you're right about making this more complicated than it needs to be. Just give your friend the userid and password and let him/her login properly. Assuming your friend is trustworthy (not a blabber-mouth or one who's prone to writing userid and password info on a Post-It Note stuck to the monitor) this will eliminate nearly all security issues associated with passing the details via a URL.