Huawei SOHO router information disclosure, cve-2013-6031

Add VU#341526 (CVE-2013-6031): Huawei Datacard Information Disclosure vulnerability.
All the module keeps repeating the same code again and again. I think worths to reafctor. You can use a dictionary of Regexs and loop on every entry to find the information on the responses. Also worths to use a method to find the information, so you don't need it to repeat the code again and again.

You can use constants to store the dictionary of regexs, since I guess it's going to be static information.