> Skip to content
  • Published: 4 February 2020
  • ISBN: 9781593278656
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 368

Black Hat Go



Like the best-selling Black Hat Python, Black Hat Go explores the darker side of the popular Go programming language. This collection of short scripts will help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset.

In Black Hat Go, you'll learn how to write powerful and effective penetration testing tools in Go, a language revered for its speed and scalability. Start off with an introduction to Go fundamentals like data types, control structures, and error handling; then, dive into the deep end of Go's offensive capabilities as you learn how to:

-Write a simple TCP proxy to use concurrency for non-parallel tasks
-Create HTTP clients to perform common web interactions
-Write a custom DNS server and proxy
-Sniff and process packets using the gopacket library
-Create extendable tools to expand program functionality
-Write your own exploits with the help of insider techniques

Black Hat Go will show you how to build powerful security tools to pen test huge networks, fast.

  • Published: 4 February 2020
  • ISBN: 9781593278656
  • Imprint: No Starch
  • Format: Paperback
  • Pages: 368

About the authors

Chris Patten

Chris Patten is currently Co-Chair of the International Crisis Group and of the Anglo-Indian Round Table, and is Chancellor of Oxford and Newcastle universities. As a British MP from 1979 to 1992 he served as Minister for Overseas Development, Secretary of State for the Environment and Chairman of the Conservative Party, being described afterwards as 'the best Tory Prime Minister we never had' (Observer). In 1998-9 he chaired the Independent Commission for Policing in Northern Ireland, and from 1999 to 2004 he was European Commissioner for External Relations. He is probably best known for being the last Governor of Hong Kong (1992-7), about which he wrote in East and West (1998). Both that and his most recent book, Not Quite the Diplomat: Home Truths about World Affairs (2005), were No. 1 international bestsellers. He was made a Companion of Honour in 1998 and a life peer in 2005.

Related titles