The Web Application Hacker’s Handbook Discovering and Exploiting Security Flaws


Chapter 3  ■ Web Application Technologies



Download 5,76 Mb.
Pdf ko'rish
bet107/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   103   104   105   106   107   108   109   110   ...   875
Bog'liq
3794 1008 4334

Chapter 3 



Web Application Technologies



55

70779c03.qxd:WileyRed  9/14/07  3:12 PM  Page 55




Encoding Schemes

Web applications employ several different encoding schemes for their data.

Both the HTTP protocol and the HTML language are historically text-based,

and different encoding schemes have been devised to ensure that unusual

characters and binary data can be safely handled by these mechanisms. When

you are attacking a web application, you will frequently need to encode data

using a relevant scheme to ensure that it is handled in the way you intend. Fur-

ther, in many cases you may be able to manipulate the encoding schemes used

by an application to cause behavior that its designers did not intend. 

URL Encoding

URLs are permitted to contain only the printable characters in the US-ASCII

character set — that is, those whose ASCII code is in the range 0x20–0x7e

inclusive. Further, several characters within this range are restricted because

they have special meaning within the URL scheme itself or within the HTTP

protocol.

The URL encoding scheme is used to encode any problematic characters

within the extended ASCII character set so that they can be safely transported

over HTTP. The URL-encoded form of any character is the 

%

prefix followed by



the character’s two-digit ASCII code expressed in hexadecimal. Some exam-

ples of characters that are commonly URL-encoded are shown here:

%3d  =

%25  %


%20  space

%0a  new line

%00  null byte

A further encoding to be aware of is the 

+

character, which represents a URL-



encoded space (in addition to the 

%20


representation of a space).


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   103   104   105   106   107   108   109   110   ...   875




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish