Chiang97912 / bet365.com

The scraper of bet365.com
MIT License
112 stars 48 forks source link

Unable to authenticate #9

Open otac0074 opened 4 years ago

otac0074 commented 4 years ago

i think this problem

bet365 update..

스크린샷 2020-03-03 오전 12 34 30

P + session_id + '????'

added

rayleeafar commented 4 years ago

@Smart828 @rayleeafar

I connected over 1 hour, msg still goes on.

linxqnana commented 4 years ago

@Smart828 @rayleeafar

I connected over 1 hour, msg still goes on.

ok, does any one know where the second cmd come from, bvd5xz

屏幕快照 2020-03-05 下午9 54 03
Poincare2013 commented 4 years ago

Does anyone has problem? Some time I can get data,some time data is blocked.

alvik48 commented 4 years ago

image

@Smart828 @rayleeafar

I connected over 1 hour, msg still goes on.

ok, does any one know where the second cmd come from, bvd5xz

屏幕快照 2020-03-05 下午9 54 03

It's decrypted (by the same function as other keys like NST) value of AD key in the message staring from "CONFIG".

linxqnana commented 4 years ago

image

@Smart828 @rayleeafar

I connected over 1 hour, msg still goes on.

ok, does any one know where the second cmd come from, bvd5xz

屏幕快照 2020-03-05 下午9 54 03

It's decrypted (by the same function as other keys like NST) value of AD key in the message staring from "CONFIG".

thx, what dose it use for?

alvik48 commented 4 years ago

thx, what dose it use for?

@linxqnana Only God knows (not fact)

alvik48 commented 4 years ago

Who knows how to get this match ID for receiving live animations? In the matches list I see the ID like "6V86853054C1A_1_1", but nothing similar to "15471467352M1_1_1". Anyone here knows how to subscribe on live match events? image

teocns commented 4 years ago

Guys don't get lost, it's not that hard. You just need to send the right messages. Also if you don't keep receiving messages make sure to send OVInPlay_6_0

teocns commented 4 years ago

command - nst - XXXXXX is not required

mjgerace commented 4 years ago

InPlay_1_3 is not sending me basketball data anymore, or at least not in the same format it did prior.

Poincare2013 commented 4 years ago

wss://premws-pt12.365pushodds.com/zap/?uid=8622423821040797 Is the uid necessary?

nulldust commented 4 years ago

I shared my code in my repo: , just now, test on my computer,works fine. I hope this can help you~

it can't work on my computer.

log: 2020-03-09 15:53:42,922 - websockets.client - DEBUG - client < HTTP/1.1 101 Switching Protocols 2020-03-09 15:53:42,922 - websockets.client - DEBUG - client < Headers([('connection', 'Upgrade'), ('sec-websocket-extensions', 'permessage-deflate; server_no_context_takeover; server_max_window_bits=15; client_max_window_bits=15'), ('sec-websocket-protocol', 'zap-protocol-v1'), ('upgrade', 'websocket'), ('sec-websocket-accept', 'ODX+w44S2mrO5nS/YHoYnesuJew=')]) 2020-03-09 15:53:42,924 - websockets.protocol - DEBUG - client - state = OPEN 2020-03-09 15:53:43,429 - websockets.protocol - DEBUG - client > Frame(fin=True, opcode=1, data=b'#\x03P\x01time,S_96ACEED1BF4B4A0EA2D51890E8DB2490000003,D_N/.4uFi1q3o9JD70or2RjKCDlC\x00', rsv1=False, rsv2=False, rsv3=False) 2020-03-09 15:53:43,429 - main - DEBUG - > #Ptime,S_96ACEED1BF4B4A0EA2D51890E8DB2490000003,D_N/.4uFi1q3o9JD70or2RjKCDlC 2020-03-09 15:53:43,748 - websockets.protocol - DEBUG - client - event = data_received(<27 bytes>) 2020-03-09 15:53:43,750 - websockets.protocol - DEBUG - client < Frame(fin=True, opcode=1, data=b'100\x02I3PRW21-1JpVEUhTWBbG\x00', rsv1=False, rsv2=False, rsv3=False) 2020-03-09 15:53:43,766 - main - DEBUG - Server said > 100I3PRW21-1JpVEUhTWBbG 2020-03-09 15:53:43,974 - websockets.protocol - DEBUG - client > Frame(fin=True, opcode=1, data=b'\x16\x00CONFIG_1_3,OVInPlay_6_0,Media_L1_Z3,XL_L1_Z3_C1_W3\x01', rsv1=False, rsv2=False, rsv3=False) 2020-03-09 15:54:03,435 - websockets.protocol - DEBUG - client > Frame(fin=True, opcode=9, data=b"\xc9<'\xe5", rsv1=False, rsv2=False, rsv3=False) 2020-03-09 15:54:03,751 - websockets.protocol - DEBUG - client - event = data_received(<6 bytes>) 2020-03-09 15:54:03,753 - websockets.protocol - DEBUG - client < Frame(fin=True, opcode=10, data=b"\xc9<'\xe5", rsv1=False, rsv2=False, rsv3=False) 2020-03-09 15:54:03,754 - websockets.protocol - DEBUG - client - received solicited pong: c93c27e5

