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(tm)
Author Message
soc
Hangin' Around



Joined: Apr 14, 2004
Posts: 26

PostPosted: Sat May 29, 2004 9:06 am Reply with quote

Hi

how can i put the $msgToHacker in sentinel? i mean that, that hackattempt script has, and shows to attacker when he attacks.


Thanks
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sat May 29, 2004 9:37 am Reply with quote

If you want to edit the default message you can find it in the ./includes/sentinel.php
function blocked($banip) {

Or if you have a nice page to send them to you can use the forward to feature. I'd guess this will be made easier to edit the default message like Hack Alert did in a future release.
 
View user's profile Send private message
soc







PostPosted: Sat May 29, 2004 10:02 am Reply with quote

I don't mean that it shows after the hack attempt and after the ip ban, but that it shows at the moment of hack attempt. Like hack alert does :

Code:


/***************************************************************************/
/* This is where you create the html message to be displayed to the hacker.*/
/* Leave the <!kaching!kaching!!> tag alone.  System info will be added in later.      */
/***************************************************************************/
$msgToHacker = <<< _MSG_
<!-- Use HTML and/or JavaScript, CSS, whatever you want BELOW -->
<html><body bgcolor="red"><table align="center" style="font-weight:bold;width:50%;text-align:center;background-color:yellow;color:red;border:solid 1 1 1;"><tr><td><center><img src="/images/CAUGHT.png" border="none" /></center></td></tr><tr><td>Well scum-bucket, your putrid hacking attempt has been detected and all your IP information was gathered and a criminal intent report may be logged with the FBI.<br /><br /><!kaching!kaching!!><br /><br />Thanks so much for helping us track down yet another foolish child :)</td></tr></table></body></html>
<!-- Use HTML and/or JavaScript, CSS, whatever you want ABOVE -->
_MSG_;



HA shows that at the moment of hack attempt with the ip details of arin whois.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat May 29, 2004 10:42 am Reply with quote

Try putting the link to your msg in the Forward To setting in Sentinel(tm) Configuration.
 
View user's profile Send private message
soc







PostPosted: Sat May 29, 2004 11:37 am Reply with quote

i didn't understand what you say. Maybe you didn't understand what i say Razz

in a site that have hack alert "installed" , when someone make a hack attempt, he goes to a page that shows the arin ip details, the caught image and some text.

In sentinel, how can i do this? By putting in Forward To of sentinel's configuration, the image link, i think it will not happen this, but only banned user's ips will go in this image.

Thanks for help Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©