Commit c7ca6fa1 authored by wangmingming's avatar wangmingming

7777

parent fee72b16
a1 = [22,28,65,7,92,95,115,192,7,38,212,157,81,202,44,150,188,237,40,0,148,75,67,186,150,66,104,152,195,48,193,251,7,56,34,41,59,181,78,100,67,44,0,80,86,23,166,0,251,16,196,44,147,53,234,192,94,213,42,197,1,38,0,200,40,115,7,178,111,149,219,101,238,139,99,18,153,28,48,133,217,246,206,238,156,165,29,33,241,209,168,184,24,147,35,88,117,58,210,218,93,30,207,30,33,25,73,58,230,223,2,191,96,30,134,193,190,182,226,254,110,89,73,199,188,230,88,20,197,244,241,82,218,251,225,246,26,251,173,246,220,82,218,135,127,8,50,96,249,91,108,138,247,243,15,170,130,171,99,183,77,125,148,93,251,144,170,120,141,121,148,12,17,232,156,85,185,118,191,143,74,76,1,224,209,238,239,86,79,22,156,224,36,167,95,151,4,211,54,36,109,198,120,221,163,1,225,97,46,233,239,143,38,149,212,16,144,46,230,127,247,142,57,185,111,50,37,54,132,28,77,65,82,174,193,36,15,162,67,43,211,66,113,6,200,219,83,237,47,129,100,114,50,160,166,66,134,39,191,39,92,145,72,191,204,11,233,178,183,125,136,84,104,199,90,45,191,80,80,67,15,28,163,25,192,198,221,53,206,58,145,198,71,70,152,219,25,112,9,11,104,55,234,189,22,22,64,107,175,5,138,75,248,181,173,105]
a2 = [22,28,65,7,92,95,115,192,7,38,212,157,81,202,44,150,188,237,40,0,148,75,67,186,150,66,121,236,195,48,193,251,7,56,34,41,59,181,78,100,67,44,0,80,86,23,166,0,251,16,196,44,147,53,234,192,94,213,42,197,1,38,0,200,40,115,7,178,111,149,219,101,238,139,99,18,153,28,48,133,217,246,206,238,156,165,29,33,241,209,168,184,24,147,35,88,117,58,210,218,93,30,207,30,33,25,73,58,230,223,2,191,96,30,134,193,190,182,226,254,110,89,73,199,188,230,88,20,197,244,241,82,218,251,225,246,26,251,173,246,220,82,218,135,127,8,50,96,249,91,108,138,247,243,15,170,130,171,99,183,77,125,148,93,251,144,170,120,141,121,148,12,17,232,156,85,185,118,191,143,74,76,1,224,209,238,239,86,79,22,156,224,36,167,95,151,4,211,54,36,109,198,120,221,163,1,225,97,46,233,239,143,38,149,212,16,144,46,230,127,247,142,57,185,111,50,37,54,132,28,77,65,82,174,193,36,15,162,67,43,211,66,113,6,200,219,83,237,47,129,100,114,50,160,166,66,134,39,191,39,92,145,72,191,204,11,233,178,183,125,136,84,104,199,90,45,191,80,80,67,15,28,163,25,192,198,221,53,206,58,145,198,71,70,152,219,25,112,9,11,104,55,234,189,22,22,64,107,175,5,138,75,248,181,173,105]
for idx, (k,v) in enumerate(zip(a1,a2)):
if k != v:
print(idx, v)
\ No newline at end of file
No preview for this file type
This diff is collapsed.
from flask import Flask, request, render_template
from flask import Flask, request, render_template, send_file
app = Flask(__name__)
......@@ -9,7 +9,7 @@ def index():
return render_template('index.html')
@app.route('/collect.js')
def js():
return render_template('collect.js')
return send_file('templates/collect.js', )
@app.route('/collect', methods=["POST"])
def collect():
print(request.data.decode())
......
......@@ -869,17 +869,17 @@ try {
let userAgentData = {};
let webglImg = {};
navigator.userAgentData && navigator.userAgentData.getHighEntropyValues(['architecture', 'bitness', 'brands', 'mobile', 'model', 'platform',
'platformVersion', 'uaFullVersion', 'wow64', 'fullVersionList']).then(e => {
userAgentData['highValue'] = e
userAgentData['brands'] = navigator.userAgentData.brands
userAgentData['mobile'] = navigator.userAgentData.mobile
userAgentData['platform'] = navigator.userAgentData.platform
// console.log(JSON.stringify(userAgentData))
})
// navigator.userAgentData && navigator.userAgentData.getHighEntropyValues(['architecture', 'bitness', 'brands', 'mobile', 'model', 'platform',
// 'platformVersion', 'uaFullVersion', 'wow64', 'fullVersionList']).then(e => {
//
// userAgentData['highValue'] = e
// userAgentData['brands'] = navigator.userAgentData.brands
// userAgentData['mobile'] = navigator.userAgentData.mobile
// userAgentData['platform'] = navigator.userAgentData.platform
// // console.log(JSON.stringify(userAgentData))
//
//
// })
webglImg = function () {
let canvas = document.createElement("canvas");
......
This diff is collapsed.
......@@ -25,10 +25,10 @@ client = MongoClient('mongodb://lcc-spider:JIUsfhiad&^@18.144.59.80:27017/?authS
db = client.env
# 查询所有文档
# result = db.env_shape.find()
# result = db.env_shape.find({'env.navigatorparams.useragent':{'$regex': 'Firefox'}})
# data = {str(x['_id']): x['env'] for x in result}
# print(result)
# with open('env.json', 'w') as f:
# with open('ff.json', 'w') as f:
# f.write(json.dumps(data))
with open('env.json', 'r') as f:
data = json.loads(f.read())
......@@ -88,8 +88,8 @@ for i in range(100):
t1 = time.time()
# r = requests.get('http://127.0.0.1:5000/getinfo').json()['message']
# r = requests.get('http://127.0.0.1:3001').json()
# p = subprocess.Popen(['node', 'js_dom_run.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p = subprocess.Popen(['node', 'src_run.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p = subprocess.Popen(['node', 'js_dom_run.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
......
This diff is collapsed.
This diff is collapsed.
......@@ -3223,4 +3223,3 @@
Ql(0, 0, null, [4, 3, 0, 5, 1, 2], [], [], void 0, void 0)()
}(typeof window !== "undefined" && window != null && window.window === window ? window : typeof global !== "undefined" && global != null && global.global === global ? global : this))
;(function(e,d){var isk=["OnJHUNRAe"];for(var i=0;i<isk.length;++i){e.initCustomEvent(isk[i],false,false,d);dispatchEvent(e)}}(document.createEvent("CustomEvent"),["A4JTF3iKAQAAYQpGDY3m_YhjoN1-FMvVLBOnsZUXFQigAmOBPzHJjEZPGHLaAUFL3fX6K21wobReCOfvosJeCA==","dsq4hRwQHTi6ly_81L5Wc3eGKgjaft7JkAob0-9EVFOvrZDSpYCM=muUPn2INXxBz",[],[1819621876,1208048397,1698184042,1507886414,522954412,1111264009,2081656043,1657247419],document.currentScript&&document.currentScript.nonce||"7LiBTAqp+ufG+eGXhI1JYIDC",document.currentScript&&document.currentScript.nonce||"7LiBTAqp+ufG+eGXhI1JYIDC",[],typeof arguments==="undefined"?void 0:arguments]))
;(function(e,d){var isk=["OnJHUNRAe"];for(var i=0;i<isk.length;++i){e.initCustomEvent(isk[i],false,false,d);dispatchEvent(e)}}(document.createEvent("CustomEvent"),["A4JTF3iKAQAAYQpGDY3m_YhjoN1-FMvVLBOnsZUXFQigAmOBPzHJjEZPGHLaAUFL3fX6K21wobReCOfvosJeCA==","dsq4hRwQHTi6ly_81L5Wc3eGKgjaft7JkAob0-9EVFOvrZDSpYCM=muUPn2INXxBz",[],[1819621876,1208048397,1698184042,1507886414,522954412,1111264009,2081656043,1657247419],document.currentScript&&document.currentScript.nonce||"7LiBTAqp+ufG+eGXhI1JYIDC",document.currentScript&&document.currentScript.nonce||"7LiBTAqp+ufG+eGXhI1JYIDC",[],typeof arguments==="undefined"?void 0:arguments]))
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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