moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
915 stars 292 forks source link

Way to copy boxes and Flaggs to another Company (Konzerne) #540

Closed H4xl0r closed 1 year ago

H4xl0r commented 1 year ago

Maybe i just dont get it but if i crate new Konzerns / Companies why is there no option to copy existing boxes and flags into a new Comp. (also with the flags for boxes) It directly gives me the option to create a new one , but what if i want to use existing ones ?

eljeffeg commented 1 year ago

We should be able to easily add that ability.

eljeffeg commented 1 year ago

Once you create a Corporation, you can go to the box and click the Edit and change the Corporation for that box.

Screenshot 2023-02-18 at 8 07 19 AM
H4xl0r commented 1 year ago

@eljeffeg Thats not a copy it moves the machine i want to copy them ;-)

eljeffeg commented 1 year ago

Ah, I guess the best way currently would be to export the xml, modify it copy the box under a new corp and then import it back in. It shouldn't delete the other one and just add what's new.

H4xl0r commented 1 year ago

would even work with same box names ? like box name a in corp 1 and box name a in corp 2 ?

eljeffeg commented 1 year ago

I think you're correct that you would have to give it a new name and probably alter the garbage key.