Jump to content
Sign in to follow this  
Link8

Create a script to change 2000 passwords on the web page

Recommended Posts

Link8

Hi,

Sorry for noob question, but it seems that I can not find the answer by myself.

I work as a system administrator for company with 2000 employees. Every employee has his own bank account. Bank system is accessible through web-page.

The problem is that passwords for bank accounts expire after 1 year. So I need to change password for every employee.

We can not delegate this to employees themselves, as we need to know the passwords, because Finance department is using these bank accounts to pay taxes.

Now the question: I need the script that will copy passwords from ini file, that I will prepare beforehand, and paste them into required fields on web-page. Also this script must move mouse and make some clicks on the screen to navigate though web page. After script will change password for employee it must move to the next employee.

The ini file will be something like this:

[Employee1]
ID=KLL-111111
OldPassword=bLf8$HVnJ3aK
NewPassword=5GJUJuoYP$o0

[Employee2]
ID=KLL-111112
OldPassword=0pWJoECgPZz2
NewPassword=TSH3e4lj24x1

[Employee3]
ID=KLL-111113
OldPassword=nN55UiTBgFkq
NewPassword=cX7oFOJBIHAM

I will open web browser and enter web-site of my bank

Then I will start the script

The script will enter data from ini file. It will enter ID and OldPassword to login.

Then the script must move mouse according to coordinates that I will write so that it will navigate to the page, where the password must be changed.

Then the script must paste OldPassword and NewPassword twice and press OK

Then the script should logout from bank account of that employee and move to step 1 to proceed with changing of password for the next employee.

I know how to move mouse and make clicks with autoit script.

But I cannot figure out how to paste data from ini file.

Also I cannot figure out how to make script move to next employee after it will change password for the first.

I will appreciate your help, as if I do not make this script we will need to change 2000 accounts by hands.

Share this post


Link to post
Share on other sites
Melba23

Link8,

You cannot seriously expect help for something like this? :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×