Register
It is currently Wed Oct 22, 2014 9:22 am

Auto Login to Website


All times are UTC - 6 hours


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 PostPosted: Tue Jun 29, 2010 12:17 pm   

Joined: Mon Jun 28, 2010 1:05 pm
Posts: 5
Im trying to generate a script that will check service using a webtool built in our website.
What the script does is will run every xx amount of times and shoot out a txt output to be emailed to sys admins.
The piece I am missing is trying to figure out an auto login feature that will login with admin user id and password and proceed with the script that I've written.
Unfortunately saving userid and password via forms in Internet Explorer wont work as it requires you to click "OK" to respond to the logon page.
I'm looking for something "unattended."
The page is not an https site.
Please advise.
Thanks!


Top
 Profile  
 PostPosted: Tue Jun 29, 2010 1:27 pm   
User avatar

Joined: Sun Jun 27, 2010 12:57 am
Posts: 192
Fetching webpages with an authentication scheme... first thing that pops into my mind is 'curl'. It supports several authentication schemes.


Top
 Profile  
 PostPosted: Tue Jun 29, 2010 1:30 pm   

Joined: Mon Jun 28, 2010 1:05 pm
Posts: 5
Patsie wrote:
Fetching webpages with an authentication scheme... first thing that pops into my mind is 'curl'. It supports several authentication schemes.


Im sorry not familiar with what you've posted here.
Can you please elaborate?
Thanks.


Top
 Profile  
 PostPosted: Tue Jun 29, 2010 2:02 pm   
User avatar

Joined: Sun Jun 27, 2010 12:57 am
Posts: 192
curl is a commandline tool to fetch data in several different internet standards like HTTP, FTP, SCP, telnet, you name it.
Get more information on curl here


Top
 Profile  
 PostPosted: Tue Jun 29, 2010 2:48 pm   

Joined: Mon Jun 28, 2010 1:05 pm
Posts: 5
Patsie wrote:
curl is a commandline tool to fetch data in several different internet standards like HTTP, FTP, SCP, telnet, you name it.
Get more information on curl here


So if I have a batch script, how do I integrate curl and enable the auto login feature?


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP