1{ buildGoModule
2, fetchFromGitHub
3, lib
4}:
5
6buildGoModule rec {
7 pname = "corsmisc";
8 version = "1.3.0";
9
10 src = fetchFromGitHub {
11 owner = "drsigned";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "18a70v093jl85vnih80i50wvac8hsg3f2gmcws9jyhj2brndq2qj";
15 };
16
17 vendorSha256 = "1bp6bf99rxlyg91pn1y228q18lawpykmvkl22cydmclms0q0n238";
18
19 meta = with lib; {
20 description = "Tool to discover CORS misconfigurations vulnerabilities";
21 homepage = "https://github.com/drsigned/corsmisc";
22 license = with licenses; [ mit ];
23 maintainers = with maintainers; [ fab ];
24 };
25}