about summary refs log tree commit diff
path: root/pkgs/by-name/la/laudanum/package.nix
blob: a744fe7720b896e47a2b6be94030e875492726a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, stdenvNoCC
, fetchFromGitHub
}:

stdenvNoCC.mkDerivation {
  pname = "laudanum";
  version = "1.0-unstable-2017-12-15";

  src = fetchFromGitHub {
    owner = "junk13";
    repo = "laudanum";
    rev = "50e1c09d5f23b446c20ecec652c64f9622348364";
    hash = "sha256-Od/ciCQ5QM4b/u9nizHosj/zte2pdifO8IDZkrcmIeI=";
  };

  installPhase = ''
    runHook preInstall
    mkdir -p $out/share/laudanum
    cp -a * $out/share/laudanum/
    runHook postInstall
  '';

  meta = with lib; {
    description = "A collection of injectable files, designed to be used in a pentest when SQL injection flaws are found and are in multiple languages for different environments";
    homepage = "https://github.com/junk13/laudanum";
    maintainers = with maintainers; [ d3vil0p3r ];
    platforms = platforms.all;
    license = licenses.gpl2Plus;
  };
}