某图,瑞数6补环境

查看 94|回复 10
作者:pxfsim   
目标地址是'aHR0cHM6Ly9xaWthbi5jcXZpcC5jb20vUWlrYW4vSm91cm5hbC9Kb3VybmFsR3VpZD9mcm9tPWluZGV4'
//以下是补环境相关代码
[color=]delete
__dirname;
[color=]delete
__filename;
window = global;
[color=]delete
global;
Object.
[color=]defineProperties
(
[color=]window
, {
    [
[color=]Symbol
.
[color=]toStringTag
]: {
        
[color=]value
:
[color=]'Window'
,
        
[color=]configurable
: true
[color=]   
}
});
[color=]l_obj
= {
};
[color=]l_input
= {
};
[color=]l2_input
= {
};
[color=]l3_input
= {
};
[color=]var
[color=]form
= {
};
[color=]form_action
=
[color=]''
;
Object.
[color=]defineProperty
(
[color=]form
,
[color=]'action'
,{
   
[color=]get
() {
        console.
[color=]log
(
[color=]'form->action.get--------->'
,
[color=]l_input
)
        
[color=]return
[color=]l_input
;
    },
   
[color=]set
(v) {
        console.
[color=]log
(
[color=]'form->action.set--------->'
, v)
        
[color=]form_action
= v;
    }
});
[color=]form_textContent
= {};
Object.
[color=]defineProperty
(
[color=]form
,
[color=]'textContent'
,{
   
[color=]get
() {
        console.
[color=]log
(
[color=]'form->textContent.get--------->'
,
[color=]l2_input
)
        
[color=]return
[color=]l2_input
;
    },
   
[color=]set
(v) {
        console.
[color=]log
(
[color=]'form->textContent.set--------->'
, v)
        
[color=]form_action
= v;
    }
});
[color=]form_id
=
[color=]''
;
Object.
[color=]defineProperty
(
[color=]form
,
[color=]'id'
,{
   
[color=]get
() {
        console.
[color=]log
(
[color=]'form->id.get--------->'
,
[color=]l3_input
)
        
[color=]return
[color=]l3_input
;
    },
   
[color=]set
(v) {
        console.
[color=]log
(
[color=]'form->id.set--------->'
, v)
        
[color=]form_id
= v;
    }
});
[color=]form_innerText
=
[color=]''
;
Object.
[color=]defineProperty
(
[color=]form
,
[color=]'innerText'
,{
   
[color=]get
() {
        console.
[color=]log
(
[color=]'form->innerText.get--------->'
,
[color=]l3_input
)
        
[color=]return
[color=]l3_input
;
    },
   
[color=]set
(v) {
        console.
[color=]log
(
[color=]'form->innerText.set--------->'
, v)
        
[color=]form_innerText
= v;
    }
});
[color=]a_labl
= {
   
[color=]//
去浏览器里拿
[color=]   
[color=]href
:
[color=]'xxxxxxxxxxxxxx'
,
   
[color=]protocol
:
[color=]'https:'
,
   
[color=]port
:
[color=]''
,
   
[color=]//
去浏览器里拿
[color=]   
[color=]hostname
:
[color=]'xxxxxxxxxxxxxxx'
,
   
[color=]//
去浏览器里拿
[color=]   
[color=]pathname
: 'xxxxxxxxxxxxxxx'
}
[color=]window
.
[color=]HTMLAnchorElement
=
[color=]function
(){};
[color=]scripts
= [
                {
                    
[color=]type
:
[color=]"text/javascript"
,
                    
[color=]r
:
[color=]'m'
,
                    
[color=]parentElement
: {
                        
[color=]getAttribute
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head1->parentElement->getAttribute: '
, args)
                            console.
[color=]log
(arguments)
                           
[color=]debugger
;
                           
[color=]if
(args ==
[color=]'r'
)
                            {
                                
[color=]return
[color=]'m'
;
                            }
                        },
                        
[color=]getElementsByTagName
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head1->getElementsByTagName: '
, args)
                            console.
[color=]log
(arguments)
                            debugger
[color=]                        
},
                        
[color=]removeChild
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head1->parentElement->removeChild'
, args);
                            console.
[color=]log
(arguments);
                           
[color=]debugger
;
                        },
                    },
                    
[color=]getAttribute
:
[color=]function
(args) {
                        console.
[color=]log
(
[color=]'script1->getAttribute: '
, args)
                        console.
[color=]log
(arguments)
                        
[color=]debugger
;
                        
[color=]if
(args ==
[color=]'r'
)
                        {
                           
[color=]return
[color=]'m'
;
                        }
                    }
                },
                {
                    
[color=]type
:
[color=]"text/javascript"
,
                    
[color=]r
:
[color=]'m'
,
                    
[color=]parentElement
: {
                        
[color=]getAttribute
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head2->parentElement->getAttribute: '
, args);
                            console.
[color=]log
(arguments);
                           
[color=]debugger
;
                        },
                        
[color=]getElementsByTagName
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head2->getElementsByTagName: '
, args);
                            console.
[color=]log
(arguments);
                            debugger
[color=]                        
},
                        
