Commit f2d707d4 authored by wang's avatar wang

111

parent f9cbd613
...@@ -79,38 +79,37 @@ var origslice = [].slice; ...@@ -79,38 +79,37 @@ var origslice = [].slice;
_print(...arguments) _print(...arguments)
} }
} }
idx = 0
_join = Array.prototype.join; // _join = Array.prototype.join;
Array.prototype.join = saf(function (s) { // Array.prototype.join = saf(function (s) {
_print('join', this.length, this, s) // _print('join', this.length, this, s)
let res = _join.call(this, s) // let res = _join.call(this, s)
_print('joinres', res) // _print('joinres', res)
return res; // return res;
}) // })
// document.cookie = 'sRpK8nqm_sc=A9EBM6mMAQAABr7rR-6k_cD1NDefUGYZBlvraANwxoU0F86e5XoQveY1mz4UARf3iT0AAAAAAAAAAAAAAAAAAA|1|0|27ee2b2f98e6c25dfd8413111062fcf921881318' // // document.cookie = 'sRpK8nqm_sc=A9EBM6mMAQAABr7rR-6k_cD1NDefUGYZBlvraANwxoU0F86e5XoQveY1mz4UARf3iT0AAAAAAAAAAAAAAAAAAA|1|0|27ee2b2f98e6c25dfd8413111062fcf921881318'
_getOwnPropertyNames = Object.getOwnPropertyNames; // _getOwnPropertyNames = Object.getOwnPropertyNames;
Object.getOwnPropertyNames = saf(function (a) { // Object.getOwnPropertyNames = saf(function (a) {
let res = _getOwnPropertyNames(a); // let res = _getOwnPropertyNames(a);
_print('getOwnPropertyNames', a, res) // _print('getOwnPropertyNames', a, res)
return res; // return res;
//
}) // })
_getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors; // _getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors;
Object.getOwnPropertyDescriptors = saf(function (a) { // Object.getOwnPropertyDescriptors = saf(function (a) {
let res = _getOwnPropertyDescriptors(a); // let res = _getOwnPropertyDescriptors(a);
_print('getOwnPropertyDescriptors', a, res) // _print('getOwnPropertyDescriptors', a, res)
return res; // return res;
//
}) // })
_getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
Object.getOwnPropertyDescriptor = saf(function (a, b) { // Object.getOwnPropertyDescriptor = saf(function (a, b) {
let res = _getOwnPropertyDescriptor(a,b); // let res = _getOwnPropertyDescriptor(a,b);
_print('getOwnPropertyDescriptor', a,b, res) // _print('getOwnPropertyDescriptor', a,b, res)
return res; // return res;
//
}) // })
Object.defineProperties(crypto,{ Object.defineProperties(crypto,{
...@@ -155,12 +154,14 @@ Object.defineProperty = saf(function (p, v, d) { ...@@ -155,12 +154,14 @@ Object.defineProperty = saf(function (p, v, d) {
}) })
</script> </script>
<script src="/assets/app/scripts/swa-common.js"></script> <script src="/assets/app/scripts/swa-common.js"></script>
<!--<script src="env/get_pixels.js"></script>--> <!--<script src="env/get_pixels.js"></script>-->
<!--<script src="https://www.jetblue.com/js/src/jb-74873.js"></script>--> <!--<script src="https://www.jetblue.com/js/src/jb-74873.js"></script>-->
<script> <script>
function sendXHr() { // function sendXHr() {
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
let h = { let h = {
...@@ -206,14 +207,14 @@ Object.defineProperty = saf(function (p, v, d) { ...@@ -206,14 +207,14 @@ Object.defineProperty = saf(function (p, v, d) {
"application": "air-booking", "application": "air-booking",
"site": "southwest" "site": "southwest"
})); }));
console.log(xhr.responseText)
} catch (e) { } catch (e) {
} }
console.log(xhr.headers) console.log(xhr.headers)
return xhr.headers // return xhr.headers
} // }
console.log('当前times', window.times) // console.log('当前times', window.times)
// !function(){ // !function(){
// var websocket = new WebSocket("ws://127.0.0.1:5000/browser"); // var websocket = new WebSocket("ws://127.0.0.1:5000/browser");
// websocket.onopen = function(){ // websocket.onopen = function(){
...@@ -229,10 +230,10 @@ Object.defineProperty = saf(function (p, v, d) { ...@@ -229,10 +230,10 @@ Object.defineProperty = saf(function (p, v, d) {
// websocket.send(JSON.stringify(ret)) // websocket.send(JSON.stringify(ret))
// } // }
// }() // }()
try { // try {
sendXHr() // sendXHr()
} catch (e) { // } catch (e) {
} // }
console.log('结束times', window.times) // console.log('结束times', window.times)
debugger; // debugger;
</script> </script>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -30,3 +30,4 @@ for (let i of Object.keys(params)) { ...@@ -30,3 +30,4 @@ for (let i of Object.keys(params)) {
} }
eval(funcsStart + funcsList.join('\n') + funcsENd) eval(funcsStart + funcsList.join('\n') + funcsENd)
;;; ;;;
...@@ -121,3 +121,38 @@ delete tt1.prototype ...@@ -121,3 +121,38 @@ delete tt1.prototype
t = Object["call"]["bind"](Object["bind"], Object["call"])(Object["apply"])(Function["prototype"]["call"]["bind"], Function["prototype"]["call"], [Object["prototype"]["hasOwnProperty"]]); t = Object["call"]["bind"](Object["bind"], Object["call"])(Object["apply"])(Function["prototype"]["call"]["bind"], Function["prototype"]["call"], [Object["prototype"]["hasOwnProperty"]]);
console.log(t(tt1,'prototype')) console.log(t(tt1,'prototype'))
CustomEvent = function() {
this.initCustomEvent = function (type, canBubble, cancelable, detail) {
this.type = type
this.detail = detail
return {type, canBubble, cancelable, detail}
}
}
Object.defineProperties(CustomEvent, {
"isTrusted": {
get() {
return true
}
},
type: {value: ''},
detail: {
get() {
return this.d
},
},
initCustomEvent: function (type, canBubble, cancelable, detail) {
this.type = type
this.detail = detail
return {type, canBubble, cancelable, detail}
}
})
let a = new CustomEvent()
console.log(a)
console.log(a.initCustomEvent)
console.log(Object.getOwnPropertyNames(CustomEvent))
\ No newline at end of file
...@@ -28,12 +28,12 @@ headers = { ...@@ -28,12 +28,12 @@ headers = {
# https://www.southwest.com/assets/app/scripts/swa-common.js # https://www.southwest.com/assets/app/scripts/swa-common.js
headers.update( headers.update(
{"ee30zvqlwf-f": "AxhXWWONAQAAhVzvek0AvW3ZDeFxBWolQ_BP9OJGOAsKH_y_080LnVkdT_oPAVnVpg0XTuHJwH9eCOfvosJeCA==", {"ee30zvqlwf-f": "A-zpt2-NAQAAJI-x39eCy8fnoXQDFbJIjTqktaNVTLMWJbXAA-T5udopLZRVAdF_apkXTtWowH8AAEB3AAAAAA==",
"ee30zvqlwf-b": "-9zvuwt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GiOd94bP8moXLFkdCNONwCNiK9GtouEx_V_uat3ctRdvlcAHCOTViPG06viQ1I2qfBdNuYbSI1Y=EqkxVvwKNaK690XU3Ej9BdpmqM1tRm-MI36D20cYHw5ueIazuE1xha0ACD85gujLgIQQ8tI6NQTDPpk-BokV=OyO",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.69"} "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67"}
) )
# headers.pop('xhr_url') # headers.pop('xhr_url')
......
...@@ -226,6 +226,7 @@ while True: ...@@ -226,6 +226,7 @@ while True:
tlsV = f'chrome_{random.randint(105, 113)}' tlsV = f'chrome_{random.randint(105, 113)}'
# proxy = random.choice([proxy1, proxy2]) # proxy = random.choice([proxy1, proxy2])
proxy = get_proxy()['url'] proxy = get_proxy()['url']
logger.info(f"success:{success} proxy: {proxy} ") logger.info(f"success:{success} proxy: {proxy} ")
tlsV = 'chrome_112' tlsV = 'chrome_112'
...@@ -262,7 +263,7 @@ while True: ...@@ -262,7 +263,7 @@ while True:
# '_id': token, # '_id': token,
# 'update_time': int(time.time() * 1000) # 'update_time': int(time.time() * 1000)
# }) # })
code = open('src.js', 'r', encoding='utf-8').read() code = open('src2.js', 'r', encoding='utf-8').read()
with open('src_run2.js', 'w', encoding='utf-8') as f: with open('src_run2.js', 'w', encoding='utf-8') as f:
f.write(code + '\n\n' + get_random_location() + ';;' + c f.write(code + '\n\n' + get_random_location() + ';;' + c
+ +
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment