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


arbitrary data from the database. You can achieve this by injecting a query



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

arbitrary data from the database. You can achieve this by injecting a query

containing 

NULL


s as you did previously, and systematically replacing each 

NULL


with 

a

. For example, if you know that the query must return three columns, you



can inject the following:

‘ UNION SELECT ‘a’, NULL, NULL--

‘ UNION SELECT NULL, ‘a’, NULL--

‘ UNION SELECT NULL, NULL, ‘a’--



When your query is executed, you will see an additional row of data

containing the value 

a

. You can then use the relevant column to extract data



from the database.

N OT E

In Oracle databases, every 

SELECT


statement must include a 

FROM


attribute, and so injecting 

UNION SELECT NULL




Download 5,76 Mb.

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