Adblock breaks this site

Java Help

Discussion in 'Programming General' started by ioan321, Jun 18, 2011.

  1. ioan321

    ioan321 Member

    Joined:
    May 20, 2011
    Posts:
    57
    Referrals:
    0
    Sythe Gold:
    0
    Java Help

    I'm going to try to make a nice little password checker, just for fun. I need to know how to make java actually interact with websites, or pop ups, such as steam login , so it could match up the password/usernames i give it and return either it works or it doesnt.

    Can anyone give me some example code of how i can get java, or anyother program to do this? THNX!
     
  2. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    Java Help

    So, you want to be able to input a steam username/password combination and check if it works? Sounds a bit like you're making a cracker/program to check phished logins. What, exactly, are you going to be using this for?
     
  3. ioan321

    ioan321 Member

    Joined:
    May 20, 2011
    Posts:
    57
    Referrals:
    0
    Sythe Gold:
    0
    Java Help

    I've been taking java classes and im just curious on how java interacts with other programs, the types of data it sends ,to use a boolean and see if a login works or not.

    This is more of an educational thing...
     
  4. wackywamba

    wackywamba Guru

    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1
    Java Help

    lol.

    There are very many ways to doing this. If you're just asking ways to use java in a web browser, well the easiest is an applet. There is also javaFX if you're looking for a graphical interface, however the syntax is quite different to that of java. If you're looking for simple validation on your own website on the client side you would use javascript.

    However, I suspect what you're trying to do can't be done in java unless you code your own client, as it's too low level and there are going to be security and focus issues. To counter this you could use JNI, however I highly, HIGHLY doubt you'd be able to do it without a lot of experience.

    Overall, it sounds pretty malicious, but fortunately you won't be able to program it for the meanwhile.
     
  5. Jimmy

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25
    Java Help

    Riiight. Well, you would presumably POST the data to the login URL, so you should probably look at the getInputStream() method of the HttpURLConnection class if memory serves.
     
< thinkin bout making a bot... | Scripting bots; need help >


 
 
Adblock breaks this site