PDA

View Full Version : Script to auto login to a website with HTTP authentication



mjwinxsky
02-15-2013, 11:09 PM
Hi,

I need help in creating script to auto login to a website with HTTP authentication. The authentication prompt is similar to this website "https://ti2.injazat.com". Any help will really be appreciated.

Thanks,
MJ

Crocus Crow
02-22-2013, 03:43 PM
Try Windows API functions like FindWindow to find the pop-up window and the input boxes etc. and SendMessage to populate them.

stanl
02-24-2013, 07:45 AM
This article suggests you can use the input parameters as part of the .navigate method using the IE Object.

http://support.microsoft.com/?id=172998 (http://support.microsoft.com/?id=172998)

[EDIT]

I tested and it does work; just need to create a function for base64 conversion of User/pasword. I didn't use VBA or I would post the udf.