dhinakg / aeota

AEA OTA/IPSW decryption
222 stars 19 forks source link

invalid syntax #2

Closed Unagaml closed 2 months ago

Unagaml commented 2 months ago

python get_key.py /Users/wesker/Downloads/iPhone16,1_18.0_22A5282m_Restore/090-29322-049.dmg.aea File "get_key.py", line 30 print(f"Expected 12 bytes, got {len(header)}") ^

getting this error please fix that

Screenshot 2024-06-12 at 15 08 43
e11iot-1337 commented 2 months ago

**

use "python3" instead of "python"

**

???@MacBook-Pro-??? aeota % python3 get_key.py 

/Users/???/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Usage: get_key.py <aea>

???@MacBook-Pro-??? aeota % python get_key.py 
  File "get_key.py", line 30
    print(f"Expected 12 bytes, got {len(header)}")
                                                ^
SyntaxError: invalid syntax

???@MacBook-Pro-??? aeota % python3 get_key.py

/Users/???/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Usage: get_key.py <aea>
Unagaml commented 2 months ago

Not decrypted

Screenshot 2024-06-12 at 17 36 06
Unagaml commented 2 months ago

**

use "python3" instead of "python"

**

???@MacBook-Pro-??? aeota % python3 get_key.py 

/Users/???/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Usage: get_key.py <aea>

???@MacBook-Pro-??? aeota % python get_key.py 
  File "get_key.py", line 30
    print(f"Expected 12 bytes, got {len(header)}")
                                                ^
SyntaxError: invalid syntax

???@MacBook-Pro-??? aeota % python3 get_key.py

/Users/???/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Usage: get_key.py <aea>

please help