PHPBB automated login demo macro

Information related to the use of iMacros for form filling and data upload.
Post Reply
User avatar
Tech Support
Posts: 5003
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

PHPBB automated login demo macro

Post by Tech Support » Mon Sep 15, 2008 8:33 am

Here is the macro that we use to automate login to this PHPBB3-based forum.

Code: Select all

VERSION BUILD=6070911 RECORDER=FX
TAB T=1
'Remember the start URL (typically a forum post that we want to reply to)
SET !VAR1 {{!URLCURRENT}}
URL GOTO=http://forum.iopus.com/
TAG POS=1 TYPE=A ATTR=TXT:Login
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:http://forum.iopus.com/ucp.php?mode=login ATTR=ID:username CONTENT=tech<SP>support
SET !ENCRYPTION YES
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:http://forum.iopus.com/ucp.php?mode=login ATTR=ID:password CONTENT=2E770CE3B82CA141494849E33AE455B1403B9660B6F8EBBF682145EB52925D58
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:login ATTR=NAME:login&&VALUE:Login
'Navigate Back to the original forum post
URL GOTO={{!VAR1}}
The built-in !URLCURRENT variable is used to navigate back to the start web page (forum post) after the login is completed.

The original encrypted password string is included in the macro. This is secure, because it requires the master password phrase to decrypt it.

In Firefox, you can also add the macro to the bookmarks toolbar:
firefox bookmarks toolbar.png
Post Reply