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


Your first task is to discover the number of columns returned by the original



Download 5,76 Mb.
Pdf ko'rish
bet457/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   453   454   455   456   457   458   459   460   ...   875
Bog'liq
3794 1008 4334

Your first task is to discover the number of columns returned by the original

query being executed by the application. There are two ways of achieving this:



You can exploit the fact that 

NULL

is convertible to any data type to sys-

tematically inject queries with different numbers of columns, until your

injected query is executed, for example:

‘ UNION SELECT NULL--

‘ UNION SELECT NULL, NULL--

‘ UNION SELECT NULL, NULL, NULL--



When your query is executed, you have determined the number of 

columns required. If database error messages are not being returned by 

the application, you can still tell when your injected query was successful

because an additional row of data will be returned, containing either the

word 

NULL



Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   453   454   455   456   457   458   459   460   ...   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