Last active
June 25, 2016 16:35
-
-
Save Committing/53e97424cd71f0bec929 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//https://steamtimeidler.com/tinderusernamechecker.php/tinderusernamechecker.php?usernames=test,life,thanks,fantast,helo,pro,wow,earth,eyybbwudup,hacker | |
$usernames = array(); | |
if (isset($_GET['usernames']) && !empty($_GET['usernames'])) { | |
$usernames = explode(',', $_GET['usernames']); | |
} | |
echo '<h2>Is that Tinder username available?</h2>'; | |
if (!empty($usernames)) { | |
foreach ($usernames as $username) { | |
$contents = file_get_contents('https://www.gotinder.com/@' . urlencode($username)); | |
if ($contents !== false) { | |
if (strpos($contents, 'Looking for Someone?') !== false && $username !== 'a') { | |
echo $username . ' = AVAILABLE<br />'; | |
$myfile = file_put_contents('username_log.txt', $_SERVER['REMOTE_ADDR'] . ' | ' . $username . ' = YES' . PHP_EOL , FILE_APPEND); | |
} else { | |
echo $username . ' = not available<br />'; | |
$myfile = file_put_contents('username_log.txt', $_SERVER['REMOTE_ADDR'] . ' | ' . $username . ' = NO' . PHP_EOL , FILE_APPEND); | |
} | |
} else { | |
echo 'What sort of a username is that? Try again.<br />'; | |
} | |
} | |
} else { | |
$myfile = file_put_contents('username_log.txt', $_SERVER['REMOTE_ADDR'] . ' | Someone entered...' . PHP_EOL , FILE_APPEND); | |
echo '<h4>Enter usernames in the URL using the usernames get parameter.</h4><Br />' | |
. 'e.g. https://steamtimeidler.com/tinderusernamechecker.php?usernames=test,yumtum,life,thanks,fantastic,hello,pro,wow,earth,steamtimeidler'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment