WordPress.org

Ready to get started?Download WordPress

Forums

Adding ip address to new registration email (8 posts)

  1. nootkan
    Member
    Posted 8 months ago #

    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.

  2. Pioneer Valley Web Design
    Member
    Posted 8 months ago #

    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:

    http://codex.wordpress.org/FAQ_My_site_was_hacked
    http://wordpress.org/support/topic/268083#post-1065779
    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
    http://ottopress.com/2009/hacked-wordpress-backdoors/

    Anything less will probably result in the hacker walking straight back into your site again.

    Additional Resources:
    Hardening WordPress
    http://sitecheck.sucuri.net/scanner/
    http://www.unmaskparasites.com/
    http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html

  3. nootkan
    Member
    Posted 8 months ago #

    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?

  4. Pioneer Valley Web Design
    Member
    Posted 8 months ago #

    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.

  5. SickSquirrel
    Member
    Posted 8 months ago #

    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

  6. Pioneer Valley Web Design
    Member
    Posted 8 months ago #

    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.

  7. nootkan
    Member
    Posted 8 months ago #

    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.

  8. SickSquirrel
    Member
    Posted 7 months ago #

    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.

Reply

You must log in to post.

About this Topic