diff --git a/client/pyscripts/Paxton_switch.py b/client/pyscripts/Paxton_switch.py index df9ea2955..275e3c33f 100644 --- a/client/pyscripts/Paxton_switch.py +++ b/client/pyscripts/Paxton_switch.py @@ -1,5 +1,20 @@ -# Author - jareckib -# Based on Equipter's tutorial - Downgrade Paxton Switch2 to EM410x +# paxton_switch.py - Convert Paxton 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)) @@ -54,4 +69,4 @@ try: print('Switch2 ID - hex: {}'.format(padded_hex_id)) print('Use the following command in Proxmark3: lf em 410x clone --id {}'.format(padded_hex_id)) except ValueError as e: - print(e) \ No newline at end of file + print(e)