fix: anti-detection

This commit is contained in:
Xmader 2020-11-08 15:48:54 -05:00
parent 8da2e7a1c8
commit 4b2d721661
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@ export const makeNative = (() => {
return function () {
if (l.has(this)) {
const _fn = l.get(this) || parseInt // "function () {\n [native code]\n}"
return _toString.call(_fn) as string
if (l.has(_fn)) { // nested
return _fn.toString()
} else {
return _toString.call(_fn) as string
}
}
return _toString.call(this) as string
}