Quantcast
Channel: LeakedIn
Viewing all articles
Browse latest Browse all 5503

Potential leak of data: Oracle URI

$
0
0
Detected 1 occurrence(s) of ‘dbc:oracle:thin:’: public static void main(String []args)throws SQLException, ClassNotFoundException { try{ String str1="XYZ1"; String str2="XYZ2"; String str3="XYZ3"; Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1522:sysdba","scott","tiger"); Statement st=con.createStatement(); System.out.println("insert into t1 values ('"+str1+"','"+str2+"','"+str3+"')"); int demo=st.executeUpdate("insert into t1 values ('"+str1+"','"+str2+"','"+str3+"')"); i Source: http://pastie.org/pastes/8961780/download

Viewing all articles
Browse latest Browse all 5503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>