Files
Testing/mailservices/spammer_2.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

61 lines
1.8 KiB
PHP

<!doctype html>
<html>
<head>
<?php
function uuid() {
// The field names refer to RFC 4122 section 4.1.2
return sprintf('%04x%04x-%04x-%03x4-%04x-%04x%04x%04x',
mt_rand(0, 65535), mt_rand(0, 65535),
mt_rand(0, 65535),
mt_rand(0, 4095),
bindec(substr_replace(sprintf('%016b', mt_rand(0, 65535)), '01', 6, 2)),
mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535)
);
}
$fresh=uuid();
?>
<meta charset="utf-8">
<meta http-equiv="refresh" content="20; url=http://bateworld.com/mailservices/spammer_2.php?dofresh=<?php echo $fresh;?>">
<title>On onlinemembers</title>
</head>
<body>
<table>
<tr>
<th>UID</th>
<th>Date</th>
<th>Browser</th>
</tr>
<?php
function connecttodb()
{
$emsg="Ok";
$mhostname = "localhost";
$mdatabase = "bateworldcom";
$musername = "db.bateworldcom";
$mpassword = "sDIE8U8!5n*4%Ue_x.Pq";
mysql_connect($mhostname, $musername, $mpassword) or $emsg="Host Connect Error";
if($emsg=="Ok"){mysql_select_db($mdatabase) or $emsg="Database Connection Error";}
return($emsg);
}
$ctb=connecttodb();
$sql="SELECT * FROM `bw_ad_referrer_2` WHERE `ad_referrer` LIKE '%onlinemembers%' AND `su_uid` > 165500 ORDER BY `su_uid` DESC LIMIT 25";
$query = mysql_query($sql);
$rownum=0;
while ($row = mysql_fetch_assoc($query)) {
$rownum=$rownum+1;
if($rownum % 2 != 0){$rc="#ffff99";} else{$rc="#fff";}
echo "<tr style=\"background:".$rc.";\" onmouseover=\"this.style.background='#ccffcc';\" onmouseout=\"this.style.background='".$rc."';\" class=\"trr\" valign=\"top\" id=\"therow_".$rownum."\">";
echo '<td style="padding:5px;">'.$row["su_uid"].'</td>';
echo '<td style="padding:5px;">'.$row["thedate"].'</td>';
echo '<td style="padding:5px;">'.$row["ref_browser"].'</td>';
echo '</tr>';
}
?>
</table>
</body>
</html>