-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathios.h
33 lines (26 loc) · 1 KB
/
ios.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Created by 010010 on 20/05/2020.
//
#ifndef ACTIVATIONBX_IOS_H
#define ACTIVATIONBX_IOS_H
#include <sys/wait.h>
#include <stdlib.h>
#include <string.h>
//FS mgmt related functions - utilising sshpass,scp - using default iOS pw.
int ios_makevol_apfs(char *volname, char *role); //done
int ios_mountdisk(char *diskid, char *mntpnt); //done
int ios_makedir(char *absolutedirectory); //done
int ios_send_f(char *filetosend, char *remotedir); //done
int ios_rec_f(char *remotefiledir, char *localfname); //done
int ios_checkdirexists(char *dir); //done
//exec commands, pull exit codes and other data from connected device.
int ios_fetch_access(); //done
char *ios_run_comm(char *command, char *pass); //done
int macos_run_comm(char *command); //done
char *macos_run_str(char *command); //done
int *ios_blob_fetch(char *ptype, char *eciddec, char *boardconf); //done
char *ios_ecid_fetch(); //done
char *ios_ptype_fetch(); //done
char *ios_bconf_fetch(); //done
int ios_ver_check(); //done
#endif //ACTIVATIONBX_IOS_H