Title: [PHP] Beacon Code
Author: Anonymous
Pastebin link: http://pastebin.com/Sx4HfyNT
First Edit: Saturday 4th of January 2014 01:02:36 AM CDT
Last Edit: Saturday 4th of January 2014 01:02:36 AM CDT
h3
{
display: inline;
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size:200px;
color: #ed3c95;
text-shadow:
0 1px 0 #99258e,
0 2px 0 #99258e,
0 3px 0 #99258e,
0 4px 0 #f6b7d2,
0 5px 0 #f6b7d2,
0 6px 0 #f6b7d2,
0 6px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.3),
0 3px 5px rgba(0, 0, 0, 0.2),
0 5px 10px rgba(0, 0, 0, 0.25),
0 10px 10px rgba(0, 0, 0, 0.2),
0 20px 20px rgba(0, 0, 0, 0.15);
}
h3:hover
{
position:relative;
top:3px;
text-shadow:
0 1px 0 #99258e,
0 2px 0 #99258e,
0 3px 0 #f6b7d2,
0 4px 0 #f6b7d2,
0 0 5px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.3),
0 3px 5px rgba(0, 0, 0, 0.2),
0 5px 10px rgba(0, 0, 0, 0.25),
0 10px 10px rgba(0, 0, 0, 0.2);
}
h3:active
{
position:relative;
top:6px;
text-shadow:
0 1px 0 #99258e,
0 2px 0 #f6b7d2,
0 1px 3px rgba(0, 0, 0, 0.3),
0 3px 5px rgba(0, 0, 0, 0.2),
0 1px 5px rgba(0, 0, 0, 0.25);
}
h3 a,a:link,a:visited,a:hover,a:active,a:focus
{
text-decoration:none;
}
.console
{
background-color:#EEE;
width:400px;
font-size:10px;
margin-left:auto;
margin-right:auto;
overflow:hidden;
}
.consolecontrol
{
background-color:#EEE;
width:400px;
height:15px;
font-size:10px;
margin-left:auto;
margin-right:auto;
}
.consolecontrol:hover
{
background-color:#ffffee;
}
.markerfailbar
{
background:#ffffee;
width:100%;
}
threads);$i++) //cycle through all the threads on this page
{
if(!empty($json_dump->threads[$i]->posts[0]->sub)) //make sure the thread has a title (or sub (im guessing "subtext" or something))
{
foreach($keywords as $key)//cycle through keywords
{
if(stristr($json_dump->threads[$i]->posts[0]->sub,$key)!=FALSE)//compare the title to the keywords, case insenstive.
{
$threadJson = getThreadJson($json_dump->threads[$i]->posts[0]->no); //do this once, to save from having to load the page from 4chan more than once
if(checkForMarkerFromThreadJson($threadJson)==true)
{
writeRawText("thread.cache", $json_dump->threads[$i]->posts[0]->no);
markerFound($threadJson);
return true;
}
}
}
}
}
}
echo "
";
echo "