[color=]removeChild
:
[color=]function
(args) {
                            console.
[color=]log
(
[color=]'head2->parentElement->removeChild'
, args);
                            console.
[color=]log
(arguments);
                           
[color=]debugger
;
                        },
                    },
                    
[color=]getAttribute
:
[color=]function
(args) {
                        console.
[color=]log
(
[color=]'script2->getAttribute: '
, args);
                        console.
[color=]log
(arguments);
                        
[color=]debugger
;
                        
[color=]if
(args ==
[color=]'r'
)
                        {
                           
[color=]return
[color=]'m'
;
                        }
                    },
                    
[color=]//
去浏览器里拿
[color=]                    
[color=]src
:
[color=]"xxxxxxxxxx"
,
                }
            ]
[color=]var
[color=]input_count
=
[color=]0
;
[color=]var
[color=]l_meta
= {
        
[color=]id
:
[color=]'FbkwzLN5XOx0'
,
        
[color=]content
:
[color=]'tyGGg5AdQlANmSX9z3xbpGEoEKVuG9rmj_VCz71ozkpQ9tph9oDZE2RjIwQz8iL5oWgiCSPtU67jWlcPgf7DyTWP8X_.29Z5B0y9OtqwW4e6THU9dqdapsjx4a81rlUo'
,
        
[color=]r
:
[color=]'m'
,
        
[color=]getAttribute
:
[color=]function
(args)
        {
             console.
[color=]log
(
[color=]'meta->getAttribute: '
, args);
             console.
[color=]log
(arguments);
            
[color=]debugger
;
            
[color=]if
(args ==
[color=]'r'
)
             {
               
[color=]return
[color=]'m'
;
             }
        },
        
[color=]parentNode
: {
            
[color=]removeChild
:
[color=]function
(args) {
                console.
[color=]log
(
[color=]'meta->parentNode->removeChild'
, args)
               
[color=]debugger
;
               
[color=]return
{};
            },
        }
}
[color=]div_i
= [];
[color=]div
= {
   
[color=]getElementsByTagName
:
[color=]function
(args)
    {
        console.
[color=]log
(
[color=]'document->div->getElementsByTagName'
, args)
        console.
[color=]log
(arguments)
        
[color=]debugger
;
        
[color=]if
(args ===
[color=]"i"
){
            
[color=]return
[color=]div_i
;
        }
    }
}
[color=]doc_base
= [
]
Document =
[color=]function
[color=]Document
(){}
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'createElement'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]createElement
(args) {
        console.
[color=]log
(
[color=]'document->createElement'
, args)
        console.
[color=]log
(arguments);
        
[color=]debugger
;
        
[color=]if
(args ==
[color=]'div'
)
        {
            
[color=]return
[color=]div
;
        }
        
[color=]else if
(args ==
[color=]'form'
)
        {
            
[color=]return
[color=]form
;
        }
        
[color=]else if
(args ==
[color=]'input'
)
        {
            
[color=]if
(
[color=]input_count
==
[color=]0
)
            {
               
[color=]input_count
++;
               
[color=]return
[color=]l_input
;
            }
            
[color=]else if
(
[color=]input_count
==
[color=]1
)
            {
               
[color=]input_count
++;
               
[color=]return
[color=]l2_input
;
            }
            
[color=]else if
(
[color=]input_count
==
[color=]2
)
            {
               
[color=]return
[color=]l3_input
;
            }
        }
        
[color=]else if
(args ==
[color=]'a'
)
        {
            
[color=]return
[color=]a_labl
;
        }
        else
[color=]        
{
            
[color=]return
[color=]l_obj
;
        }
    },
   
[color=]writable
:
[color=]true
,
})
[color=]const
[color=]v8
=require(
[color=]'v8'
);
[color=]const
[color=]vm
= require(
[color=]'vm'
);
[color=]v8
.setFlagsFromString(
[color=]'--allow-natives-syntax'
);
[color=]let
[color=]undetectable
=
[color=]vm
.runInThisContext(
[color=]"%GetUndetectable()"
);
[color=]v8
.setFlagsFromString(
[color=]'--no-allow-natives-syntax'
);
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'all'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]undetectable
,
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'body'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]null
,
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'visibilityState'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]'hidden'
,
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'toString'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]toString
() {
[color=]return
[color=]'[object HTMLDocument]'
;},
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'addEventListener'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]addEventListener
(args) {
        console.
[color=]log
(
[color=]'document->addEventListener'
, args)
        console.
[color=]log
(arguments);
        
[color=]debugger
;
        
[color=]return
{};
    },
   
[color=]writable
:
[color=]true
,
})
[color=]documentElement
= {};
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'documentElement'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
    // value: function documentElement(args) {
    //     console.log('document->documentElement', args)
    //     console.log(arguments);
    //     debugger;
    //     return {};
    // },
