Categories
iOS OS X 学习研究 操作系统相关 逆向

How to get iDevice’s UDID from Mobile Safari?

This is an old topic, just make it as an intro to the coming article.

If you want to collect iOS users’ device detail, such as Serial Number, UDID, IMEI, you’ll find Apple provides an application called ‘iPhone Configuration Utility’.
You can download the iPhone Configuration Utility for Windows here and for OS X here.
Guys who ever tried to get an iOS Beta installed and worked might know this because of the mobileprovision stuff.
Run IPCU, choose ‘Configuration profiles’ and click the ‘New’ icon, you’ll see something like this:
ipcu snapshot

Write something and export as an unsigned mobileconfig file. Then open it with text editor, you’ll find a XML which means you can write your own without ipcu.
Take a look at this: https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/iphoneotaconfiguration/ConfigurationProfileExamples/ConfigurationProfileExamples.html, you’ll find more.

Incoming search terms:

Categories
OS X 学习研究 操作系统相关 逆向

Mac OS X Command line tools for Application Analysis

I was looking into a lib file provided by some SDK, I need to extract lib by architecture. The first choice was the super 7-Zip which can extract almost every file on the Earth, but unfortunately files cannot be recognized by Hopper/IDA.

Here we go on OS X 10.9.

file

Categories
MacPorts OS X 操作系统相关 笔记

Macports upgrade outdated failed on OS X 10.9 Mavericks

bash-4.2# port upgrade outdated
---> Extracting expat
Error: org.macports.extract for port expat returned: command execution failed
Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
bash-4.2#
bash-4.2# tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
:info:extract Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/expat/expat-2.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
:info:extract Exit code: 127
:error:extract org.macports.extract for port expat returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for expat: org.macports.destroot org.macports.extract org.macports.patch org.macports.configure org.macports.build
:notice:extract Please see the log file for port expat for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

Categories
Apple 学习研究 项目、研究

Something Changed about AppStore’s Redeem Protocol

For some reasons, I analyze the redeem protocol again.

Last time I looked into it about 18 months ago, there were two requests after entering code and pressing Redeem button on its landing page.
Code can be found here: /sskaje/code/itunes/auto_redeemer.php
1 Submit an html form to an address like ‘/WebObjects/MZFinance.woa/wo/1.2.3.4’ with the redeem code.
2 If the redeem code is not usable, error message will be displayed; otherwise iTunes would prompt a login dialog to ask your password.
3 After being re-authenticated, a second request would be sent, which performed a real redeem action.

Categories
CDH Cloudera Mirror Hadoop相关 项目、研究

Cloudera Archive Mirror for RHEL/CentOS 6

Latest Updates @ https://sskaje.me/cloudera-mirror/

Cloudera does not provide any mirror sites for its parcels/packages downloading, but fortunately the directory list on archive.cloudera.com is on, just create my own!

URL: http://cloudera.rst.im/

You may download CM installer from http://cloudera.rst.im/cm4/installer/latest/

And use http://cloudera.rst.im/cm4/redhat/6/x86_64/cm/4.7.0/ as your yum repo for CM 4.7.0.(No ‘latest’ stuff this time :P)