How can Zap Firefox browser Profile match my native Firefox profile?

216 views
Skip to first unread message

JustG

unread,
Aug 2, 2021, 3:10:34 PM8/2/21
to OWASP ZAP User Group
Hi Gang!

I am trying to troubleshoot the disappearance of some webpage content in an application I am testing.

I have noticed that the profile directory in my native Firefox are a lot larger than the profile directory that is generated by Zap. Why Is this? How does that process it work? And most importantly, Could this profile not be installing some CSS library or something that certain web pages in my target app need to become visible?

To elaborate;
When I click on the Firefox "Help" at the top bar on my desktop, and go to "More Trouble shooting information" ; The profile location listed for Firefox natively to my Mac is:
"/Users/MYNAME/Library/Application Support/Firefox/Profiles/317yu5qb.default-release"

The profile directory with its contents is 332MB.

If I do the same thing when I am using the Zap Firefox browser , the profile location is
" /var/folders/r3/cn0bvn8d5mndql62lgw384yw0000gn/T/rust_mozprofileEoD2KP "

The size of this directory is almost half the size. 173MB

If I am on the right track , is there a way to import the profile into zap so that it matches my native browser profile? Perhaps a straight copy and paste with a machine reboot?

Any help is most welcome.

Thanks for an amazing product!

JustG

unread,
Aug 2, 2021, 3:15:11 PM8/2/21
to OWASP ZAP User Group
...just to add, I am logged into both instances of Firefox and have synced up the two browsers.

Simon Bennetts

unread,
Aug 3, 2021, 3:07:50 AM8/3/21
to OWASP ZAP User Group
Hiya,

We create a new browser profile when launching Firefox from ZAP.
We dont currently have a way to use existing Firefox profiles although I can see why this would be useful.

Cheers,

Simon

JustG

unread,
Aug 3, 2021, 8:40:59 AM8/3/21
to OWASP ZAP User Group
Thanks Simon.

Do you think my Hypothesis has legs; that the Zap Firefox is not loading some CSS that the page uses , hence why it is blank?

Me fixing this problem is my ultimate goal. Resorting to using eh, erhm ... <Burpe>  at  the moment.

Sorry for the bad language

kingthorin+owaspzap

unread,
Aug 3, 2021, 10:37:23 AM8/3/21
to OWASP ZAP User Group
If something is cached in your standard profile and not loading in the brand new profile then the problem would seem to be the target not sending it....
Reply all
Reply to author
Forward
0 new messages