How can I modify these modules to support the latest versions of Windows? [migrated]

It only supports Win Vista and 7.
get_wireless_keys module
enter the description of the image here

https://github.com/beefproject/beef/blob/654cf5427f0cc402e349052e9c0a520e72e32855/modules/host/get_wireless_keys/wirelessZeroConfig.java#L28

enter the description of the image here