Advertise Here
Advertise Here
Advertise Here
Advertise Here
Results 1 to 4 of 4

Thread: Key updater script for AFN package channels

  1. #1
    New Member
    Join Date
    27-06-2020
    Posts
    1
    Uploads
    1
    Likes
    13

    Key updater script for AFN package channels

    I would like to introduce the Key updater script for AFN package channels.

    When you don’t want to wait for auto-update of keys, and start watching right now.

    The script parses the keys from the forum and patches the SoftCam.Key file in your receiver via FTP. Written in Python3, only built-in modules, no additional packages need to be installed. Tested on Linux and Windows. SoftCam.Key file from the forum, but any other AFN containing EMM keys can be used. Tested on Enigma2, but should work on other Linux receivers as well. Does not affect auto-update, etc.

    Run from your computer with the command:
    > python3 key_patcher_satsupreme.py --ip RECEIVER_IP

    If the user or password is not root, add specific parameter to the command line.

    If you run the script from the receiver locally use command line argument --oscam-local.
    > python3 key_patcher.py --oscam-local true

    Code:
    $ python3 key_patcher_satsupreme.py --help
    2024-01-20 22:39:10,863 INFO     PowerVU KeyPatcher by taras-ua, ver 0.9
    usage: key_patcher_satsupreme.py [-h] [--ip IP] [--login LOGIN] [--password PASSWORD] [--oscam-local OSCAM_LOCAL]
    
    options:
      -h, --help            show this help message and exit
      --ip IP               Enigma receiver IP
      --login LOGIN         Enigma receiver login
      --password PASSWORD   Enigma receiver password
      --oscam-local OSCAM_LOCAL
                            Oscam location. Should be set for run script from receiver.
    !!! After successful completion, restart Oscam on your receiver. !!!

    An example of output:
    Code:
    $ python3 key_patcher_satsupreme.py --ip=192.168.1.142
    2024-01-20 22:26:47,777 INFO     PowerVU KeyPatcher by taras-ua, ver 0.9
    2024-01-20 22:26:47,780 INFO     Connecting https://www.satsupreme.com/showthread.php/433441-AFN-Keys-All-Satellites-(9°E-etc)-NO-CHAT!/page9999
    2024-01-20 22:26:48,419 INFO     Found last page: 598.
    2024-01-20 22:26:48,419 INFO     Connecting https://www.satsupreme.com/showthread.php/433441-AFN-Keys-All-Satellites-(9°E-etc)-NO-CHAT!/page597
    2024-01-20 22:26:49,021 INFO     Got key pair ('000CC1CDE130FE48', '01D4AABD10287B3D').
    2024-01-20 22:26:49,179 INFO     Found OsCam version: oscam-1.20_svn-r11725-798-ICAM-v9
    2024-01-20 22:26:49,338 INFO     /home/gx/local/oscam/SoftCam.Key has been patched with ('000CC1CDE130FE48', '01D4AABD10287B3D').
    2024-01-20 22:26:49,483 INFO     Done! Please restart OSCAM on your receiver.
    key_patcher_satsupreme.zip

  2. Advertise Here
  3. #2
    Member
    Join Date
    21-03-2018
    Posts
    26
    Uploads
    0
    Likes
    14

    Re: Key updater script for AFN package channels

    Hi mate, thanx for youre script, when Ill run script got this:

    Code:
    root@vuzero4k:~# python3 /usr/script/key_patcher_satsupreme.py
    2024-03-14 20:43:43,437 INFO     PowerVU KeyPatcher by taras-ua, ver 0.9
    2024-03-14 20:43:43,443 INFO     Connecting https://www.satsupreme.com/showthread.php/433441-AFN-Keys-All-Satellites-(9°E-etc)-NO-CHAT!/page9999
    2024-03-14 20:43:44,407 INFO     Found last page: 608.
    2024-03-14 20:43:44,408 INFO     Connecting https://www.satsupreme.com/showthrea d.php/433441-AFN-Keys-All-Satellites-(9°E-etc)-NO-CHAT!/page607
    2024-03-14 20:43:45,226 INFO     Got key pair ('00032E53ABE614E2', '0148A9F53B67DCC6').
    Traceback (most recent call last):
      File "/usr/script/key_patcher_satsupreme.py", line 227, in <module>
        softcamkey_handler.patch_keys(key_pair)
      File "/usr/script/key_patcher_satsupreme.py", line 192, in patch_keys
        oscam_config = self._download(self.oscam_version_file)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/script/key_patcher_satsupreme.py", line 151, in _download
        with FTP(self.ip, self.login, self.password) as ftp:
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/ftplib.py", line 121, in __init__
      File "/usr/lib/python3.11/ftplib.py", line 158, in connect
      File "/usr/lib/python3.11/socket.py", line 851, in create_connection
      File "/usr/lib/python3.11/socket.py", line 836, in create_connection
    TimeoutError: [Errno 110] Connection timed out
    what's i'm doing wrong? thank you

  4. #3
    New Member
    Join Date
    08-02-2018
    Posts
    1
    Uploads
    0
    Likes
    0

    Re: Key updater script for AFN package channels

    how i can run it and where i put it in vu+zero4k
    should i post > python3 key_patcher_satsupreme.py --ip RECEIVER_IP or what

  5. #4
    Member
    Join Date
    21-03-2018
    Posts
    26
    Uploads
    0
    Likes
    14

    Re: Key updater script for AFN package channels

    Put file in home/root and change right's to 755, run with:

    python3 key_patcher_satsupreme.py --ip 192.168.1.5 --login root --password youre passwd

    in softcam.oscam you will get:

    P 0009FFFF 01 2FAA61A5197D70 ; added by Emu Sun Mar 17 23:03:23 2024 UA: 005C379DP FFFF0066 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312540P FFFF0067 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312707
    P FFFF0068 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312757
    P FFFF0069 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312804
    P FFFF006A 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312851
    P FFFF006B 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312897
    P FFFF006C 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312943
    P FFFF006D 00 21926434E1C0D9 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.312989
    P FFFF0066 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313039
    P FFFF0067 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313096
    P FFFF0068 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313143
    P FFFF0069 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313191
    P FFFF006A 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313237
    P FFFF006B 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313283
    P FFFF006C 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313329
    P FFFF006D 01 86E092A43C3AB2 ; added by PowerVU KeyPatcher 2024-03-17 23:13:14.313375

Advertise Here

Similar Threads

  1. Replies: 2
    Last Post: 18-12-2024, 09:05:25
  2. OSCam Easy Build Script (script only!)
    By ALFAJAY in forum OSCam Tools
    Replies: 29
    Last Post: 15-01-2013, 22:43:05
  3. ORBIT Package Channels (8.0°W)
    By YaRGI in forum BISS
    Replies: 0
    Last Post: 27-04-2012, 00:12:58
  4. OSCam Easy Build Script (script only!)
    By sami.sami in forum OSCam Plugins
    Replies: 43
    Last Post: 25-04-2012, 19:34:36
  5. New New sex channels package on hotbird13
    By music in forum Channel and Transponders Updates
    Replies: 1
    Last Post: 07-12-2009, 17:30:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •