Work on decrypting Cisco's add wlan msg element.
FossilOrigin-Name: d833703e09017e5c53c85d0c9c7a3376b890c5e07304c849d68f3e03c0569f23
This commit is contained in:
		@ -382,7 +382,6 @@ int cfg_to_json()
 | 
			
		||||
//printf("DST: %s\n",dst);
 | 
			
		||||
//exit(0);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	cw_save_file("cfg.json", dst, n);
 | 
			
		||||
	return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -4,8 +4,8 @@
 | 
			
		||||
		"Master AC":"1"
 | 
			
		||||
	},
 | 
			
		||||
	"capwap_timers":"2590",
 | 
			
		||||
	"cisco_ap_mode_and_type":"512",
 | 
			
		||||
	"cisco_board_data_options":".x01010101",
 | 
			
		||||
	"cisco_ap_mode_and_type":"4",
 | 
			
		||||
	"cisco_board_data_options":".x00010404",
 | 
			
		||||
	"idle_timeout":"300",
 | 
			
		||||
	"location_data":"Germany",
 | 
			
		||||
	"wtp_board_data":{
 | 
			
		||||
@ -18,12 +18,37 @@
 | 
			
		||||
	"wtp_hardware_version":"4232704,.x01000000",
 | 
			
		||||
	"wtp_mac_type":"1",
 | 
			
		||||
	"wtp_name":"Kaffe-Point",
 | 
			
		||||
	"wtp_software_version":"4232704,.x08007300",
 | 
			
		||||
	"wtp_software_version":"4232704,.x07007300",
 | 
			
		||||
	"radios":{
 | 
			
		||||
		"0":{
 | 
			
		||||
			"admin_state":"1",
 | 
			
		||||
			"aironet_ie":"0",
 | 
			
		||||
			"allow_aaa_override":"1",
 | 
			
		||||
			"bssid":".x123456789abc",
 | 
			
		||||
			"radio_type":"1"
 | 
			
		||||
			"dot11e_data":".x0042435e0062322f000000000000000000000000000000000000000000000000",
 | 
			
		||||
			"dot11e_len":"0",
 | 
			
		||||
			"dtim_period":"241",
 | 
			
		||||
			"enc_capab":"1073",
 | 
			
		||||
			"enc_policy":"5",
 | 
			
		||||
			"key":".x210127bab42d5c063ae05a292ea01709d00a6347407e52d5f14d5a6ab82dae3a",
 | 
			
		||||
			"key_index":"1",
 | 
			
		||||
			"key_shared":"0",
 | 
			
		||||
			"max_clients":"17",
 | 
			
		||||
			"qos":"0",
 | 
			
		||||
			"radio_id":"0",
 | 
			
		||||
			"radio_type":"1",
 | 
			
		||||
			"reserved":".x000000000000000000000000000000000cdd0a00c0b9010000000801010000000000000000000000000000000000000000",
 | 
			
		||||
			"reserved2":".x00000000000000000000000000000000000000000000000000000000000000000000000000000000",
 | 
			
		||||
			"rsn_data":".x0000000000000000000000000000001630140100000fac020100000fac040100000fac0229000000000000000000000000000000000000000000000000000000",
 | 
			
		||||
			"rsn_len":"0",
 | 
			
		||||
			"ssid":"Hotler",
 | 
			
		||||
			"ssid_broadcast":"1",
 | 
			
		||||
			"wlan_id":"1",
 | 
			
		||||
			"wlan_name":".x53757065726e6574776f726b3230313521212100000000000000000000000000",
 | 
			
		||||
			"wme_data":".x0000000000000000000000000000001add180050f2020101800003a4000027a4",
 | 
			
		||||
			"wme_len":"0",
 | 
			
		||||
			"wpa_data":".xdd1c0050f20101000050f20202000050f2020050f20401000050f20200000000",
 | 
			
		||||
			"wpa_len":"30"
 | 
			
		||||
		},
 | 
			
		||||
		"1":{
 | 
			
		||||
			"admin_state":"1",
 | 
			
		||||
 | 
			
		||||
@ -188,7 +188,7 @@ conn->incomming=conn->config;
 | 
			
		||||
 | 
			
		||||
	//image_update();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user