trufflesecurity/driftwood

503 on https://keychecker.trufflesecurity.com/publickey

sinnwise opened this issue · 1 comments

Describe the bug

Currently when you run driftwood, it loops within the main client for loop and then doesn't ever exit.

This is because driftwood doesn't throw a fatal exception during the loop and exit upon receiving a non HTTP-OK response.

To Reproduce
Steps to reproduce the behaviour:

  1. Run driftwood against any private key

Expected behavior
The program:

  • doesn't loop when receiving non-OK HTTP response patterns

The API:

  • doesn't 503

Screenshots
Screenshot 2023-03-28 at 13 55 24

Desktop (please complete the following information):

  • All versions

Additional context
Let me know if you want a PR for adding non-ok pattern matching

This is resolved.