Jump to content
UBot Underground

[FREE] Lockdown software to wordpress login


Recommended Posts

Someone else needed an example so I figured i would release this as Freeware

 

If you would like the script and its useful subscribe to my youtube channel here

 

 

commented code to show what areas are what in the code

 

NOTE: this does not stop someone from sharing there account details, so you should use a wordpress plugin to limit the number of ip's allowed to login from to an account on a daily basis, or also log the ip address of sorts.  this is a very basic way to lock down the software, and is by no means an anti theft measure as its easily able to be bypassed. 

comment("License will only validate 1 time per session

License details will store to a license.txt file 

in same location as your bot .exe

and preload it from that location if it already exists

or save upon entering the correct license details

this DOES NOT monitor multiple IPs or PC use.

It only locks the bot to the login system.")

ui window("Software License Info") {

    ui text box("License Username", #license username)

    ui text box("License Password", #license password)

}

comment("place in the url to your wordpress login page below

This is the page with the username and password 

input area as default from wordpress")

Validate Login("http://yoursite.com/wp-login-url")

define Validate Login(#wordpress login url) {

    clear list(%license login)

    if($comparison(#license username, "=", "")) {

        then {

            add list to list(%license login, $list from file("{$special folder("Application")}\\license.txt"), "Delete", "Global")

            set(#license user, $list item(%license login, 0), "Global")

            set(#license pass, $list item(%license login, 1), "Global")

        }

        else {

            add item to list(%license login, #license username, "Delete", "Global")

            add item to list(%license login, #license password, "Delete", "Global")

            save to file("{$special folder("Application")}\\license.txt", %license login)

            set(#license user, #license username, "Global")

            set(#license pass, #license password, "Global")

        }

    }

    if($comparison(#license validated, "!=", 1)) {

        then {

            load html("<h1><font color=green><center><b><BR><BR>Validating License..</b></center></font></h1>")

            wait(3)

            in new browser {

                comment("you may if you ahve Dev version Ubot add a invisible

node here to hide this browser from showing what its doing")

                clear cookies

                navigate(#wordpress login url, "Wait")

                wait for element(<name="wp-submit">, "", "Appear")

                type text(<username field>, #license user, "Standard")

                type text(<password field>, #license pass, "Standard")

                change checkbox(<name="rememberme">, "Checked")

                click(<name="wp-submit">, "Left Click", "No")

                wait for browser event("Everything Loaded", "")

                wait(5)

                if($exists(<id="login_error">)) {

                    then {

                        alert("License Details Incorrect..")

                        stop script

                    }

                    else if($exists(<innertext="Dashboard">)) {

                        set(#license validated, 1, "Global")

                    }

                    else {

                        alert("License Details Incorrect..")

                        stop script

                    }

                }

            }

        }

        else {

        }

    }

}


 

} 
  • Like 3
Link to post
Share on other sites

Great work bud!

 

Howabout locking it down to facebook acc, linkedin acc a webhost acc (like hostgator) or better paypal acc ?

 

Its a free script to help.

Want to lock down to other services or discuss it I can definitely quote it for you.  Feel free to send me an email: admin@botguru.net or skype: emw-dgn

Link to post
Share on other sites

Hello sorry i as the user works has to be registered in the blog and the txt file is generated by the bot

 

yes locks down to yoru user system.  want to block them change there email and password to block the account.

  • Like 1
Link to post
Share on other sites
  • 1 month later...

This is a best licensing option for us little fishes that still are not making big bux with ubot. BUT in v5.5 it is not working. I dont know what is wrong, but why it is not working? Can you test it and probably find solution, thanks.

 

P.S. i m reading 5.5 is so good, so i want to code there.

Link to post
Share on other sites
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...