Mailer NukeSentinel Edits

From MontegoScriptsWiki
Jump to: navigation, search

Home>Mailer>New Installation>Core File Edits>NukeSentinel™

The edits for NukeSentinel™ are not difficult (just like all the others), however, what you need to note is that we are only providing UPGRADE code changes. What do we mean by this? Given how important NukeSentinel™ is for the security of your *nuke site, we just cannot in good conscience patronize edits for versions less than 2.6.00. It just wouldn't be right. You NEED TO STAY CURRENT on your NukeSentinel™ system! Get the latest NukeSentinel™ version always at RavenPHPScripts.

If you are a RavenNuke™ user, again, latest versions where NukeSentinel™ is already at 2.6.xx or greater, the edits are really simple: you do not need to do them unless you are the NukeSentinel™ / RavenNuke™ Team and are needing to get up to the latest TegoNuke™ Mailer core file edit standards. But, if you are one of these team members upgrading the code, or if you just like to have the latest-and-greatest to be prepared for further TegoNuke™ Mailer updates ahead of the game, these instructions are for you.  ;-)

If you run a search to look for the lines which have TNML_IS_ACTIVE in them, one finds all of the following (line numbers could be different in your installation):

admin\modules\nukesentinel\ABAuthEditSave.php(26): if (defined('TNML_IS_ACTIVE')) {
admin\modules\nukesentinel\ABAuthResend.php(20): if (defined('TNML_IS_ACTIVE')) {
admin\modules\nukesentinel\ABAuthScan.php(41): if (defined('TNML_IS_ACTIVE')) {
admin\modules\nukesentinel\ABConfigAdmin.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigAuthor.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigClike.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigFilter.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigFlood.php(104): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigHarvester.php(99): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigReferer.php(99): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigRequest.php(99): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigScript.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigString.php(99): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
admin\modules\nukesentinel\ABConfigUnion.php(98): if (defined('TNML_IS_ACTIVE')) { $mailtest = true; } else { $mailtest = @mail(); }
includes\nukesentinel.php(950): if (defined('TNML_IS_ACTIVE')) {

Simply modify the part of the if statement which looks like this:

if (defined('TNML_IS_ACTIVE'))

To this instead:

if (TNML_IS_ACTIVE)

Yes, it is that simple. Do this on each of the above lines of code for the given scripts.

Personal tools