NixWasHere / NebulaC2

Nebula C2 - Python
Other
79 stars 56 forks source link

Fixed ping function #35

Closed NextFloat closed 1 year ago

NextFloat commented 1 year ago

Fixed the 'dictionary size change during iteration' error, which can occur when a lot of bots connect simultaneously, by creating a copy of the bots list and iterating over it instead.
This way we are iterating over a fixed set of keys, preventing the error.

NixWasHere commented 1 year ago

Done.