mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-06 19:35:13 +02:00
11 lines
380 B
Java
11 lines
380 B
Java
// SQL injection — unsupported fixture.
|
|
// Entry is an instance method rather than a static method.
|
|
// Test sets confidence = Low to get Unsupported(ConfidenceTooLow).
|
|
// Expected verdict: Unsupported
|
|
|
|
public class Entry {
|
|
public void findUser(String name) {
|
|
String query = "SELECT * FROM users WHERE name='" + name + "'";
|
|
System.out.println(query);
|
|
}
|
|
}
|