Add keylogs, a GNU/Linux keylogger that works
This commit is contained in:
parent
316a4981b3
commit
4d104542e9
27
pkgs/tools/security/logkeys/default.nix
Normal file
27
pkgs/tools/security/logkeys/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchgit, which, procps, kbd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "logkeys-${version}";
|
||||
version = "5ef6b0dcb9e3";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://code.google.com/p/logkeys/";
|
||||
rev = "5ef6b0dcb9e38e6137ad1579d624ec12107c56c3";
|
||||
sha256 = "02p0l92l0fq069g31ks6xbqavzxa9njj9460vw2jsa7livcn2z9d";
|
||||
};
|
||||
|
||||
buildInputs = [ which procps kbd ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/Makefile.in --replace 'root' '$(id -u)'
|
||||
substituteInPlace configure --replace '/dev/input' '/tmp'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A GNU/Linux keylogger that works!";
|
||||
license = licenses.gpl3;
|
||||
homepage = http://code.google.com/p/logkeys/;
|
||||
maintainers = with maintainers; [offline];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
|
@ -1480,6 +1480,8 @@ let
|
|||
inherit (perlPackages) mimeConstruct;
|
||||
};
|
||||
|
||||
logkeys = callPackage ../tools/security/logkeys { };
|
||||
|
||||
logrotate = callPackage ../tools/system/logrotate { };
|
||||
|
||||
logstalgia = callPackage ../tools/graphics/logstalgia {};
|
||||
|
|
Loading…
Reference in a new issue