sensepost / gowitness

🔍 gowitness - a golang, web screenshot utility using Chrome Headless
GNU General Public License v3.0
2.79k stars 322 forks source link

Resolution flag not taken into account (MacOS) #185

Open crivion opened 1 year ago

crivion commented 1 year ago

Describe the bug Resolution flag -X -Y (or --resolution-x | --resolution-y) is not taken into account It always generates a 2720x1770 px screenshot

To Reproduce Steps to reproduce the behavior:

gowitness single -X 1360 -Y 860 --disable-db -P . -o google.png https://google.com

Expected behavior I would expect a 1360x860 png image to be generated by the command I get a 2770x1770 image instead

Version Information:

Additional context On Ubuntu 18.04 as expected

leonjza commented 1 year ago

Thanks for the report. That implies that this line is not working as expected.