This is a very useful script by jaydansand that I found on gist.github. Keeping it handy here.

See the original gist

Change line 107 to the following for a TLSv1.3 hack.