Results 1 to 2 of 2
  1. #1
    sparshs's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    55
    My Mood
    Confused

    How to detect successful login?

    I am making a automation script on python to read a dump of accounts from a .txt file and trying each of them onto the application. The script works so far but after a log in is successful the program keeps running. How could I detect if the login is successful. The application is the Minecraft Launcher if anyone finds it helpful.

  2. #2
    Vox's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    USA
    Posts
    60
    Reputation
    10
    Thanks
    52
    My Mood
    Innocent
    If you use the Minecraft website to log in, what you could do is use beautiful soup and selenium together. Selenium is a really useful tool that allows you to run a browser in headless mode; essentially this gives you unlimited automation access to a browser of your choice. You can use selenium to enter the details into the login input fields by gathering tags for the input fields, then you can execute the function that is assigned to the submit button. After this, you can use beautiful soup to search for an HTML element that ONLY appears on successful logins. FOr instance, when you log in successfully here on MPGH it shows you a message that says "You have successfully logged in", if you searched for that element but it returned None, then you didn't log in, however more often then not, you would find that element if it was a successful login.

Similar Threads

  1. How to - Detect Fake Steam Logins
    By GodlyHaX in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 17
    Last Post: 05-05-2010, 07:49 AM
  2. *Tut* how to make a login system
    By u1111u in forum Programming Tutorials
    Replies: 13
    Last Post: 12-04-2009, 12:20 AM
  3. How to detect scams,lies,fake scans, etc.
    By Barack Obama in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 08-28-2009, 07:07 PM
  4. How to detect scams, lies, fake scans, etc
    By Mouzie in forum Combat Arms Hacks & Cheats
    Replies: 67
    Last Post: 08-25-2009, 10:02 PM
  5. How Hacksheild Detects your Speed Hacks.
    By User1 in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-19-2009, 08:18 PM