Sitemap
Yen Wang

Yen Wang

Curious mind. Interested in both creative and exploitative sides. More about me | https://www.yenwang.dev/

Python for Cybersecurity 14 — Proxy V

1 min readSep 12, 2023

--

Sharpen Python skills in the field of cybersecurity.

Get Yen Wang’s stories in your inbox

Join Medium for free to get updates from this writer.

This series of tutorials is mainly to share the notes taken while I was learning python for cybersecurity with the books — Black Hat Python.

Press enter or click to view image in full size

There are some links in the section of References below.

Catalogue

  • Proxy V

Proxy V

def request_handler(buffer):
# perform packet modifications
return buffer


def response_handler(buffer):
# perform packet modifications
return buffer
  • Modify the packet contents
  • Perform fuzzing tasks
  • Test for authentication issues

This is can be useful, for example, if you find plaintext user credentials being sent and want to try to elevate privileges on an application by passing in admin instead of your own username.

Reference

Source Code

Github Python For Cybersecurity | Monles

--

--