MCPcopy Create free account
hub / github.com/0dayCTF/reverse-shell-generator / escapeHTML

Function escapeHTML

js/raw-link.js:21–25  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

19 },
20
21 escapeHTML(html) {
22 var element = document.createElement('div');
23 element.innerHTML = html;
24 return element.innerHTML;
25 },
26
27 withDefaultPayload: (rsg) => {
28 const name = rsg.selectedValues[rsg.commandType];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected