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



Download 5,76 Mb.
Pdf ko'rish
bet557/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   553   554   555   556   557   558   559   560   ...   875
Bog'liq
3794 1008 4334

316

Chapter 9 



Injecting Code

70779c09.qxd:WileyRed  9/14/07  3:13 PM  Page 316



smaller applications to persist simple information such as user credentials,

roles, and privileges.

Consider the following XML data store:

 

 

William 

Gates

MSRocks!
 



billyg@microsoft.com 

5130 8190 3282 3515

 

 

Chris 

Dawes

secret
 



cdawes@craftnet.de 

3981 2491 3242 3121

 

 

James 

Hunter

letmein
 



james.hunter@pookmail.com 

8113 5320 8014 3313

 

 

An XPath query to retrieve all email addresses would look like the following:

//address/email/text()

A query to return all of the details of the user Dawes would be:

//address[surname/text()=’Dawes’]

In some applications, user-supplied data may be embedded directly into

XPath queries, and the results of the query may be returned in the applica-

tion’s response or used to determine some aspect of the application’s behavior.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   553   554   555   556   557   558   559   560   ...   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