Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How can I read passwords and usernames?

Featured Replies

Hey guys, I'm totally noob! I have myphpadmin etc.. I just wanted to know how can I read pass and usernames, so I can add it to my loader :) tyvm

well i dont think they'd allow this for obvious reasons..

 

  • Author

Nooooooooooooo it's for my project lol, nothing to do with osbot :p

what are you trying to do, wouldn't defining them as variables work? or something else?

Use php to echo from a table, then use java to read lines from that echoed php page.

 

If you want to read both a username and password, you can echo it something like:

 

username,password

 

Then parse the comma as a separator.

 

 

You'll have to explain more thoroughly what you're trying to do, "get username/passwords for my loader" doesn't make too much sense (to me at least).

  • Author

Use php to echo from a table, then use java to read lines from that echoed php page.

 

If you want to read both a username and password, you can echo it something like:

 

username,password

 

Then parse the comma as a separator.

Ok, I am in my phpMyAdmin, I dont see this.. all I see is username and then a password HASH, not the password :s

  • Author

Yeah it's for my own forum

@Zeus - you are in way over your head, I thought you were writing to the database yourself and just had problems reading from it. Unless you're a cryptologist (which I doubt you are) or programming savvy, I'm just going to say that getting a plain-text password from an MD5 or SHA encryption (I believe that's what most forums use) is beyond your grasp. 

I am not sure if I understand your problem, however I'll try to answer you though.

 

To get the password hash, you need to know what type of encryption is used(For exampe SHA256). As second you need to hash the plain password.

 

To check if the username and password are right you need to create a SELECT query in MySQL. You would get something like this:

<?php
$username = 'Username';
$password = 'yourpassword';
$password = hash('sha256', $password);
$query = mysql_query("SELECT * FROM users WHERE username = $username AND password = $password");
$count = mysql_num_row($query);
if($count == 1)
    echo "Username and password matches.";
else
    echo "Invalid username or password.";
?>

Note: The mysql_* function is deprecated as of php 5.5.0, but I used it to make the example clear and simple. And you probably are not using a newer version.

Edited by Hendrikos

@Hendrikos

 

That's not actually converting that into plain text though, that's taking the hashed password which is already stored from the line above the query. Try re-writing that where the password isn't already defined in the memory like that..

I don't think SHA will spit out the same hash for the same password. Correct me if im wrong of course.

 

Edit: If the same hash spits out the same password, wouldn't people just be able to brute force already hashed passwords?

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.