Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x
Author Message
neralex
The Mouse Is Extension Of Arm


Joined: Aug 22, 2007
Posts: 1296
Location: Germany

PostPosted: Thu Oct 18, 2012 9:06 pm Reply with quote

In the nukesentinel.php of RN25 exist an issue for sending abuse mails. The header is broken or better the title of the sending adress. Here an example from a incoming sentinel mail:

Code:
tm <""myadmin\"@mail.tldrnX-Mailer: NukeSentinel">


After a look inside the nukesentinel.php i have found an issue with single-quotes in this line:

Code:
@mail($admincontact[$i], $subject, $message, 'From: ' . $adminmail . '\r\nX-Mailer: ' . _AB_NUKESENTINEL);


after a change to this, its all fine now:

Code:
@mail($admincontact[$i], $subject, $message, "From: " . $adminmail . "\r\nX-Mailer: " . _AB_NUKESENTINEL);


Wink
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Fri Oct 19, 2012 5:04 am Reply with quote

Good catch, neralex. But we only need to change the quote on the second string, since the first string contains no variables or special characters:
Code:
@mail($admincontact[$i], $subject, $message, 'From: ' . $adminmail . "\r\nX-Mailer: " . _AB_NUKESENTINEL);

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
neralex
PostPosted: Fri Oct 19, 2012 9:50 am Reply with quote

ok, good point. changed in my files!
 
hicuxunicorniobestbuildpc
Life Cycles Becoming CPU Cycles


Joined: Aug 13, 2009
Posts: 967
Location: Netherland

PostPosted: Sat Oct 20, 2012 2:37 pm Reply with quote

If you can not find nukesentinel.php file then go to:

includes/nukesentinel.php


Thanks Neralex!
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.6.x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©