Android 开发中可能需要对网络请求进行调试,这时刻需要对程序发出的请求进行抓包。下面记录一下之前调试使用过的工具和使用方法,以便于未来快速查询。
Charles
Charles 是 Mac/Linux 下非常好用的抓包工具,不仅是对 Android,而 iOS,或者其他局域网能够使用本机http代理的任何设备都能够进行抓包的操作。
Charles实现对 Https 进行抓包,使用的原理就是中间人技术(man-in-the-middle)。Charles会动态生成一个使用自己根证书签名的证书,Charles接收web服务器的证书,而客户端浏
Read more ...
Some of the Head First learning principles:
make it visual.
use a conversational and personalized style.
think more deeply.
keep attention.
touch emotions.
To bend your brain into submission
Slow down, the more you understand, the less you have to memorize.
Do
Read more ...
ssh to xiaomi router
smbpasswd -a root
then enter your password two times.
vi /etc/config/samba
Edit
option 'guest_ok' no
option 'force_user' 'root'
And
vi /var/etc/smb.conf
Edit
guest ok = yes
valid users = root
Then restart samba service:
/etc/init.d/s
Read more ...