LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Login to website thropugh shell script (https://www.linuxquestions.org/questions/linux-networking-3/login-to-website-thropugh-shell-script-4175432411/)

kkalyan 10-16-2012 01:59 AM

Login to website thropugh shell script
 
I want to automatically take the user id and the password of website through my script.
Actually when we open the site a authentication window will pop-up for the credentials. I have tried to supple the credentials through script but vain.
here is code:
firefox -url http//www.***.com
curl http://username:password@***.com/url


it is able to open the website which DON'T need any logins say google. But for some site which needs it is failing.
It is just stopping at that pop-up window for credentials.

acid_kewpie 10-16-2012 02:54 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 03:26 AM.