Skip to content

Commit

Permalink
Merge pull request #109827 from fabaff/corsmisc
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jan 18, 2021
2 parents 4773a26 + fa13bc3 commit 55e030a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/tools/security/corsmisc/default.nix
@@ -0,0 +1,25 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:

buildGoModule rec {
pname = "corsmisc";
version = "1.3.0";

src = fetchFromGitHub {
owner = "drsigned";
repo = pname;
rev = "v${version}";
sha256 = "18a70v093jl85vnih80i50wvac8hsg3f2gmcws9jyhj2brndq2qj";
};

vendorSha256 = "1bp6bf99rxlyg91pn1y228q18lawpykmvkl22cydmclms0q0n238";

meta = with lib; {
description = "Tool to discover CORS misconfigurations vulnerabilities";
homepage = "https://github.com/drsigned/corsmisc";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1144,6 +1144,8 @@ in

coolreader = libsForQt5.callPackage ../applications/misc/coolreader {};

corsmisc = callPackage ../tools/security/corsmisc { };

cozy = callPackage ../applications/audio/cozy-audiobooks { };

cpuid = callPackage ../os-specific/linux/cpuid { };
Expand Down

0 comments on commit 55e030a

Please sign in to comment.