forked from mirrors/nixpkgs
bettercap: init at 1.6.2 (#33902)
This commit is contained in:
parent
ca12e1c088
commit
7e0402632d
lib
pkgs
|
@ -739,6 +739,7 @@
|
|||
xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
|
||||
xwvvvvwx = "David Terry <davidterry@posteo.de>";
|
||||
xzfc = "Albert Safin <xzfcpw@gmail.com>";
|
||||
y0no = "Yoann Ono <y0no@y0no.fr>";
|
||||
yarr = "Dmitry V. <savraz@gmail.com>";
|
||||
yegortimoshenko = "Yegor Timoshenko <yegortimoshenko@gmail.com>";
|
||||
ylwghst = "Burim Augustin Berisa <ylwghst@onionmail.info>";
|
||||
|
|
2
pkgs/tools/security/bettercap/Gemfile
Normal file
2
pkgs/tools/security/bettercap/Gemfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
source 'https://rubygems.org'
|
||||
gem 'bettercap'
|
42
pkgs/tools/security/bettercap/Gemfile.lock
Normal file
42
pkgs/tools/security/bettercap/Gemfile.lock
Normal file
|
@ -0,0 +1,42 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
bettercap (1.6.2)
|
||||
colorize (~> 0.8.0)
|
||||
em-proxy (~> 0.1, >= 0.1.8)
|
||||
net-dns (~> 0.8, >= 0.8.0)
|
||||
network_interface (~> 0.0, >= 0.0.1)
|
||||
packetfu (~> 1.1, >= 1.1.10)
|
||||
pcaprub (~> 0.12, >= 0.12.0, <= 1.1.11)
|
||||
rubydns (~> 1.0, >= 1.0.3)
|
||||
celluloid (0.16.0)
|
||||
timers (~> 4.0.0)
|
||||
celluloid-io (0.16.2)
|
||||
celluloid (>= 0.16.0)
|
||||
nio4r (>= 1.1.0)
|
||||
colorize (0.8.1)
|
||||
em-proxy (0.1.9)
|
||||
eventmachine
|
||||
eventmachine (1.2.5)
|
||||
hitimes (1.2.6)
|
||||
net-dns (0.8.0)
|
||||
network_interface (0.0.2)
|
||||
nio4r (2.2.0)
|
||||
packetfu (1.1.13)
|
||||
pcaprub
|
||||
pcaprub (0.12.4)
|
||||
rubydns (1.0.3)
|
||||
celluloid (= 0.16.0)
|
||||
celluloid-io (= 0.16.2)
|
||||
timers (~> 4.0.1)
|
||||
timers (4.0.4)
|
||||
hitimes
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bettercap
|
||||
|
||||
BUNDLED WITH
|
||||
1.14.6
|
23
pkgs/tools/security/bettercap/default.nix
Normal file
23
pkgs/tools/security/bettercap/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, bundlerEnv, ruby, libpcap}:
|
||||
|
||||
bundlerEnv rec {
|
||||
name = "bettercap-${version}";
|
||||
|
||||
version = (import gemset).bettercap.version;
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
gemset = ./gemset.nix;
|
||||
|
||||
buildInputs = [ libpcap ruby ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A man in the middle tool";
|
||||
longDescription = ''
|
||||
BetterCAP is a powerful, flexible and portable tool created to perform various types of MITM attacks against a network, manipulate HTTP, HTTPS and TCP traffic in realtime, sniff for credentials and much more.
|
||||
'' ;
|
||||
homepage = https://www.bettercap.org/;
|
||||
license = with licenses; gpl3;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
121
pkgs/tools/security/bettercap/gemset.nix
Normal file
121
pkgs/tools/security/bettercap/gemset.nix
Normal file
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
bettercap = {
|
||||
dependencies = ["colorize" "em-proxy" "net-dns" "network_interface" "packetfu" "pcaprub" "rubydns"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1mns96yfyfnksk720p8k83qkwwsid4sicwgrzxaa9gbc53aalll0";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.6.2";
|
||||
};
|
||||
celluloid = {
|
||||
dependencies = ["timers"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "044xk0y7i1xjafzv7blzj5r56s7zr8nzb619arkrl390mf19jxv3";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.0";
|
||||
};
|
||||
celluloid-io = {
|
||||
dependencies = ["celluloid" "nio4r"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1l1x0p6daa5vskywrvaxdlanwib3k5pps16axwyy4p8d49pn9rnx";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.2";
|
||||
};
|
||||
colorize = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "133rqj85n400qk6g3dhf2bmfws34mak1wqihvh3bgy9jhajw580b";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.1";
|
||||
};
|
||||
em-proxy = {
|
||||
dependencies = ["eventmachine"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1yzkg6jkmcg859b5mf13igpf8q2bjhsmqjsva05948fi733w5n2j";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.9";
|
||||
};
|
||||
eventmachine = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "075hdw0fgzldgss3xaqm2dk545736khcvv1fmzbf1sgdlkyh1v8z";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.5";
|
||||
};
|
||||
hitimes = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "06222h9236jw9jgmdlpi0q7psac1shvxqxqx905qkvabmxdxlfar";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.6";
|
||||
};
|
||||
net-dns = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "12nal6vhdyg0pbcqpsxqr59h7mbgdhcqp3v0xnzvy167n40gabf9";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.0";
|
||||
};
|
||||
network_interface = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xh4knfq77ii4pjzsd2z1p3nd6nrcdjhb2vi5gw36jqj43ffw0zp";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.2";
|
||||
};
|
||||
nio4r = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0jjrj7vs29w6dfgsxq08226jfbi2j0x62lf4p9zmvyp19dj4z00a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.2.0";
|
||||
};
|
||||
packetfu = {
|
||||
dependencies = ["pcaprub"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "16ppq9wfxq4x2hss61l5brs3s6fmi8gb50mnp1nnnzb1asq4g8ll";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.13";
|
||||
};
|
||||
pcaprub = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0pl4lqy7308185pfv0197n8b4v20fhd0zb3wlpz284rk8ssclkvz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.12.4";
|
||||
};
|
||||
rubydns = {
|
||||
dependencies = ["celluloid" "celluloid-io" "timers"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1cvj8li8shz7zn1rc5hdrkqmvr9j187g4y28mvkfvmv1j9hdln62";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.3";
|
||||
};
|
||||
timers = {
|
||||
dependencies = ["hitimes"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1jx4wb0x182gmbcs90vz0wzfyp8afi1mpl9w5ippfncyk4kffvrz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.0.4";
|
||||
};
|
||||
}
|
|
@ -1372,6 +1372,8 @@ with pkgs;
|
|||
|
||||
bepasty = callPackage ../tools/misc/bepasty { };
|
||||
|
||||
bettercap = callPackage ../tools/security/bettercap { };
|
||||
|
||||
bfg-repo-cleaner = gitAndTools.bfg-repo-cleaner;
|
||||
|
||||
bgs = callPackage ../tools/X11/bgs { };
|
||||
|
|
Loading…
Reference in a new issue