beefproject / beef

The Browser Exploitation Framework Project
https://beefproject.com
9.54k stars 2.09k forks source link

[Bug] Click Jacking Module Not Working On Zombies #1509

Open zero77 opened 6 years ago

zero77 commented 6 years ago

The click jacking module isn’t working on the zombies because, the X and Y values change based on the screen and browser window resolution.

For example, if the module is configured and tested on a monitor with a resolution of 1366 x 768 and the zombie has a resolution of 1920 x 1080 then the X and Y values will be different and the module will fail.

zero77 commented 6 years ago

@bcoles I have found this helpful info but, I wasn’t able to implement it correctly.

https://stackoverflow.com/questions/32870568/how-to-recalculate-x-y-coordinates-based-on-screensize

https://www.w3schools.com/jsref/prop_win_screenx.asp