MCPcopy Create free account
hub / github.com/baidu/openrasp / get

Method get

agent/java/engine/src/main/java/com/baidu/openrasp/plugin/js/JS.java:76–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 });
75 V8.SetStackGetter(new com.baidu.openrasp.v8.StackGetter() {
76 @Override
77 public byte[] get() {
78 try {
79 ByteArrayOutputStream stack = new ByteArrayOutputStream();
80 JsonStream.serialize(StackTrace.getParamStackTraceArray(), stack);
81 stack.write(0);
82 return stack.getByteArray();
83 } catch (Exception e) {
84 return null;
85 }
86 }
87 });
88 Context.setKeys();
89 if (!CloudUtils.checkCloudControlEnter()) {

Callers 15

requestFunction · 0.45
requestFunction · 0.45
hook.test.jsFile · 0.45
requestFunction · 0.45
isEnableXssHookMethod · 0.45
preShieldHookMethod · 0.45
postShieldHookMethod · 0.45
checkRequestMethod · 0.45
checkDubboRequestMethod · 0.45
onParseParametersMethod · 0.45

Calls 2

writeMethod · 0.80

Tested by 3

requestFunction · 0.36
requestFunction · 0.36
requestFunction · 0.36