Conax Card script to calculate RSA1024 signature key
Script in Python, to calculate from all Conax CAS cards RSA1024 signature keys.
+ calculated RSA1024 signature keys from 5150 cards!
greetings
Conax Card script to calculate RSA1024 signature key
- The Founder
- Administration
- Posts: 6100
- Joined: 31 Mar 2022, 14:41
- Location: sat-forum.net
- Has thanked: 11993 times
- Been thanked: 1379 times
- Contact:
Re: Conax Card script to calculate RSA1024 signature key
on windows i give tis errore with Python 3.12.4
Microsoft Windows [Version 10.0.19045.4529]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Stole>cd C:\conax
C:\conax>python getRSA-cnxV10c.py
File "C:\conax\getRSA-cnxV10c.py", line 142
print gcd_result_hex[2:].upper()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
on debian i give this errore Python 2.7.16
root@debian:/home/conax# python getRSA-cnxV10c.py
Traceback (most recent call last):
File "getRSA-cnxV10c.py", line 9, in <module>
from gmpy2 import gcd,mpz,powmod
ImportError: No module named gmpy2
root@debian:/home/conax# pip install gmpy2
Collecting gmpy2
Using cached https://files.pythonhosted.org/packages ... 1.5.tar.gz
Building wheels for collected packages: gmpy2
Running setup.py bdist_wheel for gmpy2 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-MgQJje --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/__init__.py -> build/lib.linux-x86_64-2.7/gmpy2
running egg_info
writing gmpy2.egg-info/PKG-INFO
writing top-level names to gmpy2.egg-info/top_level.txt
writing dependency_links to gmpy2.egg-info/dependency_links.txt
reading manifest file 'gmpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gmpy2.egg-info/SOURCES.txt'
copying gmpy2/__init__.pxd -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-2.7/gmpy2
running build_ext
building 'gmpy2.gmpy2' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/reproducible-path/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I./src -I/usr/include/python2.7 -c src/gmpy2.c -o build/temp.linux-x86_64-2.7/src/gmpy2.o -DSHARED=1
In file included from src/gmpy2.c:517:
src/gmpy2.h:79:12: fatal error: gmp.h: No such file or directory
# include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for gmpy2
Running setup.py clean for gmpy2
Failed to build gmpy2
Installing collected packages: gmpy2
Running setup.py install for gmpy2 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-caMSJy/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/__init__.py -> build/lib.linux-x86_64-2.7/gmpy2
running egg_info
writing gmpy2.egg-info/PKG-INFO
writing top-level names to gmpy2.egg-info/top_level.txt
writing dependency_links to gmpy2.egg-info/dependency_links.txt
reading manifest file 'gmpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gmpy2.egg-info/SOURCES.txt'
copying gmpy2/__init__.pxd -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-2.7/gmpy2
running build_ext
building 'gmpy2.gmpy2' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/reproducible-path/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I./src -I/usr/include/python2.7 -c src/gmpy2.c -o build/temp.linux-x86_64-2.7/src/gmpy2.o -DSHARED=1
In file included from src/gmpy2.c:517:
src/gmpy2.h:79:12: fatal error: gmp.h: No such file or directory
# include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-caMSJy/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-afhyGK/gmpy2/
Microsoft Windows [Version 10.0.19045.4529]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Stole>cd C:\conax
C:\conax>python getRSA-cnxV10c.py
File "C:\conax\getRSA-cnxV10c.py", line 142
print gcd_result_hex[2:].upper()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
on debian i give this errore Python 2.7.16
root@debian:/home/conax# python getRSA-cnxV10c.py
Traceback (most recent call last):
File "getRSA-cnxV10c.py", line 9, in <module>
from gmpy2 import gcd,mpz,powmod
ImportError: No module named gmpy2
root@debian:/home/conax# pip install gmpy2
Collecting gmpy2
Using cached https://files.pythonhosted.org/packages ... 1.5.tar.gz
Building wheels for collected packages: gmpy2
Running setup.py bdist_wheel for gmpy2 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-MgQJje --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/__init__.py -> build/lib.linux-x86_64-2.7/gmpy2
running egg_info
writing gmpy2.egg-info/PKG-INFO
writing top-level names to gmpy2.egg-info/top_level.txt
writing dependency_links to gmpy2.egg-info/dependency_links.txt
reading manifest file 'gmpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gmpy2.egg-info/SOURCES.txt'
copying gmpy2/__init__.pxd -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-2.7/gmpy2
running build_ext
building 'gmpy2.gmpy2' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/reproducible-path/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I./src -I/usr/include/python2.7 -c src/gmpy2.c -o build/temp.linux-x86_64-2.7/src/gmpy2.o -DSHARED=1
In file included from src/gmpy2.c:517:
src/gmpy2.h:79:12: fatal error: gmp.h: No such file or directory
# include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for gmpy2
Running setup.py clean for gmpy2
Failed to build gmpy2
Installing collected packages: gmpy2
Running setup.py install for gmpy2 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-caMSJy/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/__init__.py -> build/lib.linux-x86_64-2.7/gmpy2
running egg_info
writing gmpy2.egg-info/PKG-INFO
writing top-level names to gmpy2.egg-info/top_level.txt
writing dependency_links to gmpy2.egg-info/dependency_links.txt
reading manifest file 'gmpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gmpy2.egg-info/SOURCES.txt'
copying gmpy2/__init__.pxd -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-2.7/gmpy2
copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-2.7/gmpy2
running build_ext
building 'gmpy2.gmpy2' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/reproducible-path/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I./src -I/usr/include/python2.7 -c src/gmpy2.c -o build/temp.linux-x86_64-2.7/src/gmpy2.o -DSHARED=1
In file included from src/gmpy2.c:517:
src/gmpy2.h:79:12: fatal error: gmp.h: No such file or directory
# include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-afhyGK/gmpy2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-caMSJy/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-afhyGK/gmpy2/
- Hannibal_Lecter
- Administration
- Posts: 6238
- Joined: 27 Mar 2024, 15:29
- Location: all over the world
- Has thanked: 2 times
- Been thanked: 1684 times
Re: Conax Card script to calculate RSA1024 signature key
The information and uploads I have provided are for testing purposes only.
Pay-TV reception without a valid subscription is illegal and punishable by law.
Pay-TV reception without a valid subscription is illegal and punishable by law.
Re: Conax Card script to calculate RSA1024 signature key
I solved the problem, I found the RSA but I think I need to find CWPK and LPK
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0 Replies
- 920 Views
-
Last post by josemo7920
-
- 0 Replies
- 1443 Views
-
Last post by dorinelu
-
- 6 Replies
- 1607 Views
-
Last post by kingsman
-
- 0 Replies
- 1836 Views
-
Last post by The Founder
-
- 0 Replies
- 15965 Views
-
Last post by Zaam
-
- 3 Replies
- 610 Views
-
Last post by The Founder
-
- 0 Replies
- 1772 Views
-
Last post by The Founder
-
- 0 Replies
- 1306 Views
-
Last post by The Founder
-
- 1 Replies
- 1377 Views
-
Last post by Zaam
-
- 6 Replies
- 1204 Views
-
Last post by Arri