RedSiege / EyeWitness

EyeWitness is designed to take screenshots of websites, provide some server header info, and identify default credentials if possible.
https://www.christophertruncer.com/eyewitness-usage-guide/
GNU General Public License v3.0
5.02k stars 851 forks source link

error **************** #562

Closed tk-t0n0y closed 6 months ago

tk-t0n0y commented 2 years ago

OS

win 10

after some successful screenshot it show this

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags) at System.Windows.Forms.UnsafeNativeMethods.IHTMLDocument2.GetLocation() at System.Windows.Forms.WebBrowser.get_Document() at System.Windows.Forms.WebBrowser.get_ReadyState() at EyeWitness.WebsiteSnapshot._GenerateWebSiteImage() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

mattgrandy commented 2 years ago

This is likely due to how the threading is being executed. I ran into this while testing but it was rare and not repeatable (happened sporadically for different URLs). Will look into it when I have time but it may take a bit unfortunately.

Relkci commented 6 months ago

I doubt code has changed that would have addressed this. That said, can you provide additional information, perhaps the URL that failed the screenshot?

Relkci commented 6 months ago

Closing until we have more information