Merge pull request #130614 from elohmeier/cewl
This commit is contained in:
commit
e0109ef311
8
pkgs/tools/security/cewl/Gemfile
Normal file
8
pkgs/tools/security/cewl/Gemfile
Normal file
@ -0,0 +1,8 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'mime'
|
||||
gem 'mime-types', ">=3.3.1"
|
||||
gem 'mini_exiftool'
|
||||
gem 'nokogiri'
|
||||
gem 'rexml'
|
||||
gem 'rubyzip'
|
||||
gem 'spider'
|
31
pkgs/tools/security/cewl/Gemfile.lock
Normal file
31
pkgs/tools/security/cewl/Gemfile.lock
Normal file
@ -0,0 +1,31 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
mime (0.4.4)
|
||||
mime-types (3.3.1)
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2021.0704)
|
||||
mini_exiftool (2.10.2)
|
||||
mini_portile2 (2.5.3)
|
||||
nokogiri (1.11.7)
|
||||
mini_portile2 (~> 2.5.0)
|
||||
racc (~> 1.4)
|
||||
racc (1.5.2)
|
||||
rexml (3.2.5)
|
||||
rubyzip (2.3.2)
|
||||
spider (0.5.4)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
mime
|
||||
mime-types (>= 3.3.1)
|
||||
mini_exiftool
|
||||
nokogiri
|
||||
rexml
|
||||
rubyzip
|
||||
spider
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
33
pkgs/tools/security/cewl/default.nix
Normal file
33
pkgs/tools/security/cewl/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, lib, fetchFromGitHub, bundlerEnv }:
|
||||
|
||||
let
|
||||
rubyEnv = bundlerEnv {
|
||||
name = "cewl-ruby-env";
|
||||
gemdir = ./.;
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cewl";
|
||||
version = "5.5.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "digininja";
|
||||
repo = "CeWL";
|
||||
rev = version;
|
||||
sha256 = "sha256-5LTZUr3OMeu1NODhIgBiVqtQnUWYfZTm73q61vT3rXc=";
|
||||
};
|
||||
|
||||
buildInputs = [ rubyEnv.wrappedRuby ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp *.rb $out/bin/
|
||||
mv $out/bin/cewl.rb $out/bin/cewl
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Custom wordlist generator";
|
||||
homepage = "https://digi.ninja/projects/cewl.php/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ elohmeier ];
|
||||
};
|
||||
}
|
104
pkgs/tools/security/cewl/gemset.nix
Normal file
104
pkgs/tools/security/cewl/gemset.nix
Normal file
@ -0,0 +1,104 @@
|
||||
{
|
||||
mime = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0nskys7brz2bylhxiknl0z9i19w3wb1knf0h93in6mjq70jdw5cr";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.4.4";
|
||||
};
|
||||
mime-types = {
|
||||
dependencies = ["mime-types-data"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1zj12l9qk62anvk9bjvandpa6vy4xslil15wl6wlivyf51z773vh";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.3.1";
|
||||
};
|
||||
mime-types-data = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0dlxwc75iy0dj23x824cxpvpa7c8aqcpskksrmb32j6m66h5mkcy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2021.0704";
|
||||
};
|
||||
mini_exiftool = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0ir4wigpm6nkd3f40wcjdqrhjx3l60w1hwcg143is1a95ypnvqhr";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.10.2";
|
||||
};
|
||||
mini_portile2 = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1ad0mli9rc0f17zw4ibp24dbj1y39zkykijsjmnzl4gwpg5s0j6k";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.5.3";
|
||||
};
|
||||
nokogiri = {
|
||||
dependencies = ["mini_portile2" "racc"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1vrn31385ix5k9b0yalnlzv360isv6dincbcvi8psllnwz4sjxj9";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.11.7";
|
||||
};
|
||||
racc = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "178k7r0xn689spviqzhvazzvxfq6fyjldxb3ywjbgipbfi4s8j1g";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.5.2";
|
||||
};
|
||||
rexml = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2.5";
|
||||
};
|
||||
rubyzip = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0grps9197qyxakbpw02pda59v45lfgbgiyw48i0mq9f2bn9y6mrz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.3.2";
|
||||
};
|
||||
spider = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0fix7zhnvlfqg66bxwdpbsffbynzdnaifnxpakn07bjh3rdj75cx";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.5.4";
|
||||
};
|
||||
}
|
@ -241,6 +241,8 @@ in
|
||||
|
||||
cereal = callPackage ../development/libraries/cereal { };
|
||||
|
||||
cewl = callPackage ../tools/security/cewl { };
|
||||
|
||||
checkov = callPackage ../development/tools/analysis/checkov {};
|
||||
|
||||
chrysalis = callPackage ../applications/misc/chrysalis { };
|
||||
|
Loading…
Reference in New Issue
Block a user