First of all you need to go to https://omegle.com
and then on the homepage right click and click inspect element
as shown below
And after that go to the console
area and copy paste the below javascript
code inside the console and press enter
window.oRTCPeerConnection = window.oRTCPeerConnection || window.RTCPeerConnectionwindow.RTCPeerConnection = function(...args) {
const pc = new window.oRTCPeerConnection(...args)pc.oaddIceCandidate = pc.addIceCandidatepc.addIceCandidate = function(iceCandidate, ...rest) {
const fields = iceCandidate.candidate.split(' ')if (fields[7] === 'srflx') {
console.log('IP Address:', fields[4])
}
return pc.oaddIceCandidate(iceCandidate, ...rest)}return pc
}
And now again clear out the console and then click the video chat button on omegle ( this method is only work in Video Chat )
Now you can see the ip addresses appearing inside the console just copy it inside a online tool of ip address location finder and you will see the below result.
Top comments (0)