Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openssl_encrypt("A test",'aes-128-cbc',"test1234",OPENSSL_RAW_DATA,"1235569767556087");
- var SendDebugRequest = function(url,posted_data,callback){
- var xhr = new XMLHttpRequest();
- xhr.open('POST', "http://127.0.0.1/debug.php", true);
- xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
- xhr.onload = function() {
- var status = xhr.status;
- if (status === 200) {
- callback(null, xhr.response,xhr.responseURL);
- } else {
- callback(status, xhr.response,xhr.responseURL);
- }
- };
- xhr.send(posted_data);}
- Promise.all(UI.panels.network._networkLogView._dataGrid._rootNode._flatNodes.map( function(node){
- var temp = [];
- temp[1] = node._request._requestHeaders;
- node._request._requestFormDataPromise.then(function(data) { temp[0] = data;});
- node._request.contentData().then(function(data) { temp[2] = data.content;});
- return temp;})).then(function(daata){
- var posted_data = "encrypted_text=" + encodeURIComponent(daata[0][2]) + "&form_data=" + encodeURIComponent(daata[0][0]) ;
- SendDebugRequest('',posted_data,function (status,response,resp_url){});});
Add Comment
Please, Sign In to add comment