PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Fri May 28, 2004 9:07 pm Reply with quote Back to top

I installed it like it said .. chmoded htaccess to 666. go to the nuke admin click on Sentinel(tm) Administration .. theres 3 lines on the left side. Sentinel(tm) Administration
Sentinel(tm) Configuration
Site Administration

first one does nothing when clicked, config goes to the config panel and the site admin goes back to the nuke admin. Is the first one linked to ABMAIN should it show something on the screen?, also when i do a union inject it gives me page not found 404 error?..

Help please.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Sat May 29, 2004 2:31 am Reply with quote Back to top

speedx wrote:
I installed it like it said .. chmoded htaccess to 666. go to the nuke admin click on Sentinel(tm) Administration .. theres 3 lines on the left side. Sentinel(tm) Administration
Sentinel(tm) Configuration
Site Administration
speedx wrote:
first one does nothing when clicked
Actually it does - it takes you to the screen you're on, the Sentinel(tm) Admin Screen.
speedx wrote:
also when i do a union inject it gives me page not found 404 error?..
Have you added the include line to mainfile.php?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sat May 29, 2004 5:00 am Reply with quote Back to top

got it working, my bad Razz was going to the wrong dir, also does it email the admin to say someone tried to hack like the hackattempt script? if so that part is not working.
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sat May 29, 2004 6:19 am Reply with quote Back to top

It uses the email address set for you website not the phpnuke one so if that not set to a valid email address or your host has some restrictions on it (Like authentification) it might fail. So if your setting in php.ini say something like admin@mydomain and not a valid address there it might fail.
View user's profile Send private message
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sat May 29, 2004 10:03 pm Reply with quote Back to top

Well email is fine, but sentinal does not email me when a hack is performed. The hackattempt script worked fine, also when I do a hack on my site it does not bring up the banned webpage its just a blank page. If I hit refresh then it gives me your ip ... has been banned if this is an error contact the admin @..

What could be wrong with my setup?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Sun May 30, 2004 7:46 am Reply with quote Back to top

Look at your error log. See if there is an error being recorded.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sun May 30, 2004 8:36 am Reply with quote Back to top

No errors in the log file, it is just not sending the email for some reason, as I mentioned the hackattempt script worked is there no way to make sentinal email like that?
View user's profile Send private message Visit poster's website
stephen2417
Worker
Worker


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Sun May 30, 2004 8:39 am Reply with quote Back to top

I thought that bob said something about it not workin right bc of the whois lookup and hes looking for a way arround it.
I think i read that some where, unless i dreamed it.
View user's profile Send private message Visit poster's website
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sun May 30, 2004 8:50 am Reply with quote Back to top

Im not sure, i think i saw something about that also but cannot find it. Im trying alot of different things to try to get it to email admin on hack but so far no luck.
View user's profile Send private message Visit poster's website
stephen2417
Worker
Worker


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Sun May 30, 2004 8:57 am Reply with quote Back to top

I found it...
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sun May 30, 2004 9:30 am Reply with quote Back to top

Tried it and still no luck. I took out the whois info and the page that says you are banned now comes up, but still no email. I run my webserver off my personal linux machine, the email address i use is
Only registered users can see links on this board!
Get registered or login to the forums!
i dont see how this can be an issue as it sends the email directly to me without going though any domains. if someone was to do a union hack on my page
Only registered users can see links on this board!
Get registered or login to the forums!
or
Only registered users can see links on this board!
Get registered or login to the forums!
the email would go right to my linux sendmail and then i would use eudora to get it off my server. As I mentioned before it did work with the hackattempt script as it did not get it from the nuke_config db but you have to enter it in manualy in the hackattempt script? I have tried bobs editing of the popup line also.
View user's profile Send private message Visit poster's website
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1043
Location: RedNeck Land (known as Kentucky)

PostPosted: Sun May 30, 2004 11:58 am Reply with quote Back to top

If you are not getting the emails it is most likely that your host is blocking the pull from the ARIN site (hotlinking blockade) and you can comment out a section of the code to not use the ip lookup and will start getting the emails. Open includes/sentinel.php and goto lines 336-352 (most text editors allow for page numbering) which are as follows:
Code:
  $message .= "--------------------\n"._AB_WHOISFOR." ";
  // Copyright 2004(c) Raven PHP Scripts
  $ipToSearch = @get_ip();
  //$ipToSearch = empty($testIP)?$_SERVER["REMOTE_ADDR"]:$testIP;
  $data = @file_get_contents("http://ws.arin.net/cgi-bin/whois.pl?queryinput=".$ipToSearch) or die('Unable to query WhoIs information for '.$ipToSearch.'.');
  $data = explode('Search results for: ',$data);
  $data = explode('#',$data[1]);
  $data = explode('(NET-',strip_tags($data[0]));
  if (empty($data[1])) $msg .= $data[0];
  else {
    $data = explode(')',$data[1]);
    $data = @file_get_contents("http://ws.arin.net/cgi-bin/whois.pl?queryinput="."!%20NET-".strip_tags($data[0])) or die('Unable to query WhoIs information for '.strip_tags($data[0]).'.');
    $data = explode('Search results for: ',$data);
    $data = explode('Name',$data[1],2);
    $data = explode('# ARIN WHOIS ',$data[1]);
    $msg .= 'OrgName'.nl2br($data[0]);
  }


Now you just comment these out like so:
Code:
  //$message .= "--------------------\n"._AB_WHOISFOR." ";
  // Copyright 2004(c) Raven PHP Scripts
  //$ipToSearch = @get_ip();
  //$ipToSearch = empty($testIP)?$_SERVER["REMOTE_ADDR"]:$testIP;
  //$data = @file_get_contents("http://ws.arin.net/cgi-bin/whois.pl?queryinput=".$ipToSearch) or die('Unable to query WhoIs information for '.$ipToSearch.'.');
  //$data = explode('Search results for: ',$data);
  //$data = explode('#',$data[1]);
  //$data = explode('(NET-',strip_tags($data[0]));
  //if (empty($data[1])) $msg .= $data[0];
  //else {
  //  $data = explode(')',$data[1]);
  //  $data = @file_get_contents("http://ws.arin.net/cgi-bin/whois.pl?queryinput="."!%20NET-".strip_tags($data[0])) or die('Unable to query WhoIs information for '.strip_tags($data[0]).'.');
  //  $data = explode('Search results for: ',$data);
  //  $data = explode('Name',$data[1],2);
  //  $data = explode('# ARIN WHOIS ',$data[1]);
  //  $msg .= 'OrgName'.nl2br($data[0]);
  //}
Save it and upload it to yoru server. In the upcomning version there is a switch for this so you won't need to reedit when you get the newer version(s).
View user's profile Send private message Send e-mail Visit poster's website
speedx
Hangin' Around


Joined: May 27, 2004
Posts: 42

PostPosted: Sun May 30, 2004 12:16 pm Reply with quote Back to top

It now works after I did the //$message .= "--------------------\n"._AB_WHOISFOR." "; line, this was the only line i did not do before Razz

Go figure hahaha
Thanks Bob
View user's profile Send private message Visit poster's website
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