Well it looks like I got hit by that nasty wordpress exploit. My webhost has suspended my site until I can get things cleaned up.
They suggested I run a file called wordpress-fix.php. I looked up the info for that, and it looks like I can do it one of two ways: 1) Run the php file from a browser at the root of my site (which I can’t do, because the site is suspended) or 2) use SSH to run that was described as the following:
$ find ./ -name "*.php" -type f | \ xargs sed -i 's###g' 2>&1$ find ./ -name "*.php" -type f | \ xargs sed -i '/./,$!d' 2>&1
I know pretty much nothing about SSH, but grabbed a free client and tried entering that line. All I get is -bash warnings about “command not found”. Can anyone out there tell me what’s wrong with that line?
- The topic ‘How to use wordpress-fix.php from SSH?’ is closed to new replies.