How to prevent backdoored files 06-14-2013, 03:50 PM
#1
Introduction
In this guide I will show you how to prevent backdoored files so that you don't end up having your site fucked over and/or defaced. All website owners need to scan EVERY file they upload to the site before uploading because 1 file can ruin the site completely.
Backdoors in PHP files
The most common backdoor in php files is the
If you see that in your code with a GET or POST then you need to get rid of that file, because it is backdoored for sure.
system() is for executing a system command and immediately displaying the output - presumably text
You may also want to look for exec() and passthru()
Also, make sure to ALWAYS test your plugins before actually putting it on your real site. to do this just create a site on 000webhost and test everything on there.
In this guide I will show you how to prevent backdoored files so that you don't end up having your site fucked over and/or defaced. All website owners need to scan EVERY file they upload to the site before uploading because 1 file can ruin the site completely.
Backdoors in PHP files
The most common backdoor in php files is the
Code:
systemsystem() is for executing a system command and immediately displaying the output - presumably text
You may also want to look for exec() and passthru()
Also, make sure to ALWAYS test your plugins before actually putting it on your real site. to do this just create a site on 000webhost and test everything on there.

![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)



