Title: FTP hacked
Last modified: August 20, 2016

---

# FTP hacked

 *  [impy101](https://wordpress.org/support/users/impy101/)
 * (@impy101)
 * [15 years ago](https://wordpress.org/support/topic/ftp-hacked/)
 * Our FTP was hacked moments ago, and now we want to restore it. But we forgot 
   to make a backup, as the site has only been running for a few hours.
 * Luckily, the only files that were deleted were the .php files in the public_html
   folder, all the maps and contents seem to be safe. This includes the database.
 * Now I want to restore the website using the standard wordpress site files (index.
   php etc..) but I no longer have the config files, how do I fix htis?

Viewing 1 replies (of 1 total)

 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [15 years ago](https://wordpress.org/support/topic/ftp-hacked/#post-2242148)
 * If you have access to your web site via cPanel or something like that, you should
   be able to get the username/password for your database. If you didn’t have many
   unique stuff in wp-config.php, you can just download WordPress and reinstall.

Viewing 1 replies (of 1 total)

The topic ‘FTP hacked’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/ftp-hacked/#post-2242148)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
