We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e28fd commit d12e421Copy full SHA for d12e421
agent_api/src/main/java/dev/aikido/agent_api/vulnerabilities/sql_injection/GetBinaryPath.java
@@ -50,7 +50,7 @@ private static String getLibCVariant() {
50
try {
51
// ldd --version, if supported, returns something like `musl libc (aarch64)` for musl
52
// or `ldd (Ubuntu GLIBC 2.39-0ubuntu8.6) 2.39` for GNU
53
- Process process = Runtime.getRuntime().exec("ldd --version");
+ Process process = Runtime.getRuntime().exec("ldd `which ls`");
54
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
55
String line;
56
while ((line = reader.readLine()) != null) {
0 commit comments