├── .gitignore ├── .htaccess ├── device.mobileconfig ├── get_mobileconfig.php ├── index.html ├── processes_data.php └── show_detail.php /.gitignore: -------------------------------------------------------------------------------- 1 | #### joe made this: https://goel.io/joe 2 | 3 | #####=== OSX ===##### 4 | .DS_Store 5 | .AppleDouble 6 | .LSOverride 7 | 8 | # Icon must end with two \r 9 | Icon 10 | 11 | # Thumbnails 12 | ._* 13 | 14 | # Files that might appear on external disk 15 | .Spotlight-V100 16 | .Trashes 17 | 18 | # Directories potentially created on remote AFP share 19 | .AppleDB 20 | .AppleDesktop 21 | Network Trash Folder 22 | Temporary Items 23 | .apdisk 24 | 25 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | AddType text/xml .plist 3 | AddType application/x-apple-aspen-config .mobileconfig 4 | -------------------------------------------------------------------------------- /device.mobileconfig: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PayloadContent 6 | 7 | URL 8 | http://hunk.com.mx/udid/processes_data.php 9 | DeviceAttributes 10 | 11 | UDID 12 | DEVICE_NAME 13 | VERSION 14 | PRODUCT 15 | MAC_ADDRESS_EN0 16 | IMEI 17 | ICCID 18 | 19 | 20 | PayloadOrganization 21 | My Organization 22 | PayloadDisplayName 23 | Device Information (UDID) 24 | PayloadVersion 25 | 1 26 | PayloadUUID 27 | BDD0F593-5B98-47FF-A0A4-4B98E30CE451 28 | PayloadIdentifier 29 | mx.com.hunk.getUDID 30 | PayloadDescription 31 | Knowing the UDID of my iOS device 32 | PayloadType 33 | Profile Service 34 | 35 | -------------------------------------------------------------------------------- /get_mobileconfig.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UDID 6 | 7 | 8 | 9 |
10 |
11 |

Knowing the UDID of my iOS device

12 |

Step 1: Follow the next link and install the certificate

13 |

Give me tap

14 |
15 |
16 | 17 | -------------------------------------------------------------------------------- /processes_data.php: -------------------------------------------------------------------------------- 1 | '; 8 | 9 | $pos1 = strpos($data, $plistBegin); 10 | $pos2 = strpos($data, $plistEnd); 11 | $data2 = substr ($data,$pos1,$pos2-$pos1); 12 | 13 | 14 | $xml = xml_parser_create(); 15 | xml_parse_into_struct($xml, $data2, $vs); 16 | xml_parser_free($xml); 17 | 18 | $UDID = ""; 19 | $DEVICE_PRODUCT = ""; 20 | $DEVICE_VERSION = ""; 21 | $DEVICE_NAME = ""; 22 | $iterator = 0; 23 | 24 | $arrayCleaned = array(); 25 | foreach($vs as $v){ 26 | 27 | if($v['level'] == 3 && $v['type'] == 'complete'){ 28 | $arrayCleaned[]= $v; 29 | } 30 | $iterator++; 31 | } 32 | 33 | $iterator = 0; 34 | foreach($arrayCleaned as $elem){ 35 | switch ($elem['value']) { 36 | case "UDID": 37 | $UDID = $arrayCleaned[$iterator+1]['value']; 38 | break; 39 | case "PRODUCT": 40 | $DEVICE_PRODUCT = $arrayCleaned[$iterator+1]['value']; 41 | break; 42 | case "VERSION": 43 | $DEVICE_VERSION = $arrayCleaned[$iterator+1]['value']; 44 | break; 45 | case "DEVICE_NAME": 46 | $DEVICE_NAME = $arrayCleaned[$iterator+1]['value']; 47 | break; 48 | } 49 | $iterator++; 50 | } 51 | 52 | $params = "UDID=".$UDID."&DEVICE_PRODUCT=".$DEVICE_PRODUCT."&DEVICE_VERSION=".$DEVICE_VERSION."&DEVICE_NAME=".$DEVICE_NAME; 53 | header("Location: show_detail.php?".$params,TRUE,301); -------------------------------------------------------------------------------- /show_detail.php: -------------------------------------------------------------------------------- 1 | This is my UDID: {$_GET['UDID']}
"; 4 | $body .= "Device product: {$_GET['DEVICE_PRODUCT']}
"; 5 | $body .= "Device version: {$_GET['DEVICE_VERSION']}
"; 6 | $body .= "Device name: {$_GET['DEVICE_NAME']}
"; 7 | ?> 8 | 9 | 10 | 11 | 12 | UDID 13 | 14 | 15 | 16 |
17 |

Knowing the UDID of my iOS device

18 |

UDID:

19 |

Device product:

20 |

Device version:

21 |

Device name:

22 | 23 |

Step 2: Send the information by email:

24 |

25 | Give me tap 26 |

27 |
28 | 29 | --------------------------------------------------------------------------------