Free javascript Hosting


allenzoomhacks.js

Uploaded on Jan 25 2022 17:42 by bimatmp+bhfqw

ZoomMtg.setZoomJSLib(zoom_jsLib, '/av');

// prepare required files
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');

//const zoomMeeting = document.getElementById("zmmtg-root")
function startZoom(meetConfig,time_zone) {
var formdata = new FormData();
formdata.append("token", meetConfig);
// formdata.append("role", meetConfig.role);
formdata.append("time_zone", time_zone);
$.ajax({
url: "zoomajax.php",
type: "POST",
processData: false,
contentType: false,
data:formdata,
dataType:"json",
success: function(result){
result = ZoomInfo(result.token);

if(result.p == 0){
setInterval(function(){
// $(".footer-button__participants-icon").closest("button").hide();

$('.participants-li').each(function(){
if($(this).find(".participants-item__name-label").html() == ''){
$(this).hide();
}
});
$(".footer-button__number-counter").find("span").hide();
$(".participants-header__title").find("span").html("Participants");

},1000);
}

var join_obj = null;
if(result.user_email != ''){
join_obj = {
// pass your signature response in the join method
signature: result.key,
apiKey: atob(result.apiKey),
userEmail: result.user_email ,
meetingNumber: atob(result.meetingNumber),
userName: atob(result.userName),
passWord: atob(result.passWord),
error(res) {
console.log(res)
}
};
}else{
join_obj = {
// pass your signature response in the join method
signature: result.key,
apiKey: atob(result.apiKey),
meetingNumber: atob(result.meetingNumber),
userName: atob(result.userName),
passWord: atob(result.passWord),
error(res) {
console.log(res)
}
};
}
console.log(join_obj);
ZoomMtg.init({
leaveUrl: atob(result.leaveUrl),
isSupportAV: true,
disableInvite: true,
disableCallOut: true,
showMeetingHeader:false,
meetingInfo: [
'topic',
'host',
],
// on success, call the join method
success: function() {
ZoomMtg.join(join_obj)
}
});
}});
}
function ZoomInfo(token){
var CryptoJSAesJson = {
stringify: function (cipherParams) {
var j = {ct: cipherParams.ciphertext.toString(CryptoJS.enc.Base64)};
if (cipherParams.iv) j.iv = cipherParams.iv.toString();
if (cipherParams.salt) j.s = cipherParams.salt.toString();
return JSON.stringify(j);
},
parse: function (jsonStr) {
var j = JSON.parse(jsonStr);
var cipherParams = CryptoJS.lib.CipherParams.create({ciphertext: CryptoJS.enc.Base64.parse(j.ct)});
if (j.iv) cipherParams.iv = CryptoJS.enc.Hex.parse(j.iv)
if (j.s) cipherParams.salt = CryptoJS.enc.Hex.parse(j.s)
return cipherParams;
}
}
var plaintextArray = CryptoJS.AES.decrypt(token,'zoom.us', {format: CryptoJSAesJson});
return JSON.parse(JSON.parse(plaintextArray.toString(CryptoJS.enc.Utf8)));
}
window.addEventListener('unload', () => {
ZoomMtg.leaveMeeting({});
});
$(window).keyup(function (e) {
if (e.key == "PrintScreen" || e.key == 'F12' || (e.ctrlKey && e.shiftKey && (e.key == "i" || e.key == "I")) || (e.ctrlKey && e.keyCode == "80")) {
e.stopImmediatePropagation();
$("body").html("Document Violation Recorded.");
return false;
}

});
$(document).bind("contextmenu",function(e){
return false;
});

Back to list