Banned IP addresses have admin locked out too... need assistance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • etbliss
    New Member
    • Dec 2003
    • 17
    • 3.0.1

    [Forum] Banned IP addresses have admin locked out too... need assistance

    Somehow the admin's IP has been blocked & locked out of the admin control panel.

    We would like to clean out the banned IP addresses, but cannot get in to accomplish that task.

    Any assistance on how to get into CP would be greatly appreciated.


    EtBliss
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    ***TAKE A BACKUP OF YOUR DATABASE BEFORE RUNNING ANY QUERY AGAINST IT***

    Run this in phpMyAdmin:

    UPDATE PREFIX_setting SET value = "" WHERE varname = "banip";

    If your tables use a prefix, change PREFIX_ to that prefix, if not, remove that from the query. This will clear all banned IP addresses from the database and let you log in again - be VERY careful about what you're entering when you restore IP addresses to that field in AdminCP
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • etbliss
      New Member
      • Dec 2003
      • 17
      • 3.0.1

      #3
      Thank you. Your response was very fast! Impressive.

      Comment

      • etbliss
        New Member
        • Dec 2003
        • 17
        • 3.0.1

        #4
        Originally posted by Trevor Hannant
        ***TAKE A BACKUP OF YOUR DATABASE BEFORE RUNNING ANY QUERY AGAINST IT***

        Run this in phpMyAdmin:

        UPDATE PREFIX_setting SET value = "" WHERE varname = "banip";

        If your tables use a prefix, change PREFIX_ to that prefix, if not, remove that from the query. This will clear all banned IP addresses from the database and let you log in again - be VERY careful about what you're entering when you restore IP addresses to that field in AdminCP
        Our web person ran the query and we are still locked out. Is there a plan "B"

        Thank you

        Comment

        • LockedOnLaw
          Senior Member
          • Apr 2010
          • 2311
          • 6.X

          #5
          What is the contents of your htaccess file?

          Comment

          • etbliss
            New Member
            • Dec 2003
            • 17
            • 3.0.1

            #6
            I just looked in the directory and the only file I found was in a backup folder and this was the only data in the file.

            AuthType Basic
            AuthName "User Backups"
            AuthUserFile /home/content/23/6745723/html/stats/.statspwd
            require valid-user
            Options +Indexes

            Comment

            • beishe8
              Senior Member
              • Oct 2005
              • 6782
              • 4.2.X

              #7
              Originally posted by etbliss
              Our web person ran the query and we are still locked out. Is there a plan "B"

              Thank you
              You can try a proxy such as http://anonymouse.org
              Go to the ACP with it , delete the banned IPs, change the admin's password.


              vB5 is unequivocally the best forum software, but not yet...

              Comment

              • etbliss
                New Member
                • Dec 2003
                • 17
                • 3.0.1

                #8
                Originally posted by beishe8
                You can try a proxy such as http://anonymouse.org
                Go to the ACP with it , delete the banned IPs, change the admin's password.
                I had tried that, and attempted again just now, and still locked out. Awfully frustrating. Anything else I can try?

                Thank you...

                Tom

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24288
                  • 6.0.X

                  #9
                  What is the actual error message the admin gets when he tries to log in?
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  • LockedOnLaw
                    Senior Member
                    • Apr 2010
                    • 2311
                    • 6.X

                    #10
                    You can use tools.php from the "Do Not Upload" folder to create a new admin account and unban any IP addresses banned from the AdminCP. You may have to use this tool via proxy in order to use an IP address which is not banned.

                    Comment

                    • etbliss
                      New Member
                      • Dec 2003
                      • 17
                      • 3.0.1

                      #11
                      Originally posted by Mark.B
                      What is the actual error message the admin gets when he tries to log in?
                      "Sorry. The administrator has banned your IP address. To contact the administrator click here"

                      Click image for larger version

Name:	Screen Shot 2012-12-18 at 11.15.46 PM.png
Views:	1
Size:	28.3 KB
ID:	3690911

                      This website is for sale! architecturalphotographers.org is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, architecturalphotographers.org has it all. We hope you find what you are searching for!

                      Comment

                      • Mark.B
                        vBulletin Support
                        • Feb 2004
                        • 24288
                        • 6.0.X

                        #12
                        I am getting that error too. This is not the login strikes system causing this...the site is behaving as if all IPs are banned.

                        Could be a number of causes. Please drop me a PM regarding this.
                        MARK.B
                        vBulletin Support
                        ------------
                        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                        Comment

                        • Mark.B
                          vBulletin Support
                          • Feb 2004
                          • 24288
                          • 6.0.X

                          #13
                          For the record, this is now fixed with some magic from tools.php.
                          MARK.B
                          vBulletin Support
                          ------------
                          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                          Comment

                          • Loco.M
                            Senior Member
                            • Mar 2005
                            • 4319
                            • 3.5.x

                            #14
                            Originally posted by ProSportsForums
                            You can use tools.php from the "Do Not Upload" folder to create a new admin account and unban any IP addresses banned from the AdminCP. You may have to use this tool via proxy in order to use an IP address which is not banned.
                            This is the best answer ^^

                            *edit* I see it worked too
                            -- Web Developer for hire
                            ---Online Marketing Tools and Articles

                            Comment

                            • Mark.B
                              vBulletin Support
                              • Feb 2004
                              • 24288
                              • 6.0.X

                              #15
                              Originally posted by Loco.M
                              This is the best answer ^^

                              *edit* I see it worked too
                              It did, but not quite the way described.

                              Creating a new admin account would have simply run into the same problem...the issue was that NOBODY could access the site, as all sessions were getting an IP banned message.
                              MARK.B
                              vBulletin Support
                              ------------
                              My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                              My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...