CGI would be UBB.Classic; the version number should be printed inside the cgi files in the cgibin (at the top).
As for how to resurrect them, upload everything to the server, if it's a complete dump (cgi, vars, members, and the non-cgi directories) then you can just chmod them (follow the install guide; links to them are provided on the forum, use the search) and access the control panel. You will need the admin password, you can get this by opening the cgi file in the member directory associated with any admin user, it will be shown in plain text.