A Romanian national accused of hacking into the online accounts of several public figures, has pleaded guilty to the charges brought against him.