EwyBoy / Counter-Phishing-Tool

Offensive & proactive tool designed to disrupt phishing attacks by flooding fake phishing websites' login portals with a deluge of fake user data, sometimes even takes down their entire site in the process.
https://openphish.com/
MIT License
94 stars 31 forks source link

Added result counter and converted to logger #9

Open gridl0ck opened 7 months ago

gridl0ck commented 7 months ago

This is my proposed solution to #7. It contains a logger implementation and a locks to prevent accessing shared variables across threads.

EwyBoy commented 7 months ago

Ops, I accidentally marked this PR as "Ready for review". Is it ready to test or is it anything else you wanna do before we review it?

gridl0ck commented 7 months ago

The only thing that needs work is a way to gracefully close all the threads and print out the summary. When I was testing it with my simple http server, the only way I could get them to exit was to trigger an exception by closing the server. The summary prints and everything after the fact but closing it - even with a keyboard interrupt - doesnt seem to trigger the close function.

EwyBoy commented 7 months ago

Feel free to change how I handle threads if it will make it easier to close em. My implementation of threads are probably not the best.