Guest User

Untitled

a guest
Jan 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. openssl_encrypt("A test",'aes-128-cbc',"test1234",OPENSSL_RAW_DATA,"1235569767556087");
  2.  
  3. var SendDebugRequest = function(url,posted_data,callback){
  4. var xhr = new XMLHttpRequest();
  5. xhr.open('POST', "http://127.0.0.1/debug.php", true);
  6. xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
  7. xhr.onload = function() {
  8. var status = xhr.status;
  9. if (status === 200) {
  10. callback(null, xhr.response,xhr.responseURL);
  11. } else {
  12. callback(status, xhr.response,xhr.responseURL);
  13. }
  14. };
  15. xhr.send(posted_data);}
  16. Promise.all(UI.panels.network._networkLogView._dataGrid._rootNode._flatNodes.map( function(node){
  17. var temp = [];
  18. temp[1] = node._request._requestHeaders;
  19. node._request._requestFormDataPromise.then(function(data) { temp[0] = data;});
  20. node._request.contentData().then(function(data) { temp[2] = data.content;});
  21. return temp;})).then(function(daata){
  22. var posted_data = "encrypted_text=" + encodeURIComponent(daata[0][2]) + "&form_data=" + encodeURIComponent(daata[0][0]) ;
  23. SendDebugRequest('',posted_data,function (status,response,resp_url){});});
Add Comment
Please, Sign In to add comment