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



Download 5,76 Mb.
Pdf ko'rish
bet692/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   688   689   690   691   692   693   694   695   ...   875
Bog'liq
3794 1008 4334

404

Chapter 12 



Attacking Other Users

70779c12.qxd:WileyRed  9/14/07  3:14 PM  Page 404



Chapter 12 



Attacking Other Users



405

T I P

As with other attacks, be sure to URL-encode any special characters that

have a significance within the request, including 

& = + ;


and space.

Other Entry Points for JavaScript

In addition to the common examples just illustrated, there are numerous other

possible entry points for XSS attacks, arising from the complexities of the

HTML language. Many of these examples are affected by anomalies in the way

different browser platforms and versions handle unusual HTML. For example:

■■

On Internet Explorer, many tags will accept a 



style

attribute containing

JavaScript in an 

expression

string. For example:

style=x:expression(alert(document.cookie))

■■

In Firefox, if you control the 



content

attribute of a refresh meta tag, you

can inject a URL that uses the 

javascript:

protocol (as well as doing

arbitrary redirects). For example:



.cookie);>

If you encounter any unusual situations that you are unfamiliar with, we

recommend that you consult the excellent XSS Cheat Sheet maintained by

RSnake, located here:

http://ha.ckers.org/xss.html



HACK STEPS


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   688   689   690   691   692   693   694   695   ...   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