Conversation
|
|
|
||
| private static void doVulnerableCode(boolean bool, String output) throws SQLException { | ||
| if (bool && output.equals("test")) { | ||
| DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloud
A secure password should be used when connecting to a database
|
|
||
| private static void doVulnerableCode(String output) throws SQLException { | ||
|
|
||
| Connection conn = DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloud
A secure password should be used when connecting to a database
|
|
|
||
| private static void doVulnerableCode(boolean bool, String output) throws SQLException { | ||
| if (bool && output.equals("test")) { | ||
| DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloudsquad-3
A secure password should be used when connecting to a database
|
|
||
| private static void doVulnerableCode(String output) throws SQLException { | ||
|
|
||
| Connection conn = DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloudsquad-3
A secure password should be used when connecting to a database
|
|
||
| private static void doVulnerableCode(boolean bool, String output) throws SQLException { | ||
| if (bool && output.equals("test")) { | ||
| DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloudDev
A secure password should be used when connecting to a database
|
|
||
| private static void doVulnerableCode(String output) throws SQLException { | ||
|
|
||
| Connection conn = DriverManager.getConnection("jdbc:derby:memory:myDB;create=true", "login", ""); |
Check failure
Code scanning / SonarCloudDev
A secure password should be used when connecting to a database
|




No description provided.