CalvinKrist / ProjectBrightSun

A suite of cybersecurity tools designed to allow for rapid deployment of virtualized environments. Intended for use in education: contains built-in lessons.
https://calvinkrist.github.io/ProjectBrightSun/
MIT License
14 stars 1 forks source link

Potential method to get duplicate names #128

Closed CalvinKrist closed 6 years ago

CalvinKrist commented 6 years ago

Add a machine and clone it. Then clone the original a second time. Both clones have the same name. This needs to be fixed: the clone should go though the same name checking process as any new modal, and perhaps a number should be added at the end for each clone after the first.

Add machine: name = "t" Clone "t": have "t" and "clone_of_t" Clone "t": have "t", "clone_of_t", and "clone_of_t(1)"