jay's some development note
linux
driver
- ramfs、initrd
display
tools
others
jay's some development note
linux
driver
display
tools
others
和亮哥对json的数据类型有了争议,这里直接dump http的post 数据。分析如下post数据的false值。
{"isSaas": false, "update_server_url": "http://update.mxj360.com", "hd_package_version": "4.0.4", "is_monitor": false, "serialNumber": "19000101001", "version": "2.0.7", "mac_addr": "30:09:f9:60:00:09", "private_ip_addr": "10.27.0.7", "type": "door"}
$tcpdump -s 0 -A -X 'tcp dst port 80 and (tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)'
0x0160: 3833 222c 2022 6973 5361 6173 223a 2066 83",."isSaas":.f
0x0170: 616c 7365 2c20 2275 7064 6174 655f 7365 alse,."update_se
对比了如上的false值,发现还是一个字符串。