Categories
12306 学习研究 项目、研究

12306刷票记

By @sskaje
Link: https://sskaje.me/2013/12/12306bot/

我也记不清啥时候动了写bot刷票这个念头的。原因很简单,我一直认为作为一个以代码谋生的不合格程序员,只有把生产工具用好,才能增加自己存在的价值。

首先说明一下主要开发环境:Windows 7,PHP 5.3,php_curl。

翻到了 第一条关于刷票的微博,附了图

很不低调地炫耀。

要刷票,首先自然得熟悉目标系统,所谓踩点。firefox+firebug,抓了一个标准流程的请求:登录、查票、订票。确认订单一开始没敢点,怕会有什么影响,后来去注册了几个测试号,然后尝试了确认订单的操作。流程本身不复杂,但是提交参数有点太多,一步一步来。

回到图1,登录,其实核心在验证码。

12306刷票记 by @sskaje: https://sskaje.me/2013/12/12306bot/
Categories
iOS 学习研究 操作系统相关 逆向

Duplicated: For those who cannot use lsof on a jailbroken iDevice

By @sskaje
Link: https://sskaje.me/2013/10/duplicated-for-those-who-cannot-use-lsof-on-a-jailbroken-idevice/

From Apple signed fake device attributes?

If you find the lsof not working with a message like ‘lsof: PID 3206 information error: Cannot allocate memory’, then you may need http://pupil.io8.org/pub/iphone/misc/lsof/lsof-arm7-iOS4.2 from http://modmyi.com/forums/native-iphone-ipod-touch-app-discussion/721184-lsof-problem.html. Then chmod +x lsof-arm7-iOS4.2

Tested under iOS 6.1.3 on iPod Touch 4.

Duplicated: For those who cannot use lsof on a jailbroken iDevice by @sskaje: https://sskaje.me/2013/10/duplicated-for-those-who-cannot-use-lsof-on-a-jailbroken-idevice/
Categories
Apple iOS 学习研究 操作系统相关 算法、协议 逆向

Apple signed fake device attributes?

By @sskaje
Link: https://sskaje.me/2013/10/apple-signed-fake-device-attributes/

You are not authorised to read all content in this post.

Please login…

Apple signed fake device attributes? by @sskaje: https://sskaje.me/2013/10/apple-signed-fake-device-attributes/
Categories
iOS OS X 学习研究 操作系统相关 逆向

How to get iDevice’s UDID from Mobile Safari?

By @sskaje
Link: https://sskaje.me/2013/10/how-to-get-idevices-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.

How to get iDevice’s UDID from Mobile Safari? by @sskaje: https://sskaje.me/2013/10/how-to-get-idevices-udid-from-mobile-safari/

Incoming search terms:

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

Mac OS X Command line tools for Application Analysis

By @sskaje
Link: https://sskaje.me/2013/10/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

Mac OS X Command line tools for Application Analysis by @sskaje: https://sskaje.me/2013/10/mac-os-x-command-line-tools-for-application-analysis/