On Mon, 20 Oct 2025, Mark Felder wrote:


On 8/31/25 6:06 AM, Marcin Cieslak wrote:

JARFILE=../Omada_SDN_Controller_v5.15.24.19_linux_x64/lib/omada-common-5.15.24.19.jar ISLINUXOS_CLASS="com/tplink/smb/omada/common/util/S.class"

patch() {
        new_class_dir=`mktemp -d`
        trap 'rm -rf -- "${new_class_dir}"' EXIT
        dest_dir=`dirname "${ISLINUXOS_CLASS}"`
        mkdir -p "${new_class_dir}/${dest_dir}"
        unzip -p "${JARFILE}" "${ISLINUXOS_CLASS}" | xxd -p -c 0 | {
                sed -e s,0100056c696e7578,01000766726565627364,
        } | xxd -r -p > "${new_class_dir}/${ISLINUXOS_CLASS}"
        jar uf "${JARFILE}" -C "${new_class_dir}" "${ISLINUXOS_CLASS}"
}


This is amazing, I was able to adapt it to the port and it really works! Sorry about the delay, too many irons in the fire. It's being committed momentarily... I'll reach out privately about settling that bounty :)

The bounty has been settled. It was a pleasure to work with you, thank you very 
much!

Marcin

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to