Results 1 to 3 of 3
Thread: How to inject to PHP file
Hybrid View
-
02-07-2011, 06:45 AM #1Newbie
- Join Date
- Jan 2011
- Posts
- 21
How to inject to PHP file
My wordpress index.php has just been compromised. There was this iframe code. Can someone show me how this could happen? How do people do Cross-site scripting (XSS)? If I know how the attacker do, I should be able to prevent it, right?
-
02-07-2011, 07:32 AM #2Junior Guru
- Join Date
- Oct 2008
- Location
- Chicago, IL
- Posts
- 222
Your best bet is to monitor your access logs. You'll see the requests being sent to your site. Has your WordPress been kept up to date? If not, that might be how your site was hacked.
Also, be certain that all of your plugins, etc. are kept up to date as well.
Are you using phpmyadmin? You guessed it! Update that too.Thomas J. Raef
WeWatchYourWebsite - so you don't have to!
-
02-07-2011, 10:09 AM #3Web Hosting Guru
- Join Date
- Apr 2009
- Posts
- 254
Additionally, check your ftp-logs because it is possible that your FTP account might have been compromised and was able to upload the malware/trojan content in the web space.
Modify your FTP Passwords.
Check your desktop computer with some antivirus software for malware/trojan's
Update your desktop OS and browser if needed.█▌KVM-based SSD VPS
█▌Unmetered Dedicated Servers
█▌Colocation at 100 Delawanna Ave, Clifton, NJ
Similar Threads
-
Anybody know how to block this specific PHP Inject attack using Mod_Security ?
By smksa in forum Hosting Security and TechnologyReplies: 1Last Post: 06-18-2008, 08:17 AM -
1.com/file.php, 2.com/file.php where file.php is hosted on main.com/file.php?
By zymic in forum Hosting Security and TechnologyReplies: 2Last Post: 05-26-2008, 11:41 AM -
PHP Inject? Help!
By CleberDantas in forum Hosting Security and TechnologyReplies: 8Last Post: 02-02-2008, 10:29 PM -
Prevent SQL Inject
By latheesan in forum Programming DiscussionReplies: 4Last Post: 02-13-2006, 04:16 PM -
qmail-inject with exim
By residenta in forum Hosting Security and TechnologyReplies: 3Last Post: 08-07-2004, 10:24 PM