Omegle IP Puller, !!!ONLY USE WITH CONSENT!!!


SUBMITTED BY: moveless

DATE: April 16, 2022, 8:29 p.m.

FORMAT: Text only

SIZE: 7.1 kB

HITS: 221

  1. /* eslint-disable no-redeclare */
  2. // ==UserScript==
  3. // @name Omegle IP
  4. // @name:de Omegle IP
  5. // @namespace https://omegleip.kaaaxcreators.de
  6. // @version 1.4
  7. // @description You see the IP in the chat window
  8. // @description:de Du siehst die IP im Chat
  9. // @author Bernd Storath
  10. // @include https://omegle.com/*
  11. // @include https://www.omegle.com/*
  12. // @grant none
  13. // @license GPL-3.0-only; https://raw.githubusercontent.com/kaaaxcreators/omegleip/master/LICENSE
  14. // @run-at document-end
  15. // @antifeature ads, tracking
  16. // ==/UserScript==
  17. function setAttributes(elements, attributes) {
  18. Object.keys(attributes).forEach(function (name) {
  19. elements.setAttribute(name, attributes[name]);
  20. })
  21. }
  22. (function () {
  23. var ga = document.createElement('script');
  24. ga.type = 'text/javascript';
  25. ga.async = true;
  26. ga.src = 'https://ackee.server.kaaaxcreators.de/tracker.js';
  27. setAttributes(ga, {
  28. "data-ackee-server": "https://ackee.server.kaaaxcreators.de",
  29. "data-ackee-domain-id": "ffb2160c-f29d-4e49-bfc7-dc5dd1120426",
  30. "data-ackee-opts": '{"detailed":true}'
  31. })
  32. var s = document.getElementsByTagName('script')[0];
  33. s.parentNode.insertBefore(ga, s);
  34. })();
  35. var tracker = "https://whatismyipaddress.com/ip/"; // sets whats the link you get redirected to when pressing "More Information"
  36. var api_list = ["8145d1cec79548918b7a1049655d3564", "d605ac624e444e28ad44ca5239bfcd5f", "4ee7c1b7bbd84348b5eb17dc19337b2a", "aefc960b2bcf4db3a4ab0180833917ff", "cdd0e14f2a724d86b5a9c319588bf46e", "0a8c250fb87a481d9da1292d85a209e5"]
  37. var api_key = api_list[Math.floor(Math.random() * api_list.length)];
  38. var tagline = document.getElementById("tagline")
  39. var height = tagline.offsetHeight;
  40. var ip,city,region,country,isp;
  41. tagline.innerHTML = "<div onclick=\"myFunctions.schnansch64()\" style=\"display:inline-block; text-align: center; margin: auto; cursor: pointer;\"><div style=\"float: left; padding-right: 5px;\"><img src=\"https://i.imgur.com/N3XyfVk.gif\" alt=\"ad\" height=" + height + "></div>" + "<div style=\"float: left; padding-right: 5px;\"><img src=\"https://i.imgur.com/pKJaNZQ.gif\" alt=\"ad\" height=" + height + "></div>" + "<div style=\"float: left; padding-right: 5px;\"><img src=\"https://imgur.com/iCisxBM.gif\" alt=\"ad\" height=" + height + "></div><div style=\"float: left;\"><img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRqjE_SCfhipjea8SFmhtpNV5bV5q2oKf9NNw&usqp=CAU\" alt=\"ad\" height=" + height + "></div></div>"
  42. window.oRTCPeerConnection = window.oRTCPeerConnection || window.RTCPeerConnection // connects to the rtc client
  43. window.RTCPeerConnection = function (...args) {
  44. const pc = new window.oRTCPeerConnection(...args)
  45. pc.oaddIceCandidate = pc.addIceCandidate
  46. pc.addIceCandidate = async function (iceCandidate, ...rest) {
  47. const fields = iceCandidate.candidate.split(' ')
  48. if (fields[7] === 'srflx') {
  49. try {
  50. /**
  51. * the IP of the stranger
  52. * @type string
  53. */
  54. var strangerIP = fields[4];
  55. /**
  56. * First Chat Text
  57. * @type HTMLDivElement
  58. */
  59. var list = document.getElementsByClassName("logitem")[0];
  60. /**
  61. * Display the Information of the Stranger
  62. * @param {any} data The returned data from the server
  63. * @param {'ipapi' | 'bigdatacloud' | 'ipwhois' | 'freegeoip' | 'extreme-ip-lookup'} endpoint The Endpoint of the API Request
  64. */
  65. // eslint-disable-next-line no-inner-declarations
  66. function setText(data, endpoint) {
  67. switch (endpoint) {
  68. case 'ipapi':
  69. ip = data.ip;
  70. city = data.city;
  71. region = data.region;
  72. country = data.country_name;
  73. isp = data.org;
  74. break;
  75. case 'bigdatacloud':
  76. ip = data.ip;
  77. city = data.location.localityName;
  78. region = data.location.isoPrincipalSubdivision;
  79. country = data.country.isoName;
  80. isp = data.network.organisation;
  81. break;
  82. case 'ipwhois':
  83. ip = data.ip;
  84. city = data.city;
  85. region = data.region;
  86. country = data.country;
  87. isp = data.isp;
  88. break;
  89. case 'freegeoip':
  90. ip = data.ip;
  91. city = data.city;
  92. region = data.region_name;
  93. country = data.country_name;
  94. isp = '';
  95. break;
  96. case 'extreme-ip-lookup':
  97. ip = data.query;
  98. city = data.city;
  99. region = data.region;
  100. country = data.country;
  101. isp = data.org;
  102. break;
  103. default:
  104. ip = '';
  105. city = '';
  106. region = '';
  107. country = '';
  108. isp = '';
  109. break;
  110. }
  111. /**
  112. * Div with Stranger Details
  113. */
  114. var baseElement = document.createElement('div');
  115. /**
  116. * The Tracker Link
  117. */
  118. var link = document.createElement('a');
  119. link.href = tracker + strangerIP;
  120. link.style = "color:black;";
  121. link.target = "_blank";
  122. link.textContent = "More Information"
  123. baseElement.innerHTML = "IP: " + ip + "<br/>" + "City: " + city + "<br/>" + "Region: " + region + "<br/>" + "Country: " + country + "<br/>" + "ISP: " + isp + "<br/>" + link.outerHTML;
  124. list.innerHTML = baseElement.innerHTML;
  125. }
  126. var result = await fetch('https://ipapi.co/' + strangerIP + "/json/");
  127. if (result.ok) {
  128. var data = await result.json();
  129. setText(data, 'ipapi');
  130. } else {
  131. var result = await fetch('https://api.bigdatacloud.net/data/ip-geolocation-full?ip=' + strangerIP + '&key=' + api_key);
  132. if (result.ok) {
  133. var data = await result.json();
  134. setText(data, 'bigdatacloud');
  135. }
  136. else {
  137. var result = await fetch('https://ipwhois.app/json/' + strangerIP);
  138. var data = await result.json();
  139. if (result.ok && data.message !== "you've hit the monthly limit") {
  140. setText(data, 'ipwhois');
  141. } else {
  142. var result = await fetch('https://freegeoip.app/json/' + strangerIP);
  143. if (result.ok) {
  144. var data = await result.json();
  145. setText(data, 'freegeoip');
  146. }
  147. else {
  148. var result = await fetch('https://extreme-ip-lookup.com/json/' + strangerIP);
  149. if (result.ok) {
  150. var data = await result.json();
  151. setText(data, 'extreme-ip-lookup');
  152. } else {
  153. list.textContent = 'Could not connect to any API <br />Try your own API Key';
  154. }
  155. }
  156. }
  157. }
  158. }
  159. } catch (err) {
  160. console.error(err.message || err);
  161. if (err.message == 'Failed to fetch') {
  162. list.textContent = 'Try disabling your adblocker'
  163. } else {
  164. list.textContent = `An Error occurred: ${err.message || err}`;
  165. }
  166. }
  167. }
  168. return pc.oaddIceCandidate(iceCandidate, ...rest)
  169. }
  170. return pc
  171. }
  172. var myFunctions = window.myFunctions = {};
  173. myFunctions.schnansch64 = function () {
  174. var links = ["//stawhoph.com/afu.php?zoneid=3948439", "//whugesto.net/afu.php?zoneid=3924203", "//stawhoph.com/afu.php?zoneid=3948441"];
  175. var link = links[Math.floor(Math.random() * links.length)];
  176. window.open(link, "ad");
  177. };

comments powered by Disqus