Was wondering if someone could help point me to the solution to adding
$ip = $_SERVER[‘REMOTE_ADDR’];
to the new registration email so I can see where the bots are trying to register from that are constantly bypassing every plugin I can find available that is supposed to stop them.
Based on your previous posts, i believe it is safe to note that you have been hacked and continue to be hacked as you have not cleaned up the site and closed any back doors:
These topics need to be addressed in full:
You need to start working your way through these resources:
Anything less will probably result in the hacker walking straight back into your site again.
No I haven’t been hacked and I have worked my way through those posts. All I asked was how to ad the ip address to the new registration email?
Doing so will just be an exercise in futility as spam bots use randomly generated (spoofed) IP addresses, email addresses, etc.
The correct way is to moderate user registration.
If that system is not working, then your site is still compromised.
I paid to have a script that adds the IP to the reg. email I get. I don’t ban the bots. I approve but their status is spectator only so they can’t post. Some I delete. On another site I added Stop Spammer Registration plugin and went from 25-50 regs a day to 1-3 a week.
If they get by the plugin then you need to clean your site as recommended above
I paid to have a script that adds the IP to the reg. email I get
That, well, may have been the final step in allowing access via a compromising script to your site.
Without explicit details of that script, it is surely conjecture, but fits the bill of a host being taken advantage of, as WP can perform the same. I would review all above with a different and well trusted source.
I am only getting two registrations every day or so but that is unacceptable to me as I have other things to do with my time. I see I have the ip address listed in the users area so I’ll take it from there. I only allow two countries access to my server so I am just trying to see what country the ip’s are being spoofed from.
For the record, I paid an IT guy $500 to go over my sites and server with a fine tooth comb and he tells me he guarantees that my sites and server aren’t comprimized. He also checks regularily for me when I see logs that I am not sure about so I feel comfortable in saying my sites are fine.
Thanks for the replies.
So adding the line above is making all my sites more susceptible to a compromise? Can you explain how, please? It’s just a line or two of similar coding so the email sent me the admin (me) has the IP in case I want to ban. Simple script, chmod protected, no backdoors.
I try not to ban each IP as it fills .htaccess and puts a load on the server. I just watch the log for a few days. If I see that IP repeatedly trying to login on one name, I approve as Spectator. They can visit but not post. Sometimes I ban the IP if they registered multiple nicks.
Get the plugin I suggested. Also, I, too, don’t have time to deal with this as I’m online two hours per day. Weekly I check registrations. I have to manually approve each person so signing up doesn’t give access — I do. I modified the signup email saying it takes up to seven days for approval. I keep that on my side and FTP it to each new site.
Lastly, I lost memory but I used to go into a DOS window, type the IP with something and the port, to see if it is open. If so I used to ban on my own server. You may want to do that to an IP and if not open, don’t worry about a ban.
- The topic ‘Adding ip address to new registration email’ is closed to new replies.