PowerVu Keypatcher by taras-ua - Key updater script for AFN package channels

There are 104 replies in this Thread which was already clicked 29,390 times. The last Post () by Panda555.

  • Okay, that explains it for me. Thnx. What about restarting Oscam after the key-update. Any practical solution there anyone ?

  • Code
    the patcher only works successfully if my softcam.key file is in the path
    0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched))
    everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ?
    alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?

    There are two possible solutions for decoding error:

    • Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
    • Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):


    Updated key_patcher.py attached.

    Hello

    Is it possible to make this script for other forums?

    :Chatbox5:

    Edited once, last by Shahrooz ().

  • Code
    the patcher only works successfully if my softcam.key file is in the path
    0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched))
    everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ?
    alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?

    There are two possible solutions for decoding error:

    • Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
    • Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):


    Updated key_patcher.py attached.

    Hello

    Is it possible to make this script for other forums?

    Yes, sure. For which one, for example?

  • Code
    the patcher only works successfully if my softcam.key file is in the path
    0:/etc/tuxbox/config/ while the operation of the cmd line first indicates that the softcam.key file is not found in the oscamicam folder (which is logical, because softcam.key is not there) and then indicates that this file has been successfully patched))
    everything is ok, the AFN package has started and works, but there is another problem, the channels encoded in biss do not open because the softcam.key file is not in the oscamicam folder, how in this case to make AFN patched and the channels encoded in biss opened ?
    alerts this message in the logs: "unable to resolve user address port, error: name or service not known"?

    There are two possible solutions for decoding error:

    • Convert your SoftCam.key file to UTF-8 and save it on the receiver. You can use Notepad++ on Windows or any other tool. See screenshot attached.
    • Replace key_patcher.py line 161 fragment line.decode('utf-8')): with line.decode('utf-8', errors='ignore')):


    Updated key_patcher.py attached.

    Hello

    Is it possible to make this script for other forums?

    Yes, sure. For which one, for example?

    Update AFN Keys All Satellites (9°E etc) - NO CHAT!

  • Key updater script for AFN package channels

  • Unzip this file and copy keypatcher in path home / root or usr / script with attr 755 and restart the box.

    The path depend of your image. For Oatv 7.3 path is home / root if you have this image. It work only with oscam emu.

  • i put it as you said and run the script > python3 key_patcher.py --ip RECEIVER_IP and it not working

    Unzip this file and copy keypatcher in path home / root or usr / script with attr 755 and restart the box.

    The path depend of your image. For Oatv 7.3 path is home / root if you have this image. It work only with oscam emu.

  • Please can you tell me what not work when you enter your IP in telnet. Did you tried with both path

    and which image you have installed. I did't run the script , only copied keypatcher in home / root , changed

    attributes and restarted the box. AU for AFN channels works well.

  • Please can you tell me what not work when you enter your IP in telnet. Did you tried with both path

    and which image you have installed. I did't run the script , only copied keypatcher in home / root , changed

    attributes and restarted the box. AU for AFN channels works well.

    yes i did it as you told me and now its working very good thx you brother

  • Hello, Can you help me ?


    I tried to start the .py on a Dreambox Two with GP 4.2 with rights on 755 via telnet


    There was an error code : "key_patcher.py" , line 66

    def cur_page(self) -> int


    Syntax Error: Invalid syntax


    Is there a chance to let it work on a Dreambox ?


    Best regards

  • Which python version did you run? It should be python3.
    > python --version

  • hello taras

    would you please make afn auto script for sat-universe forum? it need user and pass and must be login thanks

    https://www.sat-universe.com/index.php?threads/afn-9%C2%B0e-etc-keys-only-thread-no-chat-here.283075/page-896

  • hi i get the following error on Vu+ Duo 4K SE Open ATV 7.6 Alpha


    root@vuduo4kse:~# python3 key_patcher.py --ip 192.168.4.44

    /home/root/key_patcher.py:176: SyntaxWarning: invalid escape sequence '\s'

    if not match(f'P\s0*{group:X}[a-fA-F0-9]{{4}}.+added\sby', line.decode('utf-8', errors='ignore')):

    /home/root/key_patcher.py:176: SyntaxWarning: invalid escape sequence '\s'

    if not match(f'P\s0*{group:X}[a-fA-F0-9]{{4}}.+added\sby', line.decode('utf-8', errors='ignore')):

    /home/root/key_patcher.py:190: SyntaxWarning: invalid escape sequence '\s'

    res = match(b'Version:\s+(\S+)', line)

    /home/root/key_patcher.py:193: SyntaxWarning: invalid escape sequence '\s'

    res = match(b'ConfigDir:\s+(\S+)', line)

    2025-08-01 16:22:50,534 INFO PowerVU KeyPatcher by taras-ua, ver 0.92

    2025-08-01 16:22:50,545 INFO Connecting ONLY AFN POWERVU KEYS - NO CHAT - KEYS ONLY !!

    2025-08-01 16:22:51,058 INFO Found last page: 716.

    2025-08-01 16:22:51,059 INFO Connecting ONLY AFN POWERVU KEYS - NO CHAT - KEYS ONLY !!

    2025-08-01 16:22:51,638 INFO Got key pair ('003C79CEFD8AF4C7', '0156DD79B724C5C3').

    2025-08-01 16:22:51,706 INFO Found OsCam version: 2.25.05-11884-802@76c92a2c

    2025-08-01 16:22:51,801 INFO /etc/tuxbox/config/oscam-emu/SoftCam.Key has been patched with ('003C79CEFD8AF4C7', '0156DD79B724C5C3').

    2025-08-01 16:22:51,863 INFO Done! Please restart OSCAM on your receiver.

    root@vuduo4kse:~#

Your resource for SoftCam.Key tools

Find keys, configs, downloads, and support to decode BISS and PowerVu encrypted satellite feeds and streams. Access encrypted BISS & PowerVu feeds. Find keys, configuration tools, and community support for satellite and media stream decoding.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!