sspatch: fix typo

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-21 23:32:31 +02:00
parent 16e30b52f2
commit f180619154

View File

@ -47,7 +47,7 @@ if [ -d /var/packages/SurveillanceStation ]; then
sleep 5 sleep 5
# Check Sha256sum (DVA 92a8c8c75446daa7328a34acc67172e1f9f3af8229558766dbe5804a86c08a5e) # Check Sha256sum (DVA 92a8c8c75446daa7328a34acc67172e1f9f3af8229558766dbe5804a86c08a5e)
if [ "$(sha256sum "${SO_FILE}.so" | cut -d' ' -f1)" = "b0fafefe820aa8ecd577313dff2ae22cf41a6ddf44051f01670c3b92ee04224d" ]; then if [ "$(sha256sum "${SO_FILE}" | cut -d' ' -f1)" = "b0fafefe820aa8ecd577313dff2ae22cf41a6ddf44051f01670c3b92ee04224d" ]; then
mv -f "${SO_FILE}" "${ORG_FILE}" mv -f "${SO_FILE}" "${ORG_FILE}"
cp -f "/usr/lib/libssutils.mitm.so" "${MITM_FILE}" cp -f "/usr/lib/libssutils.mitm.so" "${MITM_FILE}"
patchelf --add-needed ${ORG_FILE} ${MITM_FILE} patchelf --add-needed ${ORG_FILE} ${MITM_FILE}