LeakedIn Logo
Stories About Data Leaks and Related Stuff

Potential leak of data: MySQL Connect Information

0 votedvote

Detected 1 occurrence(s) of ‘mysql_[p]*connect\(["']{0,1}[a-z0-9\-\.]+["']{0,1}\s*,’:

y entity = response.getEntity();
        InputStream is = entity.getContent();
        Log.i("postData", response.getStatusLine().toString());
    }
    catch(Exception e)
    {
        Log.e("log_tag", "Error in http connection "+e.toString());
    }
	
mysql_connect("mysql27.x.com","name","PW");
mysql_select_db("dbname");
$q = mysql_query("SELECT * FROM people");
while ($e = mysql_fetch_assoc($q))  $output[] = $e;
mysql_close();
echo (json_encode($output));
	
<uses-permission android:name="android.permission.INTERNET"></uses-permis

Source: http://pastebin.com/raw.php?i=qSCuMqPv

Tags: ,

Comments are closed.