Dustin Cook Dustin Cook - 17 days ago 6
C Question

Sending Login Details Using URL

I am attempting to automate a process. I have setup a webpage with very basic security:

enter image description here

I want to automate the ability to log in. The same username/password combination is used each time, but there are hundreds of IP addresses in use, so it would be tedious to use a password safe programme.

I am wondering if I can use something in the form of

url.com/?username=user&password=pass
to push the password through the security, without having to manually enter the details each time?

Answer

This worked for me http://username:password@url.com.

Note: I am using this on a secure network to save time, I do not recommend this is used outside of a controlled environment.