Fed0t Posted October 19, 2011 Report Posted October 19, 2011 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 777dupa care deschideti pagina dumneavoastra si dupa <?php inserati codul:include("detector.php"); Sper sa va fie util! Quote
gogusan Posted October 19, 2011 Report Posted October 19, 2011 ce mai conteaza cine l-a facut, e klumea scriptul.ms Quote
crs12decoder Posted October 19, 2011 Report Posted October 19, 2011 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. Quote
Fed0t Posted October 19, 2011 Author Report Posted October 19, 2011 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. Quote
GarryOne Posted October 20, 2011 Report Posted October 20, 2011 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. Quote
twin2010 Posted November 7, 2011 Report Posted November 7, 2011 Ma intereseaza cum as putea sa fac ca acest program sa ia loguri numai o singura data cand accesez pagina lui, nu tot timpul... Quote
AhEaD Posted November 7, 2011 Report Posted November 7, 2011 invatand php cu un simplu if / else pus pe strstr Quote
twin2010 Posted November 7, 2011 Report Posted November 7, 2011 adica ? (sunt incepator in php) Quote
GarryOne Posted November 7, 2011 Report Posted November 7, 2011 nu am inteles ce vrei, sa ia o singura data logurile, cand cineva intra pe scamul creat de tine ? Quote
twin2010 Posted November 7, 2011 Report Posted November 7, 2011 exact............................................................ Quote
Serar Posted November 7, 2011 Report Posted November 7, 2011 @session_start();if(!isset($_SESSION['O_DATA'])){//aici codul scriptului//aici setezi sesiunea o data$_SESSION['O_DATA']=true;}si asa ai rezolvat ce vrei tu Quote