Permalink
Browse files

few bugs fixed

  • Loading branch information...
maaaaz
maaaaz committed Jul 22, 2012
1 parent a827ae9 commit c418102345eda7d0692763f2fc824c3abb5865b0
@@ -48,7 +48,10 @@ def detect_WiFi_Credentials_lookup(x) :
@rtype : a list of formatted strings
"""
+ # This functions aims some HTC android devices
# Several HTC devices suffered from a bug allowing to dump wpa_supplicant.conf file containing clear text credentials
+ # http://www.kb.cert.org/vuls/id/763355
+
formatted_str = []
structural_analysis_results = x.tainted_packages.search_methods("Landroid/net/wifi/WifiConfiguration","toString", ".")
@@ -47,7 +47,7 @@ def detect_Telephony_SMS_abuse(x) :
for result in xrange(len(structural_analysis_results)) :
registers = data_flow_analysis(structural_analysis_results, result, x)
- if len(registers) > 0 :
+ if len(registers) > 3 :
target_phone_number = get_register_value(1, registers)
sms_message = get_register_value(3, registers)

0 comments on commit c418102

Please sign in to comment.