ash47 / OmegleMiddleMan

Lets you connect strangers to each other, and intercept messages AKA Man in the Middle Attack
233 stars 60 forks source link

recaptcha2,t3 #98

Closed satan971 closed 1 year ago

satan971 commented 1 year ago

there has been a recaptcha update. the new value is recaptcha2,t3 but even after updating it, it doesnt seem to work. I checked other variables. Cant seem to find whats the exact issue apart from the recaptcha update. Also just out of curiosity, why are they changing this value everytime? is it a map from this value to the T&C of omegle.com?

satan971 commented 1 year ago

image

OmegleGuy commented 1 year ago

Hey bro, did you find a solution to work?

satan971 commented 1 year ago

@ash47

satan971 commented 1 year ago

@ash47 can you please fix it? or give some hint on how to debug it

satan971 commented 1 year ago

image I have traced the problem to the start request.

satan971 commented 1 year ago

they have added a cc field. but I cant figure out how is it being generated. Hardcoding its value seems to solve the problem. but Im assuming this value would be invalid after a while.

gitcoder303 commented 1 year ago

@satan971 Can you tell how to hardcode the value? I am new to this stuff.

waker1771 commented 1 year ago

they have added a cc field. but I cant figure out how is it being generated. Hardcoding its value seems to solve the problem. but Im assuming this value would be invalid after a while.

I would also like to know how you hardcoded this value!

satan971 commented 1 year ago

image open a tab in browser. open inspect page using ctrl + I and go to omegle.com. You will see this url, under network tab. In headers you can find the cc value.

Mcmarc00 commented 1 year ago

@satan971 Can you give a step by step on how you fixed it, what files you had to update specifically?

satan971 commented 1 year ago

image In omegle.js, update caps and add cc. you can get the value of cc using the above method.

Mcmarc00 commented 1 year ago

@satan971 Just tried that but it won't start

                cc: 'c594c15e6a18dcd7c764c2e93e6dc7dc3fc59ce9'
                ^^

SyntaxError: Unexpected identifier
←[90m    at Object.compileFunction (node:vm:352:18)←[39m
←[90m    at wrapSafe (node:internal/modules/cjs/loader:1033:15)←[39m
←[90m    at Module._compile (node:internal/modules/cjs/loader:1069:27)←[39m
←[90m    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)←[39m
←[90m    at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m    at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m    at Module.require (node:internal/modules/cjs/loader:1005:19)←[39m
←[90m    at require (node:internal/modules/cjs/helpers:102:18)←[39m
    at Object.<anonymous> (C:\Users\[redacted]\Desktop\OmegleMiddleMan-master\OmegleMiddleMan-master\app.js:1:14)
←[90m    at Module._compile (node:internal/modules/cjs/loader:1105:14)←[39m
satan971 commented 1 year ago

did u update recaptcha

waker1771 commented 1 year ago

did u update recaptcha

I'm also getting the identical error. There's no cc field there by default.

ash47 commented 1 year ago

Please pull latest version and install dependencies again. I have put a fix that will automatically calculate and add the cc field and the other changes that were required.