Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /***
- * Press F12 while on a chat to open inspect element
- * Switch to console tab
- * Paste function post(...) { ... }
- * and var test = ...
- * into the console and then hit enter.
- * After that, scroll down to the next set of instructions.
- ***/
- function post(path, params, method) {
- method = method || "post"; // Set method to post by default if not specified.
- // The rest of this code assumes you are not using a library.
- // It can be made less wordy if you use one.
- var form = document.createElement("form");
- form.setAttribute("method", method);
- form.setAttribute("action", path);
- for(var key in params) {
- if(params.hasOwnProperty(key)) {
- var hiddenField = document.createElement("input");
- hiddenField.setAttribute("type", "hidden");
- hiddenField.setAttribute("name", key);
- hiddenField.setAttribute("value", params[key]);
- form.appendChild(hiddenField);
- }
- }
- document.body.appendChild(form);
- form.submit();
- }
- var test =
- {"xavi":[{"hair":{"x":0,"r":0,"sx":0,"l":"hair1","y":-25,"c":1,"sy":0},"browsl":{"x":0,"r":0,"sx":0,"l":"xbrowdefault","y":-10,"c":0,"sy":0},"head":{"x":0,"r":0,"sx":0,"l":"xhead2","y":0,"c":16571071,"sy":0},"acc":{"x":0,"r":0,"sx":0,"l":"none","y":0,"c":0,"sy":0},"browsr":{"x":0,"r":0,"sx":0,"l":"xbrowdefault","y":-10,"c":0,"sy":0},"xeyer":{"x":-2,"r":0,"sx":4,"l":"xeyebot1","y":0,"c":0,"sy":-10},"mouth":{"x":0,"r":0,"sx":18,"l":"xmouthdefault","y":13,"c":0,"sy":0},"xeyel":{"x":2,"r":0,"sx":4,"l":"xeyebot1","y":0,"c":0,"sy":-10}}],"timestamp":1494318259,"items":{"hair":{"4":1},"hat":{"2":1,"6":1,"22":1,"24":1,"39":1}}};
- /***
- * You will need a packet sniffer for this step.
- * If you do not have WPE, WireShark, or something similar, please get it now.
- * If you do not know how to use them, please look up a video, etc. before asking questions.
- *
- * this is the packet you receive after sending <y
- *
- * <y I="32570" i="287888575" c="1419127432" cb="63" p="100_100_5_100" k="32570" t="10008" s="60" j="32570" au="459703507" v="2"
- *
- * You will get the same, but with different values.
- * Input them below to their respective place.
- * u: YOUR_ID,
- * You can leave au, v, and j as undefined.
- ***/
- post("http://xat.com/json/xavi/put.php", {
- k:32570,
- u:638877683,
- au:undefined,
- i:287888575,
- v:undefined,
- s:60,
- j:undefined,
- t:10008,
- xavi:JSON.stringify(test)
- });
- /***
- * After you have replaced the values,
- * Paste post(..., { ... }) into the console and hit enter.
- * Re-open the app and modify whatever you want.
- * If you change the eyes, you will have to restart this process all over again.
- ***/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement