Commit graph

9 commits

Author SHA1 Message Date
tr4m0ryp
74557ab64d fix: Remove last two compiler warnings (comment and macro redef)
Escaped block comment in session.c and removed redundant _GNU_SOURCE
define in main.c (already set via -D flag in Makefile).
Build now produces zero warnings under -Wall -Wextra.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 03:36:29 +02:00
tr4m0ryp
0a02acd634 fix(activation): Fix AFC service, deletescript return, session mutation
Critical: deletescript now uses com.apple.afc2 for root filesystem
access. deletescript_run returns -1 on errors. session no longer
mutates caller's handshake_response plist. Added plist_mem_free
documentation to activation.h. Fixed version parsing to reject negatives.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 03:32:08 +02:00
tr4m0ryp
c28da85b66 refactor: Rename project from Itr4m to tr4mpass
Renamed binary, header, service labels, banner, README, start.sh,
and all documentation references. GitHub repo renamed to tr4mpass.
itr4m.h -> tr4mpass.h, ITR4M_* -> TR4MPASS_*, target binary -> tr4mpass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 03:03:18 +02:00
tr4m0ryp
412a2718d4 chore: Remove .gitkeep files from populated directories
All directories now contain actual source files, making the
placeholder .gitkeep files unnecessary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:58:42 +02:00
tr4m0ryp
6cd54f5272 feat(activation): Replace session protocol placeholders with real data
Updated drmHandshake session implementation with actual protocol
details from go-ios: correct plist command names, HTTP endpoints,
headers, User-Agent string, BasebandWaitCount. Documented online
vs offline paths -- tool uses offline mode per design decision D2.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:38:59 +02:00
tr4m0ryp
e4bf10da85 chore: De-sloppify pass -- cleanup across all source files
- Fix header guard in itr4m.h: ITRM_H -> ITR4M_H (match filename)
- Remove unused <stdio.h> include from itr4m.h
- Remove unused <stdio.h> include from session.c
- Rename static plist_to_xml_string -> plist_node_to_xml in activation.c
  to avoid shadowing the public API in plist_helpers.h

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:29:03 +02:00
tr4m0ryp
f0eeac6fde feat(activation): Add session protocol, record builder, and deletescript
Three post-exploit modules: drmHandshake session activation protocol
wrapping libimobiledevice, activation record plist builder with device
info fields, and iOS-version-specific deletescript for Setup.app
removal and activation record cleanup via AFC.

Files created:
- include/activation/session.h, src/activation/session.c
- include/activation/record.h, src/activation/record.c
- include/bypass/deletescript.h, src/bypass/deletescript.c

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:17:33 +02:00
tr4m0ryp
2d4cba6dc8 feat(activation): Add mobileactivation client with session support
Extended activation client from research_icloud0 with session-mode
activation (iOS 11.2+), deactivation, and activated-state check.
Wraps libimobiledevice mobileactivation API.

Files created:
- include/activation/activation.h
- src/activation/activation.c

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 02:07:02 +02:00
tr4m0ryp
7d3fe3935d Task 001: Project scaffolding
Created directory structure, Makefile, and itr4m.h top-level header.
Build system auto-discovers src/**/*.c via find, uses pkg-config for
library dependencies. Handles missing deps gracefully.

Files created:
- Makefile
- include/itr4m.h
- .gitkeep files in all subdirectories

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 01:52:23 +02:00