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



Download 5,76 Mb.
Pdf ko'rish
bet812/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   808   809   810   811   812   813   814   815   ...   875
Bog'liq
3794 1008 4334

useful GNU utilities such as 

head


and 

grep


.

You can achieve the same result just as easily in a Windows batch script. The

following example uses the 

curl


tool to generate requests and the 

findstr


command to filter the output:

for /f “tokens=1” %i in (IDs.txt) do echo %i && curl 

wahh-app.com/ShowDoc.jsp?docId=%i -i -s | findstr /B HTTP/1.0

While simple scripts like these are ideal for performing a straightforward

task like cycling through a list of parameter values and parsing the server’s

response for a single attribute, in many situations you are likely to require

more power and flexibility than command-line scripting can readily offer. The

authors’ preference is to use a suitable high-level object-orientated language

that enables easy manipulation of string-based data and provides accessible

APIs for using sockets and SSL. Languages that satisfy these criteria include

Java, C#, and Python. We will look in more depth at an example using Java.

JAttack

JAttack is a simple but versatile tool that demonstrates how anyone with some

basic programming knowledge can use bespoke automation to deliver very

powerful attacks against an application. The full source code for this tool can

be downloaded from the companion web site (

www.wiley.com/go/webhacker

)

to this book. More important than the actual code, however, are the basic tech-



niques involved, which we will explain shortly.


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   808   809   810   811   812   813   814   815   ...   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