[color=]   
[color=]value
:
[color=]documentElement
,
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'appendChild'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]appendChild
(args) {
        console.
[color=]log
(
[color=]'document->appendChild'
, args)
        console.
[color=]log
(
[color=]this
)
        console.
[color=]log
(arguments);
        
[color=]debugger
;
        
[color=]return
{};
    },
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'removeChild'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]removeChild
(args) {
        console.
[color=]log
(
[color=]'document->removeChild'
, args)
        console.
[color=]log
(arguments);
        
[color=]debugger
;
        
[color=]return
{};
    },
   
[color=]writable
:
[color=]true
,
})
[color=]frist_get_script
=
[color=]1
;
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'getElementsByTagName'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]getElementsByTagName
(args) {
        console.
[color=]log
(
[color=]'document->getElementsByTagName: '
, args);
        console.
[color=]log
(arguments)
        debugger
[color=]        if
(args ==
[color=]'script'
)
        {
            
[color=]if
(
[color=]frist_get_script
==
[color=]1
)
            {
               
[color=]frist_get_script
=
[color=]0
;
               
[color=]return
[color=]scripts
;
            }
            
[color=]return
[];
        }
        
[color=]if
(args ===
[color=]'base'
) {
            
[color=]debugger
;
            
[color=]return
[color=]doc_base
;
        }
        
[color=]return
[];
    },
   
