Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
bb74e8fd
Commit
bb74e8fd
authored
Aug 11, 2008
by
Jonathan Beck
Committed by
Matt Colyer
Aug 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make ifuse use lockdownd_init so that pairing is done if necessary.
parent
8d5c88ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
ifuse.c
src/ifuse.c
+3
-11
No files found.
src/ifuse.c
View file @
bb74e8fd
...
...
@@ -187,20 +187,12 @@ void *ifuse_init(struct fuse_conn_info *conn) {
return
NULL
;
}
lockdownd_client
*
control
=
new_lockdownd_client
(
phone
)
;
if
(
!
lockdownd_
hello
(
control
))
{
lockdownd_client
*
control
=
NULL
;
if
(
!
lockdownd_
init
(
phone
,
&
control
))
{
fprintf
(
stderr
,
"Something went wrong in the lockdownd client.
\n
"
);
return
NULL
;
}
host_id
=
get_host_id
();
if
((
host_id
&&
!
lockdownd_start_SSL_session
(
control
,
host_id
))
||
!
host_id
)
{
fprintf
(
stderr
,
"Something went wrong in GnuTLS. Is your HostID configured in .config/libiphone/libiphonerc?
\n
"
);
return
NULL
;
}
free
(
host_id
);
host_id
=
NULL
;
port
=
lockdownd_start_service
(
control
,
"com.apple.afc"
);
if
(
!
port
)
{
fprintf
(
stderr
,
"Something went wrong when starting AFC."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment