Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with CORS #70

Closed
q2dg opened this issue Mar 8, 2022 · 3 comments
Closed

Problem with CORS #70

q2dg opened this issue Mar 8, 2022 · 3 comments

Comments

@q2dg
Copy link

q2dg commented Mar 8, 2022

Hello.
I want to proxy "faceb00k.com" domain to "www.facebook.com"

I've just modified "phising" and "destination" options accordingly (besides "IP" to listen in 0.0.0.0 and "certificate","key" and "root" ones to put my custom server certificate, key and CA root certificate). Nothing more.

My problem is that when I navigate to "faceb00k.com" from a browser (dns-spoofed via manual edition of /etc/hosts file), I get the "www.facebook.com" page but very ugly, without css. Moreover, login process doesn't work (returned page says "my request couldn't be processed".

Looking at network details, it seems a CORS problem (see image) but I don't know how to solve it

Thanks a lot

Captura de pantalla de 2022-03-09 00-27-08

@q2dg
Copy link
Author

q2dg commented Mar 9, 2022

Well, I've discovered this issue was due to having the "shield" icon (shown in address bar) activated (I'm running Firefox, see https://support.mozilla.org/en-US/kb/trackers-and-scripts-firefox-blocks-enhanced-track for more information)

Anyway, now Facebook page is seen ok but when I try to log in, I get the error "Your request couldn't be processed" :-(

Captura de pantalla de 2022-03-09 17-34-05

@q2dg
Copy link
Author

q2dg commented Mar 9, 2022

Well, I suspect it's not just putting "phishing" and "destination" options because Muraena doesn't see any credentials though I'm writting them on Facebook's login webform. Documentation is really scarce...and Youtube videos don't teach anything. I'll close this issue.
Thanks

@q2dg q2dg closed this as completed Mar 9, 2022
@ohpe
Copy link
Member

ohpe commented Mar 10, 2022

You're having problems with CORS because you did not instruct Muraena to MiTM also external origins such as static.xx.fbcdn.net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants