Skip to content

Instantly share code, notes, and snippets.

@Committing
Last active June 25, 2016 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Committing/53e97424cd71f0bec929 to your computer and use it in GitHub Desktop.
Save Committing/53e97424cd71f0bec929 to your computer and use it in GitHub Desktop.
<?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