coffeeMiner
coffeeMiner copied to clipboard
Autonomous Nmap scaner
Hi SharpMan, I've checked your code, and the Nmap autnomous scaning is ok, but only updating the victims.txt doesn't make the coffeeMiner to add new victims under the attack. We need to edit coffeeMiner to add the loop to check each X time if there are any new victims, and if there are, perform the ARPspoofing to the new victims.
If I have time in next weeks, I'll implement it
Using schedule or threading modules would take care of the timing, I think adding nmap python ping sweeping to the coffeeMiner script is the most direct way of generating a victims.txt file, with the gateway arg as a class c to scan.
Should the code go in the victim.txt file?
If using threading or scheduling and nmap to evaluate victims, a victims.txt becomes redundant IMO. I think it would be better to periodically run nmap and push results directly to a victims[] array rather than continuously read from and write to a file.