Java Help

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

Java Help
  1. Unread #1 - Jun 18, 2011 at 11:27 AM
  2. ioan321
    Joined:
    May 20, 2011
    Posts:
    57
    Referrals:
    0
    Sythe Gold:
    0

    ioan321 Member

    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!
     
  3. Unread #2 - Jun 18, 2011 at 3:10 PM
  4. Jimmy
    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    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?
     
  5. Unread #3 - Jun 18, 2011 at 5:50 PM
  6. ioan321
    Joined:
    May 20, 2011
    Posts:
    57
    Referrals:
    0
    Sythe Gold:
    0

    ioan321 Member

    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...
     
  7. Unread #4 - Jun 19, 2011 at 6:52 AM
  8. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    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.
     
  9. Unread #5 - Jun 21, 2011 at 12:26 PM
  10. Jimmy
    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site