sensepost / gowitness

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

Fixed range selector which created issue with pagination #163

Closed randomactsofsecurity closed 1 year ago

randomactsofsecurity commented 1 year ago

Addresses issue #160 as the .Data selector needs the scope since it's inside of the range. This was a bug introduced in 2.4.2 that was correct in 2.4.1 comparing the diff https://github.com/sensepost/gowitness/compare/2.4.1...2.4.2

Resolves the errors:

template: gallery.html:148:50: executing "gallery.html" at <.Data.Ordered>: can't evaluate field Data in type int
template: gallery.html:163:50: executing "gallery.html" at <.Data.Ordered>: can't evaluate field Data in type int