The Endpoint module

An open source SDK for writing security tests

Verified Security Tests use a shared Go module called endpoint.go to reuse common functions.

The module can be seen starting every test in the main function:

func main() {
    Endpoint.Start(test, clean)
}

Starting a test through the module kicks off a 10 second go routine that will time the test out and run cleanup automatically if it is not complete. This safe guards against too many resources being used on the box and ensures cleanup is always executed.

Tests stop by engaging the Stop function:

Endpoint.Stop(100)

The test passes Stop a status code from the lookup table that best describes the result of the test execution.

Explore other endpoint functions by reading the open-source code.