Hey guys, I need some help with this. I was playing around with the batch manager and ended up removing all my clients. Seems there's a bug in the script if the ID field doesn't include a "0" (if the ID is under "100"). In any case, I wiped out the list of clients and keys. Is there any way to "restore" things?
Or is there a bulk way to grab all the clients and keys and add them back in on the server? I figured out how to populate everything but the keys are all different now. So if I restart the OSSEC server, all clients will get disconnected. Anybody have any ideas? Essentially, I would need to compile a list of all the current client keys and import them (unless I can somehow replace client.keys). So stupid, I should have backed up my client.keys file before messing around with this.
