base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / al / alpnpass / package.nix
blobedf8061da4d17728bbb381fe1e1ee8050fb99e98
1 { buildGoModule
2 , fetchFromGitHub
3 , lib
4 }:
6 buildGoModule rec {
7   pname = "alpnpass";
8   version = "0.1";
10   src = fetchFromGitHub {
11     owner = "VerSprite";
12     repo = "alpnpass";
13     rev = version;
14     hash = "sha256-hNZqGTV17rFSKLhZzNqH2E4SSb6Jhk7YQ4TN0HnE+9g=";
15   };
17   vendorHash = null;
19   meta = with lib; {
20     description = "Inspect the plaintext payload inside of proxied TLS connections";
21     longDescription = ''
22       This tool will listen on a given port, strip SSL encryption,
23       forward traffic through a plain TCP proxy,
24       then encrypt the returning traffic again
25       and send it to the target of your choice.
27       Unlike most SSL stripping solutions this tool will negotiate ALPN and
28       preserve the negotiated protocol all the way to the target.
29     '';
30     homepage = "https://github.com/VerSprite/alpnpass";
31     license = licenses.unlicense;
32     maintainers = [ maintainers.raboof ];
33     mainProgram = "alpnpass";
34   };