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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{ buildPythonPackage
, chardet
, colorama
, fetchFromGitHub
, future
, isPy27
, lib
, mock
, netaddr
, pycurl
, pyparsing
, pytest
, pytestCheckHook
, setuptools
, six
, stdenv
}:
buildPythonPackage rec {
pname = "wfuzz";
version = "3.1.0";
src = fetchFromGitHub {
owner = "xmendez";
repo = pname;
rev = "v${version}";
sha256 = "1izasczm2zwknwzxbfzqhlf4zp02jvb54ha1hfk4rlwiz0rr1kj4";
};
propagatedBuildInputs = [
chardet
pycurl
six
setuptools
pyparsing
] ++ lib.optionals isPy27 [
mock
future
] ++ lib.optionals stdenv.hostPlatform.isWindows [
colorama
];
checkInputs = [
netaddr
pytest
pytestCheckHook
] ++ lib.optionals isPy27 [
mock
];
preCheck = "export HOME=$(mktemp -d)";
# The skipped tests are requiring a local web server
pytestFlagsArray = [ "tests/test_{moduleman,filterintro,reqresp,api,clparser}.py" ];
pythonImportsCheck = [ "wfuzz" ];
meta = with lib; {
description = "Web content fuzzer to facilitate web applications assessments";
longDescription = ''
Wfuzz provides a framework to automate web applications security assessments
and could help you to secure your web applications by finding and exploiting
web application vulnerabilities.
'';
homepage = "https://wfuzz.readthedocs.io";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ pamplemousse ];
};
}
|