Categories
Network OS X

OSX Change Roaming Preference

By @sskaje
Link: https://sskaje.me/2016/10/osx-change-roaming-preference/

On my macbook pro, default values are:

修改 JoinMode 为 Preferred

OSX Change Roaming Preference by @sskaje: https://sskaje.me/2016/10/osx-change-roaming-preference/
Categories
OS X

Build GnuTLS 3.4.x on OS X

By @sskaje
Link: https://sskaje.me/2015/12/build-gnutls-3-4-x-os/

Mac OS X El Captain
Xcode
MacPorts: gsed, gawk
GMP: 6.1.0 from https://gmplib.org/
libidn: 1.32 from http://www.gnu.org/software/libidn/
nettle: 3.1 from http://www.lysator.liu.se/~nisse/nettle/
libtasn1: 4.7 https://www.gnu.org/software/libtasn1/
p11-kit: 0.23.2 from http://p11-glue.freedesktop.org/p11-kit.html
GnuTLS: 3.4.7 from http://www.gnutls.org/
libunbound: 1.5.7 from https://unbound.net
Install path: /opt/gnutls

Build GMP

Build libidn

Build libtasn1

Build nettle

Build p11-kit

Build libunbound

Build GnuTLS

If your GnuTLS is cloned from git, install libtool and autogen, autoconf, automake,
and configure with –disable-doc

Trouble Shooting

Wait……..

Build GnuTLS 3.4.x on OS X by @sskaje: https://sskaje.me/2015/12/build-gnutls-3-4-x-os/

Incoming search terms:

Categories
OS X 学习研究 安全 工具、命令 操作系统相关 杂七杂八 逆向

OS X 下采集程序调用:sample

By @sskaje
Link: https://sskaje.me/2015/04/os-%e4%b8%8b%e9%87%87%e9%9b%86%e7%a8%8b%e5%ba%8f%e8%b0%83%e7%94%a8%ef%bc%9asample/

之前在看某个软件,一直没找到注册算法的位置。然后就发现了这个命令行工具:https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sample.1.html

sample — Profile a process during a time interval

sample is a command-line tool for gathering data about the running behavior of a process. It suspends
the process at specified intervals (by default, every 1 millisecond), records the call stacks of all
threads in the process at that time, then resumes the process. The analysis done by sample is called
sampling” because it only checks the state of the program at the sampling points. The analysis may
miss execution of some functions that are not executing during one of the samples, but sample still
provides useful data about commonly executing functions.

Profile的工具,作为逆向调试来说,再好用不过。

OS X 下采集程序调用:sample by @sskaje: https://sskaje.me/2015/04/os-%e4%b8%8b%e9%87%87%e9%9b%86%e7%a8%8b%e5%ba%8f%e8%b0%83%e7%94%a8%ef%bc%9asample/
Categories
OS X 操作系统相关 杂七杂八

OSX Server 4.0 Redeem Code

By @sskaje
Link: https://sskaje.me/2014/10/osx-server-4-0-redeem-code/

Free for developers.

Click here

More:
Apple Developer Redeem Codes
Free OS X Yosemite(10.10) Developer Preview Redeem Code for Developers
Apple gives free OS X Server 3.0 redeem codes to developers

OSX Server 4.0 Redeem Code by @sskaje: https://sskaje.me/2014/10/osx-server-4-0-redeem-code/

Incoming search terms:

Categories
OS X 操作系统相关

Macbook Pro Boot Failure

By @sskaje
Link: https://sskaje.me/2014/10/macbook-pro-boot-failure/

Problem

I’m using MacBook Pro with Retina Display, Mid 2012. Partition is not changed, Volume label is ‘Macintosh HD‘.

I was trying to wake my macbook pro up in airport, the monitor was not lightened. Then I forced shutdown and reboot, monitor was still dark. I tried a lot, not work.
I thought I should reset PRAM, after that I saw the apple logo with gray progress bar, running to 20% at most, then computer shutdown.

UPDATE[2014-10-11]: One of my friends met the same progress bar, but resetting PRAM works for him.

Macbook Pro Boot Failure by @sskaje: https://sskaje.me/2014/10/macbook-pro-boot-failure/

Incoming search terms: