Jump to content
Fed0t

Php Detector

Recommended Posts

Posted

Postez un script mic...care extrage cam toate datele despre vizitatorul scamului , cookie-stealerului sau orice site doriti voi!

detector.php

<html>
</body>
<title></title>
<head></head>
<script language="javascript">
if (window.location.search == "") {
window.location.href = window.location + "?width=" + screen.width + "&height=" + screen.height;
}
</script>
<noscript>
<input name="js_enabled" type="hidden" value="1">
</noscript>
</body>
</html>
<?php
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
$timestamp = time();
$time=date('Y-m-d H:i:s', $timestamp);
$fisier = "./loguri/$time.txt";
$fh = fopen($fisier, 'w') or die("Nu pot deschide");
fwrite($fh, "==========================================Detalii $time ================================================\n");
$ip= "IP: ".$_SERVER['REMOTE_ADDR']."\r\n";
fwrite($fh, $ip);
$accept = $_SERVER["HTTP_ACCEPT"];
fwrite($fh, "Browser Accept: $accept\n");
$accept_charset = $_SERVER["HTTP_ACCEPT_CHARSET"];
fwrite($fh, "CharSet: $accept_charset\n");
$accept_language = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
fwrite($fh, "Language: $accept_language\n");
$x_wap_profile = $_SERVER["HTTP_X_WAP_PROFILE"];
fwrite($fh, "Http X Wap Profile: $x_wap_profile\n");
$profile = $_SERVER["HTTP_PROFILE"];
fwrite($fh, "Http Profile: $profile\n");
$agent = $_SERVER['HTTP_USER_AGENT'];
// Get the user Browser now -----------------------------------------------------
// Create the Associative Array for the browsers we want to sniff out
$browserArray = array(
'Windows Mobile' => 'IEMobile',
'Android Mobile' => 'Android',
'iPhone Mobile' => 'iPhone',
'Firefox' => 'Firefox',
'Google Chrome' => 'Chrome',
'Internet Explorer' => 'MSIE',
'Opera' => 'Opera',
'Safari' => 'Safari'
);
foreach ($browserArray as $k => $v) {

if (preg_match("/$v/", $agent)) {
break;
} else {
$k = "Browser Unknown\n";
}
}
$browser = $k;
// -----------------------------------------------------------------------------------------
// Get the user OS now ------------------------------------------------------------
// Create the Associative Array for the Operating Systems to sniff out
$osArray = array(
'Windows 98' => '(Win98)|(Windows 98)',
'Windows 2000' => 'Windows 2000',
'Windows 2000 NT 5.0' => 'Windows NT 5.0',
'Windows ME' => 'Windows ME',
'Windows XP' => 'Windows XP',
'Windows XP NT 5.1' => 'Windows NT 5.1',
'Windows Vista' => 'Windows NT 6.0',
'Windows 7 6.1' => 'Windows NT 6.1',
'Windows 7 7.0' => 'Windows NT 7.0',
'Windows NT 4.0' => '(WinNT)|(Windows NT 4.0)|(WinNT4.0)|(Windows NT)',
'Linux' => '(X11)|(Linux)',
'Mac OS' => '(Mac_PowerPC)|(Macintosh)|(Mac OS)'
);
foreach ($osArray as $k => $v) {

if (preg_match("/$v/", $agent)) {
break;
} else {
$k = "Unknown OS";
}
}
$os = $k;
fwrite($fh, "Browser: $browser\n");
fwrite($fh, "Detalii Browser: $agent\n");
fwrite($fh, "Sistem Operare: $os\n");

$width = $_GET['width'];$height = $_GET['height'];
fwrite($fh, "Screen resolution: $width x $height\n");
// is_cookie_enable (?)
session_start();
$_SESSION['cas'] = time();
$prem = SID;
if ( !empty($prem) ){
fwrite($fh, "Cookies: enabled\n");} else{
fwrite($fh, "Cookies: disabled\n");}

$browser_check = 0;
if(isset($_POST['js_enabled']))
$browser_check = $_POST['js_enabled'];

if ($browser_check == 1) {
fwrite($fh, "Javascript: disabled\n");
} else {fwrite($fh, "Javascript: enabled\n");}
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$totaltime = ($endtime - $starttime);
fwrite($fh, "=================================Timp de executie ".$totaltime." seconds=========================================\n");




fclose($fh);
?>

Instructiuni

--------------------

Creati un folder cu numele "loguri" si datii chmod 777

dupa care deschideti pagina dumneavoastra si dupa <?php inserati codul:

include("detector.php"); 

Sper sa va fie util!

Posted
Si google adsense cu bannerele lui.. nu stiu daca a stat cineva sa analizeze ce face. Am stat eu. Mai are putin si vrea sa afle si ce culoare te-ai cacat aseara.

eu am reinstalat windows-ul si dupa am dat un search pe google,si primu link mi-a aparut in culoare mov :) a tinut minte pe ce am dat eu click cu doua luni in urma dupa ip.

Posted
eu am reinstalat windows-ul si dupa am dat un search pe google,si primu link mi-a aparut in culoare mov :) a tinut minte pe ce am dat eu click cu doua luni in urma dupa ip.

nu cred, chiar daca reinstalezi browseru, sau e de ajuns daca stergi cache sau cookie si deja nu-ti mai apar mov.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...