[color=]writable
:
[color=]true
,
})
Object.
[color=]defineProperty
(
[color=]Document
.
[color=]prototype
,
[color=]'getElementById'
,{
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]value
:
[color=]function
[color=]getElementById
(args) {
        console.
[color=]log
(
[color=]'document->getElementById'
, args)
        console.
[color=]log
(arguments);
        
[color=]debugger
;
        
[color=]return
[color=]l_meta
;
    },
   
[color=]writable
:
[color=]true
,
})
HTMLDocument =
[color=]function
[color=]HTMLDocument
(){}
Object.
[color=]setPrototypeOf
(
[color=]HTMLDocument
.
[color=]prototype
,
[color=]Document
.
[color=]prototype
)
document =
[color=]new
[color=]HTMLDocument
()
// console.log(document.createElement('script'));
Object.
[color=]defineProperty
(
[color=]document
.
[color=]all
,
[color=]'length'
,{
   
[color=]get
:
[color=]function
(){
        console.
[color=]log
(
[color=]'document.all.length ------------------------------------->'
)
        
[color=]return
Object.
[color=]keys
(
[color=]document
.
[color=]all
).length
[color=]   
}
})
[color=]document
.
[color=]all
[
[color=]0
] =
[color=]null
;
[color=]document
.
[color=]all
[
[color=]1
] =
[color=]null
;
[color=]document
.
[color=]all
[
[color=]2
] =
[color=]null
;
[color=]document
.
[color=]all
[
[color=]3
] =
[color=]null
;
[color=]document
.
[color=]all
[
[color=]4
] =
[color=]null
;
[color=]document
.
[color=]all
[
[color=]5
] =
[color=]null
;
// document.all = [{},{},{},{},{},{}];
[color=]function
[color=]Window
(){};
[color=]window
.
[color=]Window
=
[color=]Window
;
[color=]window
.
[color=]__proto__
=
[color=]Window
.prototype;
[color=]_null
=
[color=]function
(){
   
[color=]debugger
;
    console.
[color=]log
(arguments)
   
[color=]return
{};
}
[color=]_mutationObserver
= {
   
[color=]observe
:
[color=]function
(args)
    {
        console.
[color=]log
(
[color=]'_mutationObserver->observe'
, args)
        console.
[color=]log
(arguments);
        
[color=]return
{};
    }
};
[color=]window
.
[color=]innerHeight
=
[color=]945
;
[color=]window
.
[color=]innerWidth
=
[color=]1920
;
[color=]window
.
[color=]outerHeight
=
[color=]1022
;
[color=]window
.
[color=]outerWidth
=
[color=]1910
;
[color=]window
.
[color=]TEMPORARY
=
[color=]0
;
[color=]window
.
[color=]MutationObserver
=
[color=]function
(args)
{
    console.
[color=]log
(
[color=]'window->mutationObserver'
, args)
    console.
[color=]log
(arguments);
   
[color=]return
[color=]_mutationObserver
;
}
CanvasRenderingContext2D =
[color=]function
() {
};
[color=]getImageData
= {
   
[color=]toString
() {
        console.
[color=]log
(
[color=]'getImageData'
);
        
[color=]return
'function getImageData() { [native code] }'
[color=]   
}
}
Object.
[color=]defineProperty
(
[color=]CanvasRenderingContext2D
.
[color=]prototype
,
[color=]'getImageData'
,{
   
[color=]get
:
[color=]function
(){
        
[color=]return
[color=]getImageData
;
    }
})
HTMLCanvasElement =
[color=]function
() {
};
[color=]toBlob
= {
   
[color=]toString
() {
        console.
[color=]log
(
[color=]'toBlob'
);
        
[color=]return
'function toBlob() { [native code] }'
[color=]   
}
}
[color=]toDataURL
= {
   
[color=]toString
() {
        console.
[color=]log
(
[color=]'toDataURL'
);
        
[color=]return
'function toDataURL() { [native code] }'
[color=]   
}
}
Object.
[color=]defineProperty
(
[color=]HTMLCanvasElement
.
[color=]prototype
,
[color=]'toBlob'
,{
   
[color=]get
:
[color=]function
(){
        
[color=]return
[color=]toBlob
;
    }
})
Object.
[color=]defineProperty
(
[color=]HTMLCanvasElement
.
[color=]prototype
,
[color=]'toDataURL'
,{
   
[color=]get
:
[color=]function
(){
        
[color=]return
[color=]toDataURL
;
    }
})
[color=]window
.
[color=]CanvasRenderingContext2D
=
[color=]CanvasRenderingContext2D
;
[color=]window
.
[color=]HTMLCanvasElement
=
[color=]HTMLCanvasElement
;
WebSocket =
[color=]function
(args)
{
    console.
[color=]log
(
[color=]'WebSocket ----------------------->'
, args);
   
[color=]return
{};
}
[color=]window
.
[color=]WebSocket
=
[color=]WebSocket
;
[color=]webkitRequestFileSystem
=
[color=]_null
;
[color=]window
.
[color=]webkitRequestFileSystem
=
[color=]webkitRequestFileSystem
;
[color=]chrome
= {};
[color=]window
.
[color=]chrome
=
[color=]chrome
;
[color=]//
去浏览器里拿
location = {
   
[color=]"ancestorOrigins"
: {},
   
[color=]"href"
:
[color=]"xxxxxxxx"
,
   
[color=]"origin"
:
[color=]"xxxxxxxx"
,
   
[color=]"protocol"
:
[color=]"https:"
,
   
[color=]"host"
:
[color=]"xxxxxxxx"
,
   
[color=]"hostname"
:
[color=]"xxxxxxxx"
,
   
[color=]"port"
:
[color=]""
,
   
[color=]"pathname"
:
[color=]"xxxxxxxx"
,
   
[color=]"search"
:
[color=]"xxxxxxxx"
,
   
[color=]"hash"
: ""
}
[color=]window
.
[color=]top
=
[color=]window
;
[color=]window
.
[color=]self
=
[color=]window
;
navigator = {
   
[color=]appCodeName
:
[color=]"Mozilla"
,
   
[color=]appName
:
[color=]"Netscape"
,
   
[color=]appVersion
:
[color=]"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
,
   
[color=]connection
: {
      
[color=]downlink
:
[color=]2.4
,
      
[color=]effectiveType
:
[color=]"4g"
,
      
[color=]onchange
:
[color=]null
,
        
[color=]rtt
:
[color=]50
,
        
[color=]saveData
: false
[color=]   
},
   
[color=]cookieEnabled
:
[color=]true
,
   
[color=]deprecatedRunAdAuctionEnforcesKAnonymity
:
[color=]true
,
   
[color=]deviceMemory
:
[color=]8
,
   
[color=]doNotTrack
:
[color=]null
,
   
[color=]hardwareConcurrency
:
[color=]22
,
   
[color=]languages
: [
[color=]"zh-CN"
,
[color=]"en"
,
[color=]"zh"
],
   
[color=]language
:
[color=]"zh-CN"
,
   
[color=]onLine
:
[color=]true
,
   
[color=]platform
:
[color=]"Win32"
,
   
[color=]product
:
[color=]"Gecko"
,
   
[color=]productSub
:
[color=]'20030107'
,
   
[color=]userAgent
:
[color=]"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
,
   
[color=]vendor
:
[color=]"Google Inc."
,
   
[color=]vendorSub
:
[color=]""
,
    // webdriver: false,
[color=]   
[color=]webkitPersistentStorage
: {},
   
[color=]getBattery
:
[color=]function
() {
[color=]return
{
[color=]then
(){}}}
};
[color=]function
[color=]Naviator
(){};
Object.
[color=]defineProperties
(
[color=]Naviator
.
[color=]prototype
,{})
[color=]function
[color=]webdriver
()
{
    console.
[color=]log
(
[color=]"webdriver--------------------->"
);
   
[color=]return false
;
}
[color=]webdriver
.
[color=]toString
=
[color=]function
() {
[color=]return
[color=]'false'
}
Object.
[color=]defineProperty
(
[color=]Naviator
.
[color=]prototype
,
[color=]'webdriver'
,{
    [
[color=]Symbol
.
[color=]toStringTag
]: {
        
[color=]value
:
[color=]'webdriver'
,
        
[color=]configurable
: true
[color=]   
},
   
[color=]configurable
:
[color=]true
,
   
[color=]enumerable
:
[color=]true
,
   
[color=]get
: webdriver
});
[color=]navigator
.
[color=]__proto__
=
[color=]Naviator
.
[color=]prototype
;
Object.
[color=]defineProperties
(
[color=]navigator
, {
    [
[color=]Symbol
.
[color=]toStringTag
]: {
        
[color=]value
:
[color=]'webdriver'
,
        
[color=]configurable
: true
[color=]   
}
})
[color=]window
.
[color=]navigator
=
[color=]navigator
;
[color=]window
[
[color=]"clientInformation"
] =
[color=]navigator
;
[color=]window
.
[color=]location
=
[color=]location
;
[color=]window
.
[color=]history
= {
   
[color=]length
:
[color=]2
,
   
[color=]state
:
[color=]null
,
   
[color=]scrollRestoration
:
[color=]"auto"
,
   
[color=]replaceState
:
[color=]_null
,
}
screen = {
   
[color=]availHeight
:
[color=]1392
,
   
[color=]availLeft
:
[color=]1536
,
   
[color=]availTop
:
[color=]0
,
   
[color=]availWidth
:
[color=]2560
,
   
[color=]colorDepth
:
[color=]24
,
   
[color=]height
:
[color=]1440
,
   
[color=]isExtended
:
[color=]true
,
   
[color=]onchange
:
[color=]null
,
   
[color=]orientation
: {
[color=]angle
:
[color=]0
,
[color=]type
:
[color=]'landscape-primary'
,
[color=]onchange
:
[color=]null
},
   
[color=]pixelDepth
:
[color=]24
,
   
[color=]width
: 2560
}
[color=]window
.
[color=]screen
=
[color=]screen
;
[color=]window
.
[color=]DOMParser
=
[color=]function
()
{
   
[color=]debugger
;
   
[color=]return
{};
}
[color=]window
.
[color=]XMLHttpRequest
=
[color=]function
() {
   
[color=]debugger
;
   
[color=]return
{}
}
localStorage = {
   
[color=]length
:
[color=]0
,
   
[color=]removeItem
:
[color=]function
() {
        console.
[color=]log
(
[color=]'localStorage->removeItem'
)
        console.
[color=]log
(arguments);
    },
   
[color=]setItem
:
[color=]function
() {
        console.
[color=]log
(
[color=]'localStorage->setItem'
);
        console.
[color=]log
(arguments);
        
[color=]this
[arguments[
[color=]0
]] = arguments[
[color=]1
];
        console.
[color=]log
(
[color=]this
);
    },
   
[color=]getItem
:
[color=]function
(args) {
        console.
[color=]log
(
[color=]'localStorage->getItem'
)
        console.
[color=]log
(arguments);
        
[color=]return this
[args];
    },
}
sessionStorage = {
   
[color=]length
:
[color=]0
,
   
[color=]removeItem
:
[color=]function
() {
        console.
[color=]log
(
[color=]'localStorage->removeItem'
)
        console.
[color=]log
(arguments);
    },
   
[color=]setItem
:
[color=]function
() {
        console.
[color=]log
(
[color=]'localStorage->setItem'
);
        console.
[color=]log
(arguments);
        
[color=]this
[arguments[
[color=]0
]] = arguments[
[color=]1
];
        console.
[color=]log
(
[color=]this
);
    },
   
[color=]getItem
:
[color=]function
(args) {
        console.
[color=]log
(
[color=]'localStorage->getItem'
)
        console.
[color=]log
(arguments);
        console.
[color=]log
(
[color=]this
[args]);
        
[color=]return this
[args];
    },
}
[color=]window
.
[color=]localStorage
=
[color=]localStorage
;
[color=]window
.
[color=]sessionStorage
=
[color=]sessionStorage
;
[color=]window
.
[color=]name
= '$_YWTU=7nXC8M_ZRylQDpM8YlUdxPdHlh7M_t8lWHF71cWe4Q7&$_YVTX=Js3&vdFm='
indexedDB = {
   
[color=]open
:
[color=]function
(args) {
        console.
[color=]log
(
[color=]'indexedDB->open---------------->'
);
        // return {};
[color=]        
[color=]return
indexedDB;
    }
}
[color=]window
.
[color=]indexedDB
=
[color=]indexedDB
;
[color=]window
.
[color=]addEventListener
=
[color=]function
(args)
{
    console.
[color=]log
(
[color=]'window->addEventListener: '
, args)
   
[color=]debugger
;
   
[color=]return
{};
}
[color=]window
.
[color=]attachEvent
=
[color=]undefined
;
[color=]window
.
[color=]Request
=
[color=]function
(args)
{
    console.
[color=]log
(
[color=]'window->Request: '
, args)
   
[color=]debugger
;
   
[color=]return
{};
}
[color=]window
.
[color=]fetch  
=
[color=]function
(args)
{
    console.
[color=]log
(
[color=]'window->fetch: '
, args)
   
[color=]debugger
;
   
[color=]return
{};
}
[color=]window
.
[color=]setInterval
=
[color=]_null
;
[color=]window
.
[color=]setTimeout
=
[color=]_null
;
[color=]window
.
[color=]document
=
[color=]document
;
[color=]//$_ts=window['$_ts']
内容
require(
[color=]'./ts'
)
[color=]//
[color=]外链
[color=]js
内容
require(
[color=]'./link'
)
[color=]function
[color=]get_cookie
()
{
   
[color=]return
[color=]document
.
[color=]cookie
;
}

