Electroporation generator with wires and electrodes