linxqnana commented 4 years ago

@lucifer-v does anyone know where the decrypt function come from , i can't find it on bet365

kzeratal commented 4 years ago

Hello, i m newbie here, so web socket gives me

100I1PIP35-FUU5UqisXF2W

What should i do with this?

I am currently stuck at this response too, after sending u"\x16\x00CONFIG_2_0,OVInPlay_2_0,Media_L2_Z0,XL_L2_Z0_C1_W1\x01" I am not able to get any response

Do I miss something?

ettere commented 4 years ago

Did anyone find a way how to get that nst token since it is away from the page source?

yaro08 commented 4 years ago

@ettere I am trying to do it, but without luck

IvanMMM commented 4 years ago

What a helpful topic you have here :) Thank you, guys, saved me a ton of time So, looks like bet365 changed sth again. @khorezm0, can you pls tell us how did u do it?

ettere commented 4 years ago

looks like admins looking at this log - after posts in here they`ve made changes. Again...

khorezm0 commented 4 years ago

looks like admins looking at this log - after posts in here they`ve made changes. Again...

i hope no, it is still hard to me

luk-fcrash commented 4 years ago

Anyone working now? Still not working for me. help if possible

luk-fcrash commented 4 years ago

looks like admins looking at this log - after posts in here they`ve made changes. Again...

i hope no, it is still hard to me

got it brother? help if can

motenalyze commented 4 years ago

Still not working for me

mattmana commented 4 years ago

Hi guys! any news about the new nst token reveal method?? Im trying write all this py to nodeJS, maybe it helps someone!

otac0074 commented 4 years ago

difficult

i think

point

스크린샷 2020-05-09 오후 8 04 07

this decrypt..

b0dnar commented 4 years ago

I have obscure characters ( IoI q w 0wK ) instead of CONFIG_1_3F|CG...

b0dnar commented 4 years ago
socket
b0dnar commented 4 years ago

How decrypt this message?

otac0074 commented 4 years ago
스크린샷 2020-05-09 오후 9 54 35

Did you decrypt this?

b0dnar commented 4 years ago

yes my dialog from server: I> "# P ..." Server> "100 I3..." I> "CONFIG_1_3 ..." Server > "__time ..." I > "command nst ..." Server > " IoI q"

Then the server sends incomprehensible messages. But message format: "OV ..." is good format

otac0074 commented 4 years ago

Could you tell me how you decrypted the part that starts with "D_"?

b0dnar commented 4 years ago

I write on c# i think the problem may be a socket in the language c#

b0dnar commented 4 years ago

I run js script

otac0074 commented 4 years ago

Can you tell me?

b0dnar commented 4 years ago

I can reset the video work program to you in the mail

b0dnar commented 4 years ago

image

Screen my traffic

luk-fcrash commented 4 years ago

guys they seem to have release an update i can't find the dom elements was looking for any more. Anyone else have similar problems ??

iflp commented 4 years ago

What dom elements are you looking for? @luk-fcrash

otac0074 commented 4 years ago

What dom elements are you looking for? @luk-fcrash

How did you decode jsfuck? using nodejs

iflp commented 4 years ago

https://enkhee-osiris.github.io/Decoder-JSFuck/

otac0074 commented 4 years ago

https://enkhee-osiris.github.io/Decoder-JSFuck/

there only browser can working.. i want using node js

spikeruk commented 4 years ago

Easiest way to get the data without having to make constant changes is to use Selenium 4.0, and access the dev tool network messages. It then fires an event for every incoming socket frame.

So can just navigate to the normal URL, and can output all the incoming socket messages. Because it uses the browser then it will always work. Dont have to worry about backend socket changes.

If anyone has any ideas for an automated strategy and wants to work together on a project, please message me.

weisuosky commented 4 years ago

access the dev tool network

I use selenium to scrape bet365 odds and make automate bet. it works well for several days, but get banned completely since yesterday. Do u have any idea how to make selenium not detected by bet365.
follow this code, i can get odds using websocket, but how to place bet using websocket? is there any sample code like this git repo?

spikeruk commented 4 years ago

You dont place the bet with web socket, you just get the odds. How did you get banned? just change your ip address?

victorratts13 commented 4 years ago

i have this problem too.. any solution?

zakicheung commented 4 years ago

image token get!

286844626 commented 3 years ago

image token get!

How to get the two arrays oe and ie

victorratts13 commented 3 years ago

this is my project, i got it decrypt all mensages for json... see this

286844626 commented 3 years ago

这是我的项目,我得到了它解密json的所有提示... 看到这个

Can you share it, or any tips, I’ve been stuck here for a long time

victorratts13 commented 3 years ago

yep, you can see my projects on my github

286844626 commented 3 years ago

是的,您可以在我的github上看到我的项目

image I run index.js and it prompts an error. I am not very familiar with js. Is there a python version?