Backend Development

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

Submitted by brayancamaroes, , Thread ID: 103309

Thread Closed
11-10-2018, 03:18 PM
#1
Hello bro,I've spend 10 minutes to create this login checker for League of Legends andI've nothing to do with this APIyet, somake good use. <3

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:

Content locked
This content has been locked. Please login or register in order to unlock it.

Do not forget replace http://example.com/ on line 6 to API URL!

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

#2
thx for leak thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak
thx for leak

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

#3
your method it is very original to share things thank you very much

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

#4
Look's very nice, will I look at site without registration?

Users browsing this thread: 1 Guest(s)