Leveraging Firefox Profiles
As we already know, Firefox is running in a restricted mode
likely set in a specially-configured profile.
We may be able to break out of these restrictions by loading
a different profile configuration.
According to the documentation,
the command-line argument for specifying a new profile is -P “profilename”.
We’ll try this out with a new URI,
and select firefox as the application to run.
This launches a new Firefox instance
which presents us with the Firefox profile manager.
From here, we can create our own profile, in this case named “haxor”.
Once our profile is created, Firefox opens a new window
and again displays the Launch Application dialog box, which we can dismiss.
This instance of Firefox presents a new set of menus:
We have broken out of the restricted instance of Firefox.
Very nice. We’re making progress.