Wand internals

Main page

Internal structure

There is one WandManager. It's a global object but it would in theory be possible to have several of them.

WandManager

Every WandManager owns a couple of profiles. Normally there are 2 profiles, the personal profile and the logged profile. These are saved in WandProfile objects. The logged profile isn't directly accessible. Instead one can access its pages (WandPage) directly with GetWandPage() and GetWandPageCount().

WandProfile

Every profile has a number of pages. Every page is a "form" though in the case of the personal profile it may be a form in the UI rather than a form on a web page. Every such page is saved in a WandPage object.

WandPage

In a WandPage there are information to identify the origins (page url, action url, top document url, submit button, click position) and a number of info objects named WandObjectInfo.
WandObjectInfo
A WandObjectInfo stores a name value pair, though with slight tweak. The value may be a heavily encrypted password (or atleast obfuscated).