PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
soc
Hangin' Around


Joined: Apr 14, 2004
Posts: 26

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

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: 2499

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

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
Hangin' Around


Joined: Apr 14, 2004
Posts: 26

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

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

Try putting the link to your msg in the Forward To setting in Sentinel(tm) Configuration.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
soc
Hangin' Around


Joined: Apr 14, 2004
Posts: 26

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

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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum