Unicode Your Wifi – Specifically DGND3700v2

God knows why I’m only just trying this now, but it turns out your wifi SSIDs don’t have to be limited to boring text and can actually include Unicode characters. I tried to maintain some composite and created a couple.

No prizes for guessing which 2 are mine.

Getting right to it, to achieve such things, all that was needed for my DGND3700v2 router was to emulate the http request to save the WLAN config which my web browser would normally issue and sneak the Unicode characters around the validity checking functions of the real thing. So pop open the postman application and import the following curl script…

curl -X POST \
'http://192.168.0.1/setup.cgi?id=75d6394e&sp=3' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Accept-Language: en-AU,en-XA;q=0.9,en-US;q=0.8,en-GB;q=0.7,en;q=0.6' \
-H 'Authorization: Basic YWRtaW46WGVub21vcnBoMSE=' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'DNT: 1' \
-H 'Origin: http://192.168.0.1' \
-H 'Postman-Token: 7a45f053-04c2-4d82-a18f-5d543bab749e' \
-H 'Referer: http://192.168.0.1/WLG_wireless_2.htm&todo=cfg_init' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36' \
-d 'h_WRegion=Australia&h_ssid_class=primary&tempSetting=0&tempRegion=11&setRegion=11&h_wds_enable=disable&h_wds_enable_an=disable&only_mode=0&show_wps_alert=0&h_enable_ap=enable&h_enable_ap_an=enable&h_ssid_bc=enable&h_ssid_bc_an=enable&h_allow_access=disable&h_allow_access_an=disable&h_wire_iso=&h_wire_iso_an=&ssid=%F0%9F%91%BD%20Holy%20Shit!%20Aliens!!!%F0%9F%91%BD&ssid_an=%E2%98%81%20%3C--%20The%20actual%20cloud&h_w_channel=0&h_w_channel_an=149&h_opmode=300&h_opmode_an=300&h_security_type=WPA2-PSK&h_security_type_an=WPA2-PSK&h_wepenc=0&h_wepenc_an=0&h_wpae_mode=3&h_wpae_mode_an=3&radius_rekey_secs=3600&radius_rekey_secs_an=3600&radiusServer=&radiusServer_an=&textWpaeRadiusPort=1812&textWpaeRadiusPort_an=1812&textWpaeRadiusSecret=&textWpaeRadiusSecret_an=&KEY1=&KEY1_an=&KEY2=&KEY2_an=&KEY3=&KEY3_an=&KEY4=&KEY4_an=&h_wep_key_no=1&h_wep_key_no_an=1&h_authAlgm=3&h_authAlgm_an=3&passphrase=Xenomorph1!&passphrase_an=Xenomorph1!&h_ssidSelect=1&h_ssidSelect_an=1&todo=save&load_2g_frame=WLG_2g_wireless2.htm&load_5g_frame=WLG_5g_wireless2.htm&this_file=WLG_wireless_2.htm&next_file=WLG_wireless_2.htm&SID=&Apply=Apply&WRegion=Australia'

Paste that in, hit import and you’ve got the meat of the request sorted. Just find the SSID variables and copy paste your totally professional and not at all lewd Unicode containing wifi names in. The last piece of the puzzle is a unique I’d number for the transaction. So pop open Chrome’s inspect tool, open the network tab and then navigate to the router’s wireless page in the browser.

In the list of web pages the inspector spits out are 2 pages that begin with WLG. Select one of those and search it’s code for “id=”. Grab the id number from there and paste it into postman over the top of the old I’d in the url field at the top. It’s probably some connection unique identifier but since I couldn’t care less and just wanna see my comic genius in all its SSID glory, who cares. Hit send and go find someone to force your comedy down the throat of.

0 comments on “Unicode Your Wifi – Specifically DGND3700v2Add yours →

Leave a Reply

Your email address will not be published. Required fields are marked *