器里, 环境

yuupuu   

[C] 纯文本查看 复制代码delete __dirname;
delete __filename;
window = global;
delete global;
Object.defineProperties(window, {
    [Symbol.toStringTag]: {
        value: 'Window',
        configurable: true
    }
});
l_obj = {
};
l_input = {
};
l2_input = {
};
l3_input = {
};
var form = {
};
form_action = '';
Object.defineProperty(form, 'action',{
    get() {
        console.log('form->action.get--------->', l_input)
        return l_input;
    },
    set(v) {
        console.log('form->action.set--------->', v)
        form_action = v;
    }
});
form_textContent = {};
Object.defineProperty(form, 'textContent',{
    get() {
        console.log('form->textContent.get--------->', l2_input)
        return l2_input;
    },
    set(v) {
        console.log('form->textContent.set--------->', v)
        form_action = v;
    }
});
form_id = '';
Object.defineProperty(form, 'id',{
    get() {
        console.log('form->id.get--------->', l3_input)
        return l3_input;
    },
    set(v) {
        console.log('form->id.set--------->', v)
        form_id = v;
    }
});
form_innerText = '';
Object.defineProperty(form, 'innerText',{
    get() {
        console.log('form->innerText.get--------->', l3_input)
        return l3_input;
    },
    set(v) {
        console.log('form->innerText.set--------->', v)
        form_innerText = v;
    }
});
a_labl = {
    //去浏览器里拿
    href: 'xxxxxxxxxxxxxx',
    protocol: 'https:',
    port: '',
    //去浏览器里拿
    hostname: 'xxxxxxxxxxxxxxx',
    //去浏览器里拿
    pathname: 'xxxxxxxxxxxxxxx'
}
window.HTMLAnchorElement = function (){};
scripts = [
                {
                    type: "text/javascript",
                    r: 'm',
                    parentElement: {
                        getAttribute: function(args) {
                            console.log('head1->parentElement->getAttribute: ', args)
                            console.log(arguments)
                            debugger;
                            if (args == 'r')
                            {
                                return 'm';
                            }
                        },
                        getElementsByTagName: function(args) {
                            console.log('head1->getElementsByTagName: ', args)
                            console.log(arguments)
                            debugger
                        },
                         removeChild: function (args) {
                            console.log('head1->parentElement->removeChild', args);
                            console.log(arguments);
                            debugger;
                        },
                    },
                    getAttribute: function(args) {
                        console.log('script1->getAttribute: ', args)
                        console.log(arguments)
                        debugger;
                        if (args == 'r')
                        {
                            return 'm';
                        }
                    }
                },
                {
                    type: "text/javascript",
                    r: 'm',
                    parentElement: {
                         getAttribute: function(args) {
                            console.log('head2->parentElement->getAttribute: ', args);
                            console.log(arguments);
                            debugger;
                        },
                        getElementsByTagName: function(args) {
                            console.log('head2->getElementsByTagName: ', args);
                            console.log(arguments);
                            debugger
                        },
                         removeChild: function (args) {
                            console.log('head2->parentElement->removeChild', args);
                            console.log(arguments);
                            debugger;
                        },
                    },
                    getAttribute: function(args) {
                        console.log('script2->getAttribute: ', args);
                        console.log(arguments);
                        debugger;
                        if (args == 'r')
                        {
                            return 'm';
                        }
                    },
                    //去浏览器里拿
                    src: "xxxxxxxxxx",
                }
            ]
