Isn't it clearly labelled as MCLR, RB3, RB6 and RB7?.
I used this document:
https://ww1.microchip.com/downloads/en/DeviceDoc/30082j.pdf
The pinout of the connectors on the programmer are listed on page 144 of the pdf document.
The only names that are recognizable are GND, PVDD, PVPP, CLK. But not the Ports A,B.
I managed to trace down a photo on the internet off 1 side of the pcb of the module (for pic16c5x/AC164001) but the picture isn't very clear.
What I found following the traces around on the PCB is:
Starting with the 18 pin zif socket:
RA0 (pin17) --> PIN0 on J6 = pad 2 on J2
RA1 (pin18)--> PIN1 on J6 = pad 3 on J2
RA2 (pin1) --> PIN2 on J6 = pad 4 on J2
RA3 (pin2) --> PIN3 on J6 = pad 5 on J2
RB0 (pin6) --> PIN4 on J6 = pad 6 on J2
RB1 (pin 7) --> PIN 5 on J6 = pad 7 on J2
RB2 (pin8) --> PIN6 on J6 = pad 8 on J2
RB3 (pin9) --> PIN7 on J6 = pad 9 on J2
RB4 (pin10)--> PIN8 on J6 = pad 10 on J2
RB5 (pin11)--> PIN9 on J6 = pad 11 on J2
RB6 (pin12)--> PIN10 on J6 = pad 12 on J2
RB7 (pin 13)--> PIN11 on J6 = pad 13 on J2
VDD (pin 14)-->PVDD on J6 = pad 30 and 31 on J2
The others I'm not sure about:
T0CKI (pin3) --> PIN16 on J6 = pad 18 ?????
OSC1 (pin16) --> pad 19 ?????
Vpp (pin4), you would think pad 28 and/or pad 29, but if I look at the photo it seems to be pad 28 and pad 27
VSS (pin 5), I guess any ground on j6 will do?
Is there someone who can check my homework?