buffer / thug

Python low-interaction honeyclient
GNU General Public License v2.0
995 stars 204 forks source link

[Feature] Enable Screenshoting via Plugin #384

Open MaxwellDPS opened 3 weeks ago

MaxwellDPS commented 3 weeks ago

Would like to be able to roll selenium todo screenshots and dont want to have to tap into the main code base for this.

Screenshots can be done in post by using the loggers methods from the plugin, but would be nice to have this more inline

Sneharaj7645653 commented 5 days ago

Hey @MaxwellDPS,

I’m really eager to dive into this project. Could you share your insights on the best way to move forward? Your guidance would be greatly appreciated!

MaxwellDPS commented 5 days ago

Howdy @Sneharaj7645653

I was able to replace the screenshot code inplace with selenium, and I was also able to implement it as just a plug-in but if it's just a plug in you're only going to get a screenshot of the main page, as right now I can find a mechanism to screenshot multiple Pages through the plug-in without parsing through all the analysis data

The other piece, is the browser profile and proxy you'll have to configure in selenium driver in that code.

buffer commented 2 days ago

Sorry to jump in the discussion so late but this is a quite busy period for me. The approach you are using looks really interesting to me and we could even think about implementing it inline as an alternative to the current implementation and making both of them available. If you share your prototype (in a PR?) I would be glad to help and assist. Thanks!