summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-27tools: Fix memory leak in idevicedevmodectlGravatar Nikias Bassen1-0/+1
Thanks to @Fidetro for reporting the issue.
2024-03-17autoconf: Add LibreSSL specific checkGravatar Nikias Bassen1-0/+30
2024-03-16Add libimobiledevice_version() function to interfaceGravatar Nikias Bassen2-0/+15
2024-02-01tools/afcclient: Allow removing non-empty directories with -rGravatar Nikias Bassen1-32/+84
2024-02-01tools/afcclient: Print human readable description of AFC error code on errorGravatar Nikias Bassen1-11/+11
2024-02-01Add afc_strerror function to interfaceGravatar Nikias Bassen2-0/+76
2024-01-31Move LIBIMOBILEDEVICE_API to public headersGravatar Nikias Bassen85-642/+680
2024-01-11tools/idevicedevmodectl: Fix action success check and device reboot detectionGravatar Nikias Bassen1-17/+25
2023-12-30Updated READMEGravatar Nikias Bassen1-2/+3
2023-12-30tools: Add afcclient utilityGravatar Nikias Bassen4-1/+1393
2023-12-22idevicesyslog: Allow writing output to a file with command line optionGravatar Nikias Bassen2-3/+36
2023-12-16idevicedevmodectl: Include unistd.h for usleep()Gravatar Khem Raj1-0/+1
clang16 flags the missing header Fixes ../../git/tools/idevicedevmodectl.c:363:2: error: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-16idevice: Update for LibreSSL >= 3.6.0Gravatar orbea1-1/+2
Since LibreSSL 3.6.0 SSL_CTX_set_security_level() has been available.
2023-12-16lockdown-cu: Fix the build with LibreSSL >= 3.5.0Gravatar orbea1-2/+2
In LibreSSL >= 3.5.0 many structs are defined as opaque as they are in OpenSSL 1.1.
2023-12-16mobilebackup: Add missing includeGravatar Nikias Bassen1-0/+1
2023-12-16Remove bashisms in configure.acGravatar Luca Petrucci1-8/+8
2023-12-16cython: Fix Python 3 LockdownClient exceptionGravatar Dave Nicolson1-2/+3
Fixes #1110
2023-12-16Fix GitHub Action for Cython on macOSGravatar Dave Nicolson1-1/+11
2023-12-16sbservices: Read setIconState responseGravatar Dave Nicolson1-1/+4
This allows the same connection to be used again after sbservices_set_icon_state is called. Fixes #928.
2023-12-12Fix idevicebackup2 man pageGravatar Nikias Bassen1-1/+1
Thanks to @SCOTT-HAMILTON for pointing this out.
2023-12-12Fix iOS 1 SSL connectionGravatar tihmstar1-0/+14
Detect if we're talking to iOS 1 `if (connection->device->version == 0)` and set `SSL_CTX_set_min_proto_version(ssl_ctx, 0);` to support SSL3. iOS 1 doesn't understand TLS1_VERSION, it can only speak SSL3_VERSION. However, modern OpenSSL is usually compiled without SSLv3 support. So if we set min_proto_version to SSL3_VERSION on an OpenSSL instance which doesn't support it, it will just ignore min_proto_version altogether and fall back to an even higher version. To avoid accidentally breaking iOS 2.0+, we set min version to 0 instead.
2023-10-07[github-actions] Update checkout and upload-artifact to v3Gravatar Nikias Bassen1-6/+6
2023-10-07automake: Reorder CFLAGS to fix build issues and use correct SSL library ↵Gravatar Nikias Bassen5-32/+23
flags across Makefiles
2023-07-05tools/idevicecrashreport: Silence compiler warningGravatar Nikias Bassen1-1/+1
2023-07-05Silence (v)asprintf related compiler warningsGravatar Nikias Bassen2-4/+7
2023-07-05Updated OpenSSL-specific code to use OpenSSL 3.0+ APIGravatar Nikias Bassen3-8/+69
2023-07-043rd_party/libsrp6a-sha512: Updated to work with OpenSSL 3.0+ APIGravatar Nikias Bassen4-7/+74
2023-06-303rd_party/libsrp6a-sha512: Update function definitions to modern styleGravatar Nikias Bassen4-122/+40
2023-06-303rd_party/ed25519: Silence compiler warning about missing return value for freadGravatar Nikias Bassen1-1/+1
2023-06-29tools/idevicedebug: Add missing default case for switch statementGravatar Nikias Bassen1-0/+5
2023-06-29tools/idevicedevmodectl: Add missing includeGravatar Nikias Bassen1-0/+1
2023-06-28idevice: Add missing include for WindowsGravatar Nikias Bassen1-0/+1
2023-06-28idevice: Fix network address handling in other code paths tooGravatar Nikias Bassen1-4/+37
2023-06-27idevice: Use network addresses as is from what we get from (lib)usbmuxdGravatar Nikias Bassen1-19/+8
2023-04-30git-version-gen: Prevent multiple lines of outputGravatar Nikias Bassen1-0/+1
2023-04-21Updated to use latest libplist API changesGravatar Nikias Bassen10-62/+34
2023-03-23installation_proxy: Handle BundleIDs in instproxy_client_options_addGravatar Nikias Bassen1-1/+1
BundleIDs are passed as an array so we need to make sure it gets added as such. In fact though we just copy the node from the va_arg :)
2023-03-013rd_party: Prevent installation of internal headersGravatar Nikias Bassen1-3/+2
2023-02-21reverse_proxy: Fix use-after-freeGravatar Nikias Bassen1-1/+2
2023-01-11idevice: Use more reliable version check macro for OpenSSL 3 specific thingsGravatar Nikias Bassen1-1/+1
OpenSSL versions pre 3.0 do not define OPENSSL_VERSION_MAJOR etc.
2023-01-11idevice: Fix connections to <= iOS 5 devices with OpenSSL 3Gravatar Nikias Bassen1-1/+10
Thanks @tihmstar for pointing this out.
2023-01-11idevice: Simplify TLS version selection code for older devicesGravatar Nikias Bassen1-6/+4
Turns out that SSL_CTX_set_options does *not* clear options that have been set before.
2022-12-10idevicebackup2: Fix missing break in switch case statementGravatar Nikias Bassen1-0/+1
2022-12-10[github-actions] Fix build workflow for Linux/ubuntuGravatar Nikias Bassen1-1/+1
2022-12-10tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+Gravatar Nikias Bassen1-0/+14
2022-12-10tools: Add idevicedevmodectl toolGravatar Nikias Bassen4-0/+516
2022-10-04lockdown: Fix error parsing for older iOS versionsGravatar Nikias Bassen1-35/+19
A logical bug did prevent parsing the 'Error' node since the code path is never reached when a 'Result' node is found first. This is mitigated by always checking for the 'Error' node first.
2022-10-04mobilebackup: Fix version check to allow operability with really old iOS ↵Gravatar Nikias Bassen1-2/+18
versions
2022-09-14restore: Remove incorrect invocation of free() in restored_get_valueGravatar Nikias Bassen1-1/+1
The free would cause a use-after-free when the plist is later freed, which eventually ends up in a crash. Thanks @TrungNguyen1909 for catching this.
2022-09-04Fix iOS SDK buildGravatar Kabir Oberai1-1/+2