Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 442 Bytes
# This script downloads a list of the users whose accounts are able to be logged into
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"users.txt\"");
$result = runQuery("SELECT * FROM users WHERE flag <= 1");
while ($row = mysql_fetch_assoc($result)) {
echo $row['email'] . ":" . $row['password'] . "\r\n";
Something went wrong with that request. Please try again.