Last active
June 20, 2022 02:02
-
-
Save potados99/d95272db896de358d723cbf7533cf69e to your computer and use it in GitHub Desktop.
NetFunnel 뚫어버리기
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Modify | |
| (function () { | |
| const originalFunction = window.originalFunction || NetFunnel_getTidChkEnter; | |
| window.originalFunction = originalFunction; | |
| NetFunnel_getTidChkEnter = function (options) { | |
| if (options == null) { | |
| console.error("옵션이 없어??"); | |
| return originalFunction(...arguments); | |
| } | |
| const successCallback = options.success; | |
| if (successCallback == null) { | |
| console.error("콜백이 없어??"); | |
| return originalFunction(...arguments); | |
| } | |
| if (typeof successCallback !== "function") { | |
| console.error("콜백이 함수가 아니야??"); | |
| return originalFunction(...arguments); | |
| } | |
| console.log("족까라 넷퍼넬. 바로 실행 가즈아ㅏㅏㅏㅏ"); | |
| successCallback(); | |
| }; | |
| })(); | |
| // Restore | |
| (function () { | |
| NetFunnel_getTidChkEnter = | |
| window.originalFunction || NetFunnel_getTidChkEnter; | |
| })(); | |
| // Check | |
| (function () { | |
| if ( | |
| window.originalFunction == null || | |
| NetFunnel_getTidChkEnter === window.originalFunction | |
| ) { | |
| console.log("조작되지 않음!"); | |
| } else { | |
| console.log("조작됨!"); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment