Do not throw it away, you can not do everything right away - my friend I remember you used to help me because the nickname is familiar, so I will tell you.
You can and the easiest way to buy a USB ASP programmer on Allegro or Ali or in any electronics store by typing USB ASP. When buying, you will get a KANDA 10pin cable + programmer as below
https://www.ledats.pl/4764-thickbox_default/usb-asp-programator-tasma-idc.jpg For this you can buy a 6pin adapter because the tester has a 6pin connector
https://abc-rc.pl/data/gfx/pictures/large/7/0/6207_1.jpg?33485 But you can also use the cables for the contact plate and choose the ones you need to program the tester yourself, here are the pins you can't go wrong
https://1.bp.blogspot.com/-RIw6-jo6I88/T-L4mk...I/AAAAAAAAAsk/HfLAdnZt8JI/s1600/ISP_KANDA.jpg in the tester, the pins go like this
https://obrazki.elektroda.pl/1219969400_1503516373.jpg Just connect with each other and now you can use the MKAVR Calculator (paid version - from what I remember ATMEGA8 is in demo version and Atmega328 is in version after buying a license) but you can use AVRDudess which is free (correct me if I am wrong)
And now, after connecting, you can use the detekt option to make the program try to detect the prock, if it happens, you need to set the fuse bits and specify the files
Here are the files
https://www.elektroda.pl/rtvforum/viewtopic.php?p=16675880#16675880 The version of the tester with a blue button also says so in the post
You can also write yes on the command line (console)
avrdude -c USBasp -P usb -p m328p -U flash: w: TransistorTester.hex \ -U eeprom: w: TransistorTester.eep \ -U lfuse: w: 0xf7: m \ -U hfuse: w: 0xd9: m \ -U efuse: w: 0xfc: m
Where you need to go to the directory where the AVRDude program is under dosem and run it with the above-mentioned command and have hex and eep files named as in the above line and set fuse bits like this
L - F7
H - D9
E - FC
Information found on the network, so you have to figure it out - the most important thing for the programmer to work - under the computer - drivers must be installed.
As for the programmer with Arduino, I know that it is possible, but I have never played it - I made a programmer and also bought a second one, just like the photo I gave.
Don't give up, take action.
If a colleague lived nearby, he could personally give me a tester, we would upload the software or replace the prock and upload the software.
Oh, when programming, the tester should be powered.
Greetings ...