MCPcopy Create free account
hub / github.com/beefproject/beef / p

Function p

modules/exploits/wordpress_add_admin/command.js:8–8  ·  view source on GitHub ↗
(u, b)

Source from the content-addressed store, hash-verified

6
7function g(u){ x=new XMLHttpRequest(); x.open('GET',u,false); x.send(null); return x.responseText; }
8function p(u, b){ x=new XMLHttpRequest(); x.open('POST',u,true); x.setRequestHeader("Content-type","application/x-www-form-urlencoded"); x.send(b); return x.responseText; }
9/* Kept incase there is a valid reason to use forms over AJAX, I cant think of any.
10function post(path, params, method) {
11 method = method || "post";

Callers 1

command.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected