When it comes to creating powerful and effec tive hacking tools, Python is the language of


T H E   N E T W O R K :   B A S I C S



Download 4,64 Mb.
Pdf ko'rish
bet11/17
Sana31.12.2021
Hajmi4,64 Mb.
#239671
1   ...   7   8   9   10   11   12   13   14   ...   17
Bog'liq
Early Access BlackHatPython 2nd edition

2

T H E   N E T W O R K :   B A S I C S

The network is and always will be the sexi-

est arena for a hacker. An attacker can do 

almost anything with simple network access, 

such as scan for hosts, inject packets, sniff data, 

and remotely exploit hosts. But if you’ve worked your 

way into the deepest depths of an enterprise target, 

you may find yourself in a bit of a conundrum: you 

have no tools to execute network attacks. No netcat. 

No Wireshark. No compiler, and no means to install 

one. However, you might be surprised to find that 

in many cases, you’ll have a Python install. So that’s 

where we’ll begin.

Black Hat Python (Early Access) © 2021 by Justin Seitz and Tim Arnold




10

   


Chapter 2

This chapter will give you some basics on Python networking using the 

socket

1

 module. Along the way, we’ll build clients, servers, and a TCP proxy. 



We’ll then turn them into our very own netcat, complete with a command 

shell. This chapter is the foundation for subsequent chapters, in which we’ll 

build a host discovery tool, implement cross-platform sniffers, and create a 

remote trojan framework. Let’s get started.




Download 4,64 Mb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   ...   17




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