Golang for Hackers: LDAP Injector - Episode 03 - Error Handling

Next episode: Functional Options Pattern - https://youtu.be/p4VqejsO6oU

00:00 - Introduction talking about error handling
01:45 - Quickly going over some python/golang code to show the difference in mindset
05:55 - Playing with a demo go application, using hard coded (or pre-declared) errors. Also called Sentinel Error usage
08:00 - Showing we could have done a Switch Statement instead of if/then
09:37 - Using the Custom Error Type Pattern, so it is a little bit more flexible
15:34 - Using Type Assertion, so we can access custom parts of our error message
18:10 - Start editing our LDAPInjector, so the Do function only returns error
19:00 - Updating the Do Function in NetHttpBrute
21:04 - Updating the TestCharacter Function
23:40 - Updating the Brute function
29:00 - Updating the PruneCharset function
30:10 - Creating the NewPasswordErrorWithCode, which I will probably use in the Logging video

Support the originator by clicking the read the rest link below.