Skip to content

Commit

Permalink
修正剩余PHP消息
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Lewis committed Jul 24, 2018
1 parent dcb8fbc commit dc70a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/php5/hook/openrasp_include.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int include_handler(ZEND_OPCODE_HANDLER_ARGS)
Z_ADDREF_P(OPENRASP_T(OPENRASP_OP1_VAR(opline)).var.ptr);
zval *plugin_message = NULL;
MAKE_STD_ZVAL(plugin_message);
ZVAL_STRING(plugin_message, _("File inclusion"), 1);
ZVAL_STRING(plugin_message, _("File inclusion - Detected include/require vulnerability or webshell based on the same mechanism"), 1);
openrasp_buildin_php_risk_handle(1, "webshell_include", 100, attack_params, plugin_message TSRMLS_CC);
}
op1 = OPENRASP_T(OPENRASP_OP1_VAR(opline)).var.ptr;
Expand Down
2 changes: 1 addition & 1 deletion plugins/official/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ plugin.register('readFile', function (params, context) {
if (forcefulBrowsing.absolutePaths[j] == realpath_lc) {
return {
action: algorithmConfig.readFile_unwanted.action,
message: _("WebShell activity - accessing sensitive file %1%", [params.realpath]),
message: _("WebShell activity - Accessing sensitive file %1%", [params.realpath]),
confidence: 90
}
}
Expand Down

0 comments on commit dc70a4f

Please sign in to comment.