Skip to content
Browse files

few bugs fixed

  • Loading branch information...
1 parent a827ae9 commit c418102345eda7d0692763f2fc824c3abb5865b0 maaaaz committed
View
3 androwarn/search/malicious_behaviours/connection_interfaces.py
@@ -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", ".")
View
2 androwarn/search/malicious_behaviours/telephony_services.py
@@ -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.
Something went wrong with that request. Please try again.