From f1354e57154f9e447962c0fa88bc22099670aeb0 Mon Sep 17 00:00:00 2001 From: Jarek Barwinski <116510448+jareckib@users.noreply.github.com> Date: Fri, 31 Jan 2025 14:52:12 +0000 Subject: [PATCH] Update Paxton_convert.py Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com> --- client/pyscripts/Paxton_convert.py | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/client/pyscripts/Paxton_convert.py b/client/pyscripts/Paxton_convert.py index 37633b8ff..d4a1331c5 100644 --- a/client/pyscripts/Paxton_convert.py +++ b/client/pyscripts/Paxton_convert.py @@ -1,5 +1,21 @@ -# Author - jareckib -# Based on Equipter's tutorial - Downgrade Paxton Switch2 to EM410x +# paxton_convert.py - Convert Paxton Net2 and Switch2 to EM4102 +# Author jareckib +# Based on Equipter's tutorial - Downgrade Paxton Net to EM410x +# +# This code is copyright (c) jareckib, 2025, All rights reserved. +# For non-commercial use only, the following terms apply - for all other +# uses, please contact the author. +# +# This code is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This code is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + import sys def hex_to_bin(hex_string): return ''.join(format(byte, '08b') for byte in bytearray.fromhex(hex_string)) @@ -86,4 +102,4 @@ else: print('Use the following command in Proxmark3: lf em 410x clone --id {}'.format(padded_hex_id)) except ValueError as e: print(e) -print('If EM4102 does not work, this option is probably disabled. Sorry for the inconvenience.') \ No newline at end of file +print('If EM4102 does not work, this option is probably disabled. Sorry for the inconvenience.')