inti_raymi Posted July 20, 2022 Share Posted July 20, 2022 had 5 different C2 community keys sent to us through other purchases, and stood up a C2 instance... however, we lost track of which key was installed. Does anyone know how to verify which key is in use? We were looking to upgrade to Pro but needed to ensure we're upgrading the installed key. Any help apprciated! Link to comment Share on other sites More sharing options...
inti_raymi Posted July 20, 2022 Author Share Posted July 20, 2022 will even take options for replacing existing keys if available Link to comment Share on other sites More sharing options...
dark_pyrro Posted July 21, 2022 Share Posted July 21, 2022 Depending on what OS you are running the C2 server on, try to just cat the c2.db file (even though it's not text based) and look for "license" somewhere in the text that shows. It should be possible to find just before a segment where a private RSA key is available in the file. Make a copy of the db file first, just as a "standard safety measure". Link to comment Share on other sites More sharing options...
dark_pyrro Posted July 21, 2022 Share Posted July 21, 2022 The c2.db file can get humongously big (compared to what is expected to be stored in the file), so doing cat on the file might not be the best way. An alternative is to use a hex editor and find the string "license". It might be easier. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.