├── LICENSE ├── MatchingGameHack.js ├── MemorizeHack.js ├── RecallHack.js ├── SpellHack.js ├── TestHack.js └── TestTimeLock.js /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Nua07 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MatchingGameHack.js: -------------------------------------------------------------------------------- 1 | //매칭 게임 내에서 함수 실행 2 | 3 | function sendScore(problem, score) { // total score = problem * score + 100 (default score) 4 | const arr = []; 5 | 6 | for (let i = 0; i < problem; i++) 7 | arr.push(ggk.d(score, 1)); 8 | 9 | 10 | $data = { 11 | set_idx: set_idx, 12 | arr_key: ggk.a(), 13 | arr_score: arr, 14 | activity: 0x4, 15 | tid: tid, 16 | class_idx: class_idx 17 | }; 18 | 19 | jQuery.ajax({ 20 | url: "/Match/save", 21 | global: false, 22 | type: "POST", 23 | data: $data, 24 | dataType: "json", 25 | async: checkAjaxAsync(), 26 | 27 | success: data => { 28 | if (data.result === "ok") { 29 | tid = data.tid 30 | alert("성공\n" + JSON.stringify(data)) 31 | return ; 32 | } 33 | 34 | alert("에러\n" + JSON.stringify(data)); 35 | }, 36 | 37 | error: (response, textStatus, errorThrown) => { 38 | alert("에러\n" + JSON.stringify(response)); 39 | } 40 | }) 41 | } 42 | -------------------------------------------------------------------------------- /MemorizeHack.js: -------------------------------------------------------------------------------- 1 | //암기 내에서 실행 2 | arr_send_card_idx=[0] 3 | arr_send_score=[0] 4 | 5 | for(var i=0;idiv>div", input_wrap[j]).text() 10 | let inp = $("input", input_wrap[j]) 11 | 12 | if(txt === ans) { 13 | $("input.user_answer", cards[i]).val(inp.val()) 14 | break 15 | } 16 | } 17 | } 18 | submitTest("/") 19 | -------------------------------------------------------------------------------- /TestTimeLock.js: -------------------------------------------------------------------------------- 1 | var temp = $("div.flip-card") 2 | for(var i=0; i