var input_count = 0;
var l_meta = {
        id: 'FbkwzLN5XOx0',
        content: 'tyGGg5AdQlANmSX9z3xbpGEoEKVuG9rmj_VCz71ozkpQ9tph9oDZE2RjIwQz8iL5oWgiCSPtU67jWlcPgf7DyTWP8X_.29Z5B0y9OtqwW4e6THU9dqdapsjx4a81rlUo',
        r: 'm',
        getAttribute: function(args)
        {
             console.log('meta->getAttribute: ', args);
             console.log(arguments);
             debugger;
             if (args == 'r')
             {
                return 'm';
             }
        },
        parentNode: {
             removeChild: function (args) {
                console.log('meta->parentNode->removeChild', args)
                debugger;
                return {};
            },
        }
}
div_i = [];
div = {
    getElementsByTagName:function (args)
    {
        console.log('document->div->getElementsByTagName', args)
        console.log(arguments)
        debugger;
        if(args === "i"){
            return div_i;
        }
    }
}
doc_base = [
]
Document = function Document(){}
Object.defineProperty(Document.prototype,'createElement',{
    configurable: true,
    enumerable: true,
    value: function createElement(args) {
        console.log('document->createElement', args)
        console.log(arguments);
        debugger;
        if (args == 'div')
        {
            return div;
        }
        else if (args == 'form')
        {
            return form;
        }
        else if (args == 'input')
        {
            if (input_count == 0)
            {
                input_count++;
                return l_input;
            }
            else if (input_count == 1)
            {
                input_count++;
                return l2_input;
            }
            else if (input_count == 2)
            {
                return l3_input;
            }
        }
        else if (args == 'a')
        {
            return a_labl;
        }
        else
        {
            return l_obj;
        }
    },
    writable: true,
})
const v8 =require('v8');
const vm= require('vm');
v8.setFlagsFromString('--allow-natives-syntax');
let undetectable = vm.runInThisContext("%GetUndetectable()");
v8.setFlagsFromString('--no-allow-natives-syntax');
Object.defineProperty(Document.prototype,'all',{
    configurable: true,
    enumerable: true,
    value: undetectable,
    writable: true,
})
Object.defineProperty(Document.prototype,'body',{
    configurable: true,
    enumerable: true,
    value: null,
    writable: true,
})
Object.defineProperty(Document.prototype,'visibilityState',{
    configurable: true,
    enumerable: true,
    value: 'hidden',
    writable: true,
})
Object.defineProperty(Document.prototype,'toString',{
    configurable: true,
    enumerable: true,
    value: function toString() {return '[object HTMLDocument]';},
    writable: true,
})
Object.defineProperty(Document.prototype,'addEventListener',{
    configurable: true,
    enumerable: true,
    value: function addEventListener(args) {
        console.log('document->addEventListener', args)
        console.log(arguments);
        debugger;
        return {};
    },
    writable: true,
})
documentElement = {};
Object.defineProperty(Document.prototype,'documentElement',{
    configurable: true,
    enumerable: true,
    // value: function documentElement(args) {
    //     console.log('document->documentElement', args)
    //     console.log(arguments);
    //     debugger;
    //     return {};
    // },
    value:documentElement,
    writable: true,
})
Object.defineProperty(Document.prototype,'appendChild',{
    configurable: true,
    enumerable: true,
    value: function appendChild(args) {
        console.log('document->appendChild', args)
        console.log(this)
        console.log(arguments);
        debugger;
        return {};
    },
    writable: true,
})
Object.defineProperty(Document.prototype,'removeChild',{
    configurable: true,
    enumerable: true,
    value: function removeChild(args) {
        console.log('document->removeChild', args)
        console.log(arguments);
        debugger;
        return {};
    },
    writable: true,
})
frist_get_script = 1;
Object.defineProperty(Document.prototype,'getElementsByTagName',{
    configurable: true,
    enumerable: true,
    value: function getElementsByTagName(args) {
        console.log('document->getElementsByTagName: ', args);
        console.log(arguments)
        debugger
        if (args == 'script')
        {
            if (frist_get_script == 1)
            {
                frist_get_script = 0;
                return scripts;
            }
            return [];
        }
        if (args === 'base') {
            debugger;
            return doc_base;
        }
        return [];
    },
    writable: true,
})
Object.defineProperty(Document.prototype,'getElementById',{
    configurable: true,
    enumerable: true,
    value: function getElementById(args) {
        console.log('document->getElementById', args)
        console.log(arguments);
        debugger;
        return l_meta;
    },
    writable: true,
})
HTMLDocument = function HTMLDocument(){}
Object.setPrototypeOf(HTMLDocument.prototype,Document.prototype)
document = new HTMLDocument()
// console.log(document.createElement('script'));
Object.defineProperty(document.all,'length',{
    get : function (){
        console.log('document.all.length ------------------------------------->')
        return Object.keys(document.all).length
    }
})
document.all[0] = null;
document.all[1] = null;
document.all[2] = null;
document.all[3] = null;
document.all[4] = null;
document.all[5] = null;
// document.all = [{},{},{},{},{},{}];
function Window(){};
window.Window = Window;
window.__proto__ = Window.prototype;
_null = function (){
    debugger;
    console.log(arguments)
    return {};
}
_mutationObserver = {
    observe:function(args)
    {
        console.log('_mutationObserver->observe', args)
        console.log(arguments);
        return {};
    }
};
window.innerHeight = 945;
window.innerWidth = 1920;
window.outerHeight = 1022;
window.outerWidth = 1910;
window.TEMPORARY = 0;
window.MutationObserver = function(args)
{
    console.log('window->mutationObserver', args)
    console.log(arguments);
    return _mutationObserver;
}
CanvasRenderingContext2D = function () {
};
getImageData = {
    toString() {
        console.log('getImageData');
        return 'function getImageData() { [native code] }'
    }
}
Object.defineProperty(CanvasRenderingContext2D.prototype,'getImageData',{
    get : function (){
        return getImageData;
    }
})
HTMLCanvasElement = function () {
};
toBlob = {
    toString() {
        console.log('toBlob');
        return 'function toBlob() { [native code] }'
    }
}
toDataURL = {
    toString() {
        console.log('toDataURL');
        return 'function toDataURL() { [native code] }'
    }
}
Object.defineProperty(HTMLCanvasElement.prototype,'toBlob',{
    get : function (){
        return toBlob;
    }
})
Object.defineProperty(HTMLCanvasElement.prototype,'toDataURL',{
    get : function (){
        return toDataURL;
    }
})
window.CanvasRenderingContext2D = CanvasRenderingContext2D;
window.HTMLCanvasElement = HTMLCanvasElement;
WebSocket = function(args)
{
    console.log('WebSocket ----------------------->', args);
    return {};
}
window.WebSocket = WebSocket;
webkitRequestFileSystem = _null;
window.webkitRequestFileSystem = webkitRequestFileSystem;
chrome = {};
window.chrome = chrome;
//去浏览器里拿
location = {
    "ancestorOrigins": {},
    "href": "xxxxxxxx",
    "origin": "xxxxxxxx",
    "protocol": "https:",
    "host": "xxxxxxxx",
    "hostname": "xxxxxxxx",
    "port": "",
    "pathname": "xxxxxxxx",
    "search": "xxxxxxxx",
    "hash": ""
}
window.top = window;
window.self = window;
navigator = {
    appCodeName: "Mozilla",
    appName: "Netscape",
    appVersion: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
    connection: {
       downlink: 2.4,
       effectiveType: "4g",
       onchange: null,
        rtt: 50,
        saveData: false
    },
    cookieEnabled: true,
    deprecatedRunAdAuctionEnforcesKAnonymity: true,
    deviceMemory: 8,
    doNotTrack: null,
    hardwareConcurrency: 22,
    languages: ["zh-CN", "en", "zh"],
    language: "zh-CN",
    onLine: true,
    platform: "Win32",
    product: "Gecko",
    productSub: '20030107',
    userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
    vendor: "Google Inc.",
    vendorSub: "",
    // webdriver: false,
    webkitPersistentStorage: {},
    getBattery: function() {return {then(){}}}
};
function Naviator(){};
Object.defineProperties(Naviator.prototype,{})
function webdriver()
{
    console.log("webdriver--------------------->");
    return false;
}
webdriver.toString = function () {return 'false'}
Object.defineProperty(Naviator.prototype, 'webdriver',{
    [Symbol.toStringTag]: {
        value: 'webdriver',
        configurable: true
    },
    configurable:true,
    enumerable: true,
    get: webdriver
});
navigator.__proto__ = Naviator.prototype;
Object.defineProperties(navigator, {
    [Symbol.toStringTag]: {
        value: 'webdriver',
        configurable: true
    }
})
window.navigator = navigator;
window["clientInformation"] = navigator;
window.location = location;
window.history = {
    length: 2,
    state: null,
    scrollRestoration: "auto",
    replaceState: _null,
}
screen = {
    availHeight: 1392,
    availLeft: 1536,
    availTop: 0,
    availWidth: 2560,
    colorDepth: 24,
    height: 1440,
    isExtended: true,
    onchange: null,
    orientation: {angle: 0, type: 'landscape-primary', onchange: null},
    pixelDepth: 24,
    width: 2560
}
window.screen = screen;
window.DOMParser = function ()
{
    debugger;
    return {};
}
window.XMLHttpRequest = function () {
    debugger;
    return {}
}
localStorage = {
    length: 0,
    removeItem: function () {
        console.log('localStorage->removeItem')
        console.log(arguments);
    },
    setItem: function () {
        console.log('localStorage->setItem');
        console.log(arguments);
        this[arguments[0]] = arguments[1];
        console.log(this);
    },
    getItem: function (args) {
        console.log('localStorage->getItem')
        console.log(arguments);
        return this[args];
    },
}
sessionStorage = {
    length: 0,
    removeItem: function () {
        console.log('localStorage->removeItem')
        console.log(arguments);
    },
    setItem: function () {
        console.log('localStorage->setItem');
        console.log(arguments);
        this[arguments[0]] = arguments[1];
        console.log(this);
    },
    getItem: function (args) {
        console.log('localStorage->getItem')
        console.log(arguments);
        console.log(this[args]);
        return this[args];
    },
}
window.localStorage = localStorage;
window.sessionStorage = sessionStorage;
window.name = '$_YWTU=7nXC8M_ZRylQDpM8YlUdxPdHlh7M_t8lWHF71cWe4Q7&$_YVTX=Js3&vdFm='
indexedDB = {
    open: function (args) {
        console.log('indexedDB->open---------------->');
        // return {};
        return indexedDB;
    }
}
window.indexedDB = indexedDB;
window.addEventListener = function (args)
{
    console.log('window->addEventListener: ', args)
    debugger;
    return {};
}
window.attachEvent = undefined;
window.Request = function (args)
{
    console.log('window->Request: ', args)
    debugger;
    return {};
}
window.fetch  = function (args)
{
    console.log('window->fetch: ', args)
    debugger;
    return {};
}
window.setInterval = _null;
window.setTimeout = _null;
window.document = document;
//$_ts=window['$_ts']内容
require('./ts')
//外链js内容
require('./link')
function get_cookie()
{
    return document.cookie;
}
sabirjan2023   

用代码框处理一下代码吧,会美观很多。
Wa923978   

用代码框处理一下代码吧,会美观很多。
75769837   

用代码框处理一下代码吧,会美观很多。我看着都头大
SuperSpiderMan   

用代码框处理一下代码吧,会美观很多。我看着都头大
aoxuehanshuang   

讲讲过程
唐小样儿   

用代码框处理一下代码吧,会美观很多。
75769837   

看着看着不知道看到哪儿去了太涨眼睛了
逍遥黑心   


Hmily 发表于 2025-2-28 10:58
用代码框处理一下代码吧,会美观很多。

哥们 这种扣分 不至于吧 ... 我的天 50CB
您需要登录后才可以回帖 登录 | 立即注册

返回顶部