fix: failure response for decompile_function with address
This commit is contained in:
parent
52e0142f83
commit
bd56f5b6cc
@ -461,7 +461,8 @@ public class GhydraMCPPlugin extends Plugin implements ApplicationLevelPlugin {
|
||||
resultObj.addProperty("function", "");
|
||||
resultObj.addProperty("address", address);
|
||||
|
||||
response.addProperty("success", true);
|
||||
response.addProperty("success", false);
|
||||
response.addProperty("message", "Function not found");
|
||||
response.add("result", resultObj);
|
||||
response.addProperty("timestamp", System.currentTimeMillis());
|
||||
response.addProperty("port", this.port);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user