You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 137 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How can i atack myself to testing my sentinel [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
aracnet
Nuke Soldier
Nuke Soldier


Joined: Oct 26, 2004
Posts: 30


PostPosted: Tue Oct 26, 2004 12:12 am Reply with quoteBack to top

hi guys

i just installed sentinel and want to check it if it works truely or not? Can you say me or pm me the most important atacks. Rolling Eyes

Also i wrote some modules for nuke ,how could i protect the strings or vaules against hacking or sql injection with sentinel.

also is strip_slashes(); kills all scripts perfectly? or are there any ways to pass it.
Question

NOTE: I am using nuke7.4 with sentinel 2.1
Find all posts by aracnetView user's profileSend private message
sting
Site Admin
Site Admin


Joined: Jul 24, 2003
Posts: 1986

Location: Apparently ALWAYS Online. . .

PostPosted: Tue Oct 26, 2004 6:15 pm Reply with quoteBack to top

The scary thing about this post is that someone may actually answer you not knowing whether or not you are a script kiddie trying to hack other sites. What I suggest is finding someone you can trust and ask them to hack your site for you.

There are several members on here who have done that in the past...

-sting

_________________
Is it paranoia if they are really out to get you?

-------------------------------------------------------
sting usually hangs out at nukehaven.net
Find all posts by stingView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
aracnet
Nuke Soldier
Nuke Soldier


Joined: Oct 26, 2004
Posts: 30


PostPosted: Tue Oct 26, 2004 11:36 pm Reply with quoteBack to top

I thing you are true. Sorry for the misunderstanding.

But i do not know any(honest) hackers.If you know could you send me PM.

I justed wanted to know the issues that every body knows sentinel can stop. For example i just try union ataack then i get bloked Smile Thats makes me feel better.

Anyway what about the second question :

"Is strip_slashes(); kills all scripts perfectly? or are there any ways to pass it."
Find all posts by aracnetView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Wed Oct 27, 2004 8:55 am Reply with quoteBack to top

aracnet wrote:
Anyway what about the second question :

"Is strip_slashes(); kills all scripts perfectly? or are there any ways to pass it."

Where do you get this "strip_slashes" function?

PHP provides two functions called stripslases() and stripcslashes(). Both used to remove slashed special chars (as known in C/C++). Both functions does not provides any security measures but there are known tricks to shutdown or damaging database (called poison-null), or hides some "dangerous" characters. If you want to sanitize user inputs (especially a series of characters), be sure to use addslashes() or addcslashes() before passing the input into database or echoing to output buffer (e.g. using echo() or print() constructors).

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
FreeBee
Sergeant
Sergeant


Joined: Aug 26, 2004
Posts: 75


PostPosted: Wed Oct 27, 2004 7:27 pm Reply with quoteBack to top

run stripslashes and then use mysql_escape_string() if you're a mysql user cos there are differences in each type of SQL server
Find all posts by FreeBeeView user's profileSend private message
aracnet
Nuke Soldier
Nuke Soldier


Joined: Oct 26, 2004
Posts: 30


PostPosted: Thu Oct 28, 2004 1:44 am Reply with quoteBack to top

Sorry I wrote wrong Embarassed

I wanted to ask for :

strip_tags()
Find all posts by aracnetView user's profileSend private message
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Thu Oct 28, 2004 10:57 am Reply with quoteBack to top

FreeBee wrote:
run stripslashes and then use mysql_escape_string() if you're a mysql user cos there are differences in each type of SQL server

You can put this code (e.g. in mainfile.php) to "recoding" quote characters. In this example, the code will "sanitize" quotes from submitted user input (for example: it's become it's, "hello" become "hello", etc):
Code:
/*
* put this line _BEFORE_ import_request_variables() function call in mainfile.php
*/
$_REQUEST = recode_quotes($_REQUEST);

/*
* function to replace single- and double-quotes into html entity
* written by madman at nukecops, oct 28 2004
*/
function recode_quotes($var_array)
{
  if (is_array($var_array))
  {
    reset($var_array);
    foreach($var_array as $var_key => $var_value)
    {
      if (is_array($var_value))
      {
         $var_value = recode_quotes($var_value);
      }
      else
      {
        if (!get_magic_quotes_gpc()) $var_value = stripslashes($var_value);
        $var_value = str_replace("'", ''', str_replace('"', '"', "$var_value"));
      }
      $var_array[$var_key] = $var_value;
    }
  }
  else
  {
    if (!get_magic_quotes_gpc()) $var_array = stripslashes($var_array);
    $var_array = str_replace("'", ''', str_replace('"', '"', "$var_array"));
  }
  return $var_array;
}


aracnet wrote:
I wanted to ask for :
strip_tags()

Use htmlspecialchars() or htmlentities() instead, it will keep the actual text even containing html tags in it. All html special characters will be encoded into entities.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.605 Seconds - 120 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::