|
|
|
@ -63,8 +63,8 @@ in stdenv.mkDerivation rec { |
|
|
|
|
name = "kippo-${version}"; |
|
|
|
|
version = "0.8"; |
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://kippo.googlecode.com/files/kippo-${version}.tar.gz"; |
|
|
|
|
sha1 = "f57a5cf88171cb005afe44a4b33cb16f825c33d6"; |
|
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/kippo/${name}.tar.gz"; |
|
|
|
|
sha256 = "0rd2mk36d02qd24z8s4xyy64fy54rzpar4379iq4dcjwg7l7f63d"; |
|
|
|
|
}; |
|
|
|
|
buildInputs = with pythonPackages; [ pycrypto pyasn1 twisted_13 ]; |
|
|
|
|
installPhase = '' |
|
|
|
@ -76,17 +76,17 @@ in stdenv.mkDerivation rec { |
|
|
|
|
--replace "data_path = data" "data_path = /var/lib/kippo/data" \ |
|
|
|
|
--replace "txtcmds_path = txtcmds" "txtcmds_path = /var/lib/kippo/txtcmds" \ |
|
|
|
|
--replace "public_key = public.key" "public_key = /var/lib/kippo/keys/public.key" \ |
|
|
|
|
--replace "private_key = private.key" "private_key = /var/lib/kippo/keys/private.key" |
|
|
|
|
--replace "private_key = private.key" "private_key = /var/lib/kippo/keys/private.key" |
|
|
|
|
mkdir -p $out/bin |
|
|
|
|
mkdir -p $out/src |
|
|
|
|
mv ./* $out/src |
|
|
|
|
mv ./* $out/src |
|
|
|
|
mv $out/src/utils/* $out/bin |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
passthru.twisted = twisted_13; |
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; { |
|
|
|
|
homepage = https://code.google.com/p/kippo; |
|
|
|
|
homepage = https://github.com/desaster/kippo; |
|
|
|
|
description = "SSH Honeypot"; |
|
|
|
|
longDescription = '' |
|
|
|
|
Default port is 2222. Recommend using something like this for port redirection to default SSH port: |
|
|
|
|