Add some experimental packages

master
Sven Slootweg 7 years ago
parent 99609c1b9c
commit 7503e69408

@ -0,0 +1,4 @@
# frozen_string_literal: true
source "https://rubygems.org"
gem "arachni", git: "https://github.com/Arachni/arachni", ref: "refs/tags/v1.5.1"

@ -0,0 +1,110 @@
GIT
remote: https://github.com/Arachni/arachni
revision: 88bab15d4fba0f811ed2db2af384fc45373e7a28
ref: refs/tags/v1.5.1
specs:
arachni (1.5.1)
addressable (= 2.3.6)
arachni-rpc (~> 0.2.1.4)
awesome_print (= 1.6.1)
bundler
childprocess (= 0.5.3)
coderay (= 1.1.0)
concurrent-ruby (= 1.0.2)
concurrent-ruby-ext (= 1.0.2)
http_parser.rb (= 0.6.0)
kramdown (= 1.4.1)
loofah (= 2.0.3)
msgpack (= 0.7.0)
nokogiri (= 1.6.8.1)
oj (= 2.15.0)
oj_mimic_json (= 1.0.1)
ox (= 2.4.11)
pony (= 1.11)
puma (= 2.14.0)
rack (= 1.6.4)
rb-readline (= 0.5.1)
rubyzip (= 1.2.1)
selenium-webdriver (= 3.0.1)
sinatra (= 1.4.6)
sinatra-contrib (= 1.4.6)
terminal-table (= 1.4.5)
typhoeus (= 1.0.2)
watir-webdriver (= 0.8.0)
GEM
remote: https://rubygems.org/
specs:
addressable (2.3.6)
arachni-reactor (0.1.2)
arachni-rpc (0.2.1.4)
arachni-reactor (~> 0.1.2)
awesome_print (1.6.1)
backports (3.8.0)
childprocess (0.5.3)
ffi (~> 1.0, >= 1.0.11)
coderay (1.1.0)
concurrent-ruby (1.0.2)
concurrent-ruby-ext (1.0.2)
concurrent-ruby (~> 1.0.2)
ethon (0.10.1)
ffi (>= 1.3.0)
ffi (1.9.18)
http_parser.rb (0.6.0)
kramdown (1.4.1)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.6)
mime-types (>= 1.16, < 4)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
msgpack (0.7.0)
multi_json (1.12.2)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
oj (2.15.0)
oj_mimic_json (1.0.1)
ox (2.4.11)
pony (1.11)
mail (>= 2.0)
puma (2.14.0)
rack (1.6.4)
rack-protection (1.5.3)
rack
rack-test (0.7.0)
rack (>= 1.0, < 3)
rb-readline (0.5.1)
rubyzip (1.2.1)
selenium-webdriver (3.0.1)
childprocess (~> 0.5)
rubyzip (~> 1.0)
websocket (~> 1.0)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sinatra-contrib (1.4.6)
backports (>= 2.0)
multi_json
rack-protection
rack-test
sinatra (~> 1.4.0)
tilt (>= 1.3, < 3)
terminal-table (1.4.5)
tilt (2.0.8)
typhoeus (1.0.2)
ethon (>= 0.9.0)
watir-webdriver (0.8.0)
selenium-webdriver (>= 2.46.2)
websocket (1.2.4)
PLATFORMS
ruby
DEPENDENCIES
arachni!
BUNDLED WITH
1.14.4

@ -0,0 +1,65 @@
{ stdenv, fetchFromGitHub, makeWrapper, ruby, bundlerEnv, defaultGemConfig, lib, curl, phantomjs2, qtbase }:
# Maintainer notes for updating:
# 1. increment version number in expression and in Gemfile
# ... then from the folder this file is in...
# 2. run $ nix-shell --command "bundler install && bundix -d"
# 3. run $ sed -i '/[ ]*dependencies =/d' gemset.nix
# 4. run $ nix-build -A arachni ../
# 5. update sha256sum in expression
# 6. run step 3 again
let
env = bundlerEnv {
inherit ruby;
name = "arachni-bundler-env";
gemdir = ./.;
gemConfig = defaultGemConfig // {
arachni = attrs: {
# rb-readline-0.5.1 insists on home being a directory
HOME = "/";
};
};
preBuild = '''';
};
in stdenv.mkDerivation rec {
name = "arachni-${version}";
version = "1.5.1";
src = fetchFromGitHub {
owner = "Arachni";
repo = "arachni";
rev = "v${version}";
sha256 = "11fddxxxh3hm91kwdk26k377074dyvv29dlcmcqd81y0jqwm690y";
};
buildInputs = [ makeWrapper ];
#dontPatchelf = true; # stay away from exploit executables
# FIXME: Remove qtbase PATH entry once upgraded to 17.09
installPhase = ''
mkdir -p $out/{bin,share/arachni}
cp -r * $out/share/arachni/
(
cd $out/share/arachni/bin/
for i in arachni*; do
makeWrapper ${env}/bin/bundle $out/bin/$i \
--add-flags "exec ${ruby}/bin/ruby $out/share/arachni/bin/$i" \
--set ARACHNI_FRAMEWORK_LOGDIR "\$HOME/.arachni/logs" \
--prefix "LD_LIBRARY_PATH" ":" "${lib.getLib curl}/lib" \
--prefix "PATH" ":" "${lib.makeBinPath [ phantomjs2 qtbase ]}"\
--run 'mkdir -p ~/.arachni/logs'
done
)
'';
meta = with stdenv.lib; {
description = "Arachni is a feature-full, modular, high-performance Ruby framework aimed towards helping penetration testers and administrators evaluate the security of modern web applications.";
homepage = http://www.arachni-scanner.com/;
platforms = platforms.unix; # FIXME?
license = licenses.nonfree;
};
}

@ -0,0 +1,341 @@
{
addressable = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "137fj0whmn1kvaq8wjalp8x4qbblwzvg3g4bfx8d8lfi6f0w48p8";
type = "gem";
};
version = "2.3.6";
};
arachni = {
dependencies = ["addressable" "arachni-rpc" "awesome_print" "childprocess" "coderay" "concurrent-ruby" "concurrent-ruby-ext" "http_parser.rb" "kramdown" "loofah" "msgpack" "nokogiri" "oj" "oj_mimic_json" "ox" "pony" "puma" "rack" "rb-readline" "rubyzip" "selenium-webdriver" "sinatra" "sinatra-contrib" "terminal-table" "typhoeus" "watir-webdriver"];
source = {
fetchSubmodules = false;
rev = "88bab15d4fba0f811ed2db2af384fc45373e7a28";
sha256 = "003z4kry53qbg6a1gzh82d270j8709czdl6505fhwlj81nd634hv";
type = "git";
url = "https://github.com/Arachni/arachni";
};
version = "1.5.1";
};
arachni-reactor = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "01ajqn634j8lyfh9an0zcl528lgq90dlj43q7sry5j6kihz839nn";
type = "gem";
};
version = "0.1.2";
};
arachni-rpc = {
dependencies = ["arachni-reactor"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0pkzyarn8l73c54y895i6xr4kwxjwdxjyp6yy7phhkmfhxd1q1lg";
type = "gem";
};
version = "0.2.1.4";
};
awesome_print = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1vwgsgyyq87iwjxi8bwh56fj3bzx7x2vjv1m6yih1fbhnbcyi2qd";
type = "gem";
};
version = "1.6.1";
};
backports = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "17pcz0z6jms5jydr1r95kf1bpk3ms618hgr26c62h34icy9i1dpm";
type = "gem";
};
version = "3.8.0";
};
childprocess = {
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12djpdr487fddq55sav8gw1pjglcbb0ab0s6npga0ywgsqdyvsww";
type = "gem";
};
version = "0.5.3";
};
coderay = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s";
type = "gem";
};
version = "1.1.0";
};
concurrent-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kb4sav7yli12pjr8lscv8z49g52a5xzpfg3z9h8clzw6z74qjsw";
type = "gem";
};
version = "1.0.2";
};
concurrent-ruby-ext = {
dependencies = ["concurrent-ruby"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "155jfd15393d4vvavxcb2z7z6np5yhxxg24jvp18myv081bwanpj";
type = "gem";
};
version = "1.0.2";
};
ethon = {
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1i873cvma4j52xmij7kasjylh66vf60cy5prkp4cz4hcn9jlkznl";
type = "gem";
};
version = "0.10.1";
};
ffi = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "034f52xf7zcqgbvwbl20jwdyjwznvqnwpbaps9nk18v9lgb1dpx0";
type = "gem";
};
version = "1.9.18";
};
"http_parser.rb" = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi";
type = "gem";
};
version = "0.6.0";
};
kramdown = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15qpmzyq63vq9zgj3skciaazwrpv6cqmfg9y4m0anfjf3aycv2vf";
type = "gem";
};
version = "1.4.1";
};
loofah = {
dependencies = ["nokogiri"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "109ps521p0sr3kgc460d58b4pr1z4mqggan2jbsf0aajy9s6xis8";
type = "gem";
};
version = "2.0.3";
};
mail = {
dependencies = ["mime-types"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d7lhj2dw52ycls6xigkfz6zvfhc6qggply9iycjmcyj9760yvz9";
type = "gem";
};
version = "2.6.6";
};
mime-types = {
dependencies = ["mime-types-data"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0087z9kbnlqhci7fxh9f6il63hj1k02icq2rs0c6cppmqchr753m";
type = "gem";
};
version = "3.1";
};
mime-types-data = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "04my3746hwa4yvbx1ranhfaqkgf6vavi1kyijjnw8w3dy37vqhkm";
type = "gem";
};
version = "3.2016.0521";
};
mini_portile2 = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
type = "gem";
};
version = "2.1.0";
};
msgpack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0n2nlhm7rkpf0picfjp127b3ak0b7ws1s3rfxivzlff4z92pff2c";
type = "gem";
};
version = "0.7.0";
};
multi_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x";
type = "gem";
};
version = "1.12.2";
};
nokogiri = {
dependencies = ["mini_portile2"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "045xdg0w7nnsr2f2gb7v7bgx53xbc9dxf0jwzmh2pr3jyrzlm0cj";
type = "gem";
};
version = "1.6.8.1";
};
oj = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0gqgf40p8pw99a4bf4bxcp1cxq699r479lwxfrfzxgjbh4vkirj5";
type = "gem";
};
version = "2.15.0";
};
oj_mimic_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vgk2psx3j76kyjd8h928qa79a4mfx28xlpmx1ih82s2h72vfsdn";
type = "gem";
};
version = "1.0.1";
};
ox = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vv0y0753pq0yj844jsympca6vp0k2sbmw70bl4qy6z3a409ybcy";
type = "gem";
};
version = "2.4.11";
};
pony = {
dependencies = ["mail"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0slwj8bll41nzki93n96l0662nc6q0h0qq7mx9jkampl6lf88r7z";
type = "gem";
};
version = "1.11";
};
puma = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hkhrrhcyvabsrgysqlk1q5s3i1jkfj3prqi1dnn72nrkhjx1nm8";
type = "gem";
};
version = "2.14.0";
};
rack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "09bs295yq6csjnkzj7ncj50i6chfxrhmzg1pk6p0vd2lb9ac8pj5";
type = "gem";
};
version = "1.6.4";
};
rack-protection = {
dependencies = ["rack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r";
type = "gem";
};
version = "1.5.3";
};
rack-test = {
dependencies = ["rack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0f50ljlbg38g21q242him0n12r0fz7r3rs9n6p8ppahzh7k22x11";
type = "gem";
};
version = "0.7.0";
};
rb-readline = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b9ac820s69lrql18ic5blrglqml82k127mmyl0mw8n4f6mb0kns";
type = "gem";
};
version = "0.5.1";
};
rubyzip = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "06js4gznzgh8ac2ldvmjcmg9v1vg9llm357yckkpylaj6z456zqz";
type = "gem";
};
version = "1.2.1";
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip" "websocket"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mgd51bsfh10y1rzq4wjj1bmyyrj37j1l7kda68j1dp7qp6c1bdx";
type = "gem";
};
version = "3.0.1";
};
sinatra = {
dependencies = ["rack" "rack-protection" "tilt"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hhmwqc81ram7lfwwziv0z70jh92sj1m7h7s9fr0cn2xq8mmn8l7";
type = "gem";
};
version = "1.4.6";
};
sinatra-contrib = {
dependencies = ["backports" "multi_json" "rack-protection" "rack-test" "sinatra" "tilt"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "10v402ak4yy3nn7y838avqha08h7vjfr97f2xvzril9cin2zlm8n";
type = "gem";
};
version = "1.4.6";
};
terminal-table = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "168r7p41c6gw0sg9pydas482h3wqzd3l9i4gs3y8jcvd80d5d0dz";
type = "gem";
};
version = "1.4.5";
};
tilt = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0020mrgdf11q23hm1ddd6fv691l51vi10af00f137ilcdb2ycfra";
type = "gem";
};
version = "2.0.8";
};
typhoeus = {
dependencies = ["ethon"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0y5yancvvq806f4bzcmfhmbhxsgx398352ndkpjsx192wjakp448";
type = "gem";
};
version = "1.0.2";
};
watir-webdriver = {
dependencies = ["selenium-webdriver"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dsf1y1ynk52y977hd6s1zlnyqnnv85lvrivv23mzamwd0n1v046";
type = "gem";
};
version = "0.8.0";
};
websocket = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1shymfaw14p8jdi74nwz4nsgc9cmpli166lkp5g5wbhjmhmpvrnh";
type = "gem";
};
version = "1.2.4";
};
}

@ -0,0 +1,324 @@
{
addressable = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "137fj0whmn1kvaq8wjalp8x4qbblwzvg3g4bfx8d8lfi6f0w48p8";
type = "gem";
};
version = "2.3.6";
};
arachni = {
source = {
fetchSubmodules = false;
rev = "88bab15d4fba0f811ed2db2af384fc45373e7a28";
sha256 = "003z4kry53qbg6a1gzh82d270j8709czdl6505fhwlj81nd634hv";
type = "git";
url = "https://github.com/Arachni/arachni";
};
version = "1.5.1";
};
arachni-reactor = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "01ajqn634j8lyfh9an0zcl528lgq90dlj43q7sry5j6kihz839nn";
type = "gem";
};
version = "0.1.2";
};
arachni-rpc = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0pkzyarn8l73c54y895i6xr4kwxjwdxjyp6yy7phhkmfhxd1q1lg";
type = "gem";
};
version = "0.2.1.4";
};
awesome_print = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1vwgsgyyq87iwjxi8bwh56fj3bzx7x2vjv1m6yih1fbhnbcyi2qd";
type = "gem";
};
version = "1.6.1";
};
backports = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "17pcz0z6jms5jydr1r95kf1bpk3ms618hgr26c62h34icy9i1dpm";
type = "gem";
};
version = "3.8.0";
};
childprocess = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "12djpdr487fddq55sav8gw1pjglcbb0ab0s6npga0ywgsqdyvsww";
type = "gem";
};
version = "0.5.3";
};
coderay = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s";
type = "gem";
};
version = "1.1.0";
};
concurrent-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kb4sav7yli12pjr8lscv8z49g52a5xzpfg3z9h8clzw6z74qjsw";
type = "gem";
};
version = "1.0.2";
};
concurrent-ruby-ext = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "155jfd15393d4vvavxcb2z7z6np5yhxxg24jvp18myv081bwanpj";
type = "gem";
};
version = "1.0.2";
};
ethon = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1i873cvma4j52xmij7kasjylh66vf60cy5prkp4cz4hcn9jlkznl";
type = "gem";
};
version = "0.10.1";
};
ffi = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "034f52xf7zcqgbvwbl20jwdyjwznvqnwpbaps9nk18v9lgb1dpx0";
type = "gem";
};
version = "1.9.18";
};
"http_parser.rb" = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi";
type = "gem";
};
version = "0.6.0";
};
kramdown = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15qpmzyq63vq9zgj3skciaazwrpv6cqmfg9y4m0anfjf3aycv2vf";
type = "gem";
};
version = "1.4.1";
};
loofah = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "109ps521p0sr3kgc460d58b4pr1z4mqggan2jbsf0aajy9s6xis8";
type = "gem";
};
version = "2.0.3";
};
mail = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d7lhj2dw52ycls6xigkfz6zvfhc6qggply9iycjmcyj9760yvz9";
type = "gem";
};
version = "2.6.6";
};
mime-types = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0087z9kbnlqhci7fxh9f6il63hj1k02icq2rs0c6cppmqchr753m";
type = "gem";
};
version = "3.1";
};
mime-types-data = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "04my3746hwa4yvbx1ranhfaqkgf6vavi1kyijjnw8w3dy37vqhkm";
type = "gem";
};
version = "3.2016.0521";
};
mini_portile2 = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
type = "gem";
};
version = "2.1.0";
};
msgpack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0n2nlhm7rkpf0picfjp127b3ak0b7ws1s3rfxivzlff4z92pff2c";
type = "gem";
};
version = "0.7.0";
};
multi_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x";
type = "gem";
};
version = "1.12.2";
};
nokogiri = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "045xdg0w7nnsr2f2gb7v7bgx53xbc9dxf0jwzmh2pr3jyrzlm0cj";
type = "gem";
};
version = "1.6.8.1";
};
oj = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0gqgf40p8pw99a4bf4bxcp1cxq699r479lwxfrfzxgjbh4vkirj5";
type = "gem";
};
version = "2.15.0";
};
oj_mimic_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vgk2psx3j76kyjd8h928qa79a4mfx28xlpmx1ih82s2h72vfsdn";
type = "gem";
};
version = "1.0.1";
};
ox = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vv0y0753pq0yj844jsympca6vp0k2sbmw70bl4qy6z3a409ybcy";
type = "gem";
};
version = "2.4.11";
};
pony = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0slwj8bll41nzki93n96l0662nc6q0h0qq7mx9jkampl6lf88r7z";
type = "gem";
};
version = "1.11";
};
puma = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hkhrrhcyvabsrgysqlk1q5s3i1jkfj3prqi1dnn72nrkhjx1nm8";
type = "gem";
};
version = "2.14.0";
};
rack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "09bs295yq6csjnkzj7ncj50i6chfxrhmzg1pk6p0vd2lb9ac8pj5";
type = "gem";
};
version = "1.6.4";
};
rack-protection = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r";
type = "gem";
};
version = "1.5.3";
};
rack-test = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0f50ljlbg38g21q242him0n12r0fz7r3rs9n6p8ppahzh7k22x11";
type = "gem";
};
version = "0.7.0";
};
rb-readline = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b9ac820s69lrql18ic5blrglqml82k127mmyl0mw8n4f6mb0kns";
type = "gem";
};
version = "0.5.1";
};
rubyzip = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "06js4gznzgh8ac2ldvmjcmg9v1vg9llm357yckkpylaj6z456zqz";
type = "gem";
};
version = "1.2.1";
};
selenium-webdriver = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mgd51bsfh10y1rzq4wjj1bmyyrj37j1l7kda68j1dp7qp6c1bdx";
type = "gem";
};
version = "3.0.1";
};
sinatra = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hhmwqc81ram7lfwwziv0z70jh92sj1m7h7s9fr0cn2xq8mmn8l7";
type = "gem";
};
version = "1.4.6";
};
sinatra-contrib = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "10v402ak4yy3nn7y838avqha08h7vjfr97f2xvzril9cin2zlm8n";
type = "gem";
};
version = "1.4.6";
};
terminal-table = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "168r7p41c6gw0sg9pydas482h3wqzd3l9i4gs3y8jcvd80d5d0dz";
type = "gem";
};
version = "1.4.5";
};
tilt = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0020mrgdf11q23hm1ddd6fv691l51vi10af00f137ilcdb2ycfra";
type = "gem";
};
version = "2.0.8";
};
typhoeus = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0y5yancvvq806f4bzcmfhmbhxsgx398352ndkpjsx192wjakp448";
type = "gem";
};
version = "1.0.2";
};
watir-webdriver = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dsf1y1ynk52y977hd6s1zlnyqnnv85lvrivv23mzamwd0n1v046";
type = "gem";
};
version = "0.8.0";
};
websocket = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1shymfaw14p8jdi74nwz4nsgc9cmpli166lkp5g5wbhjmhmpvrnh";
type = "gem";
};
version = "1.2.4";
};
}

@ -0,0 +1,341 @@
{
addressable = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "137fj0whmn1kvaq8wjalp8x4qbblwzvg3g4bfx8d8lfi6f0w48p8";
type = "gem";
};
version = "2.3.6";
};
arachni = {
dependencies = ["addressable" "arachni-rpc" "awesome_print" "childprocess" "coderay" "concurrent-ruby" "concurrent-ruby-ext" "http_parser.rb" "kramdown" "loofah" "msgpack" "nokogiri" "oj" "oj_mimic_json" "ox" "pony" "puma" "rack" "rb-readline" "rubyzip" "selenium-webdriver" "sinatra" "sinatra-contrib" "terminal-table" "typhoeus" "watir-webdriver"];
source = {
fetchSubmodules = false;
rev = "88bab15d4fba0f811ed2db2af384fc45373e7a28";
sha256 = "003z4kry53qbg6a1gzh82d270j8709czdl6505fhwlj81nd634hv";
type = "git";
url = "https://github.com/Arachni/arachni";
};
version = "1.5.1";
};
arachni-reactor = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "01ajqn634j8lyfh9an0zcl528lgq90dlj43q7sry5j6kihz839nn";
type = "gem";
};
version = "0.1.2";
};
arachni-rpc = {
dependencies = ["arachni-reactor"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0pkzyarn8l73c54y895i6xr4kwxjwdxjyp6yy7phhkmfhxd1q1lg";
type = "gem";
};
version = "0.2.1.4";
};
awesome_print = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1vwgsgyyq87iwjxi8bwh56fj3bzx7x2vjv1m6yih1fbhnbcyi2qd";
type = "gem";
};
version = "1.6.1";
};
backports = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "17pcz0z6jms5jydr1r95kf1bpk3ms618hgr26c62h34icy9i1dpm";
type = "gem";
};
version = "3.8.0";
};
childprocess = {
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12djpdr487fddq55sav8gw1pjglcbb0ab0s6npga0ywgsqdyvsww";
type = "gem";
};
version = "0.5.3";
};
coderay = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "059wkzlap2jlkhg460pkwc1ay4v4clsmg1bp4vfzjzkgwdckr52s";
type = "gem";
};
version = "1.1.0";
};
concurrent-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1kb4sav7yli12pjr8lscv8z49g52a5xzpfg3z9h8clzw6z74qjsw";
type = "gem";
};
version = "1.0.2";
};
concurrent-ruby-ext = {
dependencies = ["concurrent-ruby"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "155jfd15393d4vvavxcb2z7z6np5yhxxg24jvp18myv081bwanpj";
type = "gem";
};
version = "1.0.2";
};
ethon = {
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1i873cvma4j52xmij7kasjylh66vf60cy5prkp4cz4hcn9jlkznl";
type = "gem";
};
version = "0.10.1";
};
ffi = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "034f52xf7zcqgbvwbl20jwdyjwznvqnwpbaps9nk18v9lgb1dpx0";
type = "gem";
};
version = "1.9.18";
};
"http_parser.rb" = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi";
type = "gem";
};
version = "0.6.0";
};
kramdown = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "15qpmzyq63vq9zgj3skciaazwrpv6cqmfg9y4m0anfjf3aycv2vf";
type = "gem";
};
version = "1.4.1";
};
loofah = {
dependencies = ["nokogiri"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "109ps521p0sr3kgc460d58b4pr1z4mqggan2jbsf0aajy9s6xis8";
type = "gem";
};
version = "2.0.3";
};
mail = {
dependencies = ["mime-types"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0d7lhj2dw52ycls6xigkfz6zvfhc6qggply9iycjmcyj9760yvz9";
type = "gem";
};
version = "2.6.6";
};
mime-types = {
dependencies = ["mime-types-data"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0087z9kbnlqhci7fxh9f6il63hj1k02icq2rs0c6cppmqchr753m";
type = "gem";
};
version = "3.1";
};
mime-types-data = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "04my3746hwa4yvbx1ranhfaqkgf6vavi1kyijjnw8w3dy37vqhkm";
type = "gem";
};
version = "3.2016.0521";
};
mini_portile2 = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1y25adxb1hgg1wb2rn20g3vl07qziq6fz364jc5694611zz863hb";
type = "gem";
};
version = "2.1.0";
};
msgpack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0n2nlhm7rkpf0picfjp127b3ak0b7ws1s3rfxivzlff4z92pff2c";
type = "gem";
};
version = "0.7.0";
};
multi_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1raim9ddjh672m32psaa9niw67ywzjbxbdb8iijx3wv9k5b0pk2x";
type = "gem";
};
version = "1.12.2";
};
nokogiri = {
dependencies = ["mini_portile2"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "045xdg0w7nnsr2f2gb7v7bgx53xbc9dxf0jwzmh2pr3jyrzlm0cj";
type = "gem";
};
version = "1.6.8.1";
};
oj = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0gqgf40p8pw99a4bf4bxcp1cxq699r479lwxfrfzxgjbh4vkirj5";
type = "gem";
};
version = "2.15.0";
};
oj_mimic_json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vgk2psx3j76kyjd8h928qa79a4mfx28xlpmx1ih82s2h72vfsdn";
type = "gem";
};
version = "1.0.1";
};
ox = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0vv0y0753pq0yj844jsympca6vp0k2sbmw70bl4qy6z3a409ybcy";
type = "gem";
};
version = "2.4.11";
};
pony = {
dependencies = ["mail"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0slwj8bll41nzki93n96l0662nc6q0h0qq7mx9jkampl6lf88r7z";
type = "gem";
};
version = "1.11";
};
puma = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0hkhrrhcyvabsrgysqlk1q5s3i1jkfj3prqi1dnn72nrkhjx1nm8";
type = "gem";
};
version = "2.14.0";
};
rack = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "09bs295yq6csjnkzj7ncj50i6chfxrhmzg1pk6p0vd2lb9ac8pj5";
type = "gem";
};
version = "1.6.4";
};
rack-protection = {
dependencies = ["rack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cvb21zz7p9wy23wdav63z5qzfn4nialik22yqp6gihkgfqqrh5r";
type = "gem";
};
version = "1.5.3";
};
rack-test = {
dependencies = ["rack"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0f50ljlbg38g21q242him0n12r0fz7r3rs9n6p8ppahzh7k22x11";
type = "gem";
};
version = "0.7.0";
};
rb-readline = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b9ac820s69lrql18ic5blrglqml82k127mmyl0mw8n4f6mb0kns";
type = "gem";
};
version = "0.5.1";
};
rubyzip = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "06js4gznzgh8ac2ldvmjcmg9v1vg9llm357yckkpylaj6z456zqz";
type = "gem";
};
version = "1.2.1";
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip" "websocket"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0mgd51bsfh10y1rzq4wjj1bmyyrj37j1l7kda68j1dp7qp6c1bdx";
type = "gem";
};
version = "3.0.1";
};
sinatra = {
dependencies = ["rack" "rack-protection" "tilt"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hhmwqc81ram7lfwwziv0z70jh92sj1m7h7s9fr0cn2xq8mmn8l7";
type = "gem";
};
version = "1.4.6";
};
sinatra-contrib = {
dependencies = ["backports" "multi_json" "rack-protection" "rack-test" "sinatra" "tilt"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "10v402ak4yy3nn7y838avqha08h7vjfr97f2xvzril9cin2zlm8n";
type = "gem";
};
version = "1.4.6";
};
terminal-table = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "168r7p41c6gw0sg9pydas482h3wqzd3l9i4gs3y8jcvd80d5d0dz";
type = "gem";
};
version = "1.4.5";
};
tilt = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0020mrgdf11q23hm1ddd6fv691l51vi10af00f137ilcdb2ycfra";
type = "gem";
};
version = "2.0.8";
};
typhoeus = {
dependencies = ["ethon"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0y5yancvvq806f4bzcmfhmbhxsgx398352ndkpjsx192wjakp448";
type = "gem";
};
version = "1.0.2";
};
watir-webdriver = {
dependencies = ["selenium-webdriver"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dsf1y1ynk52y977hd6s1zlnyqnnv85lvrivv23mzamwd0n1v046";
type = "gem";
};
version = "0.8.0";
};
websocket = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1shymfaw14p8jdi74nwz4nsgc9cmpli166lkp5g5wbhjmhmpvrnh";
type = "gem";
};
version = "1.2.4";
};
}

@ -0,0 +1,24 @@
# Env to update Gemfile.lock / gemset.nix
let
packages = import ../../lib/packages.nix {};
#nixpkgs = import <nixpkgs> {};
in
with packages; nixpkgs.stdenv.mkDerivation {
name = "env";
buildInputs = [
nixpkgs.git
nixpkgs.ruby.devEnv
nixpkgs.pkgconfig
nixpkgs.bundix
nixpkgs.sqlite
nixpkgs.postgresql
nixpkgs.expat
nixpkgs.libyaml
nixpkgs.curl
nixpkgs.libheimdal
nixpkgs.zlib
nixpkgs.openssl
nixpkgs.ncurses
];
}

@ -0,0 +1,259 @@
2017-10-17 20:47:20 +0200 --------------------------------------------------------------------------------
ENV:
---
KDE_FULL_SESSION: 'true'
LD_LIBRARY_PATH: "/nix/store/w9ykqpl5v0r3vfwsgn408jqhs72cx96x-curl-7.55.0/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib"
LC_MEASUREMENT: nl_NL.UTF-8
LC_MONETARY: nl_NL.UTF-8
DIGITAL_OCEAN_AUTH_TOKEN: 61ec821d1cd6d0621b27acb4f80483f55205244a489343d08c7fae951ebbb53a
LANG: en_US.UTF-8
GDM_LANG: en_US.utf8
DISPLAY: ":0"
PROFILEHOME: ''
OLDPWD: "/home/sven/projects/nixrc/packages/arachni"
SHELL_SESSION_ID: b175b0227f2f400c87a603e3b6b337e8
NIX_REMOTE: daemon
EDITOR: nano
XARGO_RUST_SRC: "/run/current-system/sw/lib/rustlib/src/rust/src"
COLORTERM: truecolor
MOZ_PLUGIN_PATH: "/home/sven/.nix-profile/lib/mozilla/plugins:/nix/var/nix/profiles/default/lib/mozilla/plugins:/run/current-system/sw/lib/mozilla/plugins"
KDEDIRS: "/home/sven/.nix-profile:/nix/var/nix/profiles/default:/run/current-system/sw"
XDG_VTNR: '7'
PAM_KWALLET5_LOGIN: "/tmp/kwallet5_sven.socket"
QTWEBKIT_PLUGIN_PATH: "/home/sven/.nix-profile/lib/mozilla/plugins/:/nix/var/nix/profiles/default/lib/mozilla/plugins/:/run/current-system/sw/lib/mozilla/plugins/"
SSH_AUTH_SOCK: "/run/user/1000/ssh-agent"
XDG_SESSION_ID: '2'
XDG_GREETER_DATA_DIR: "/var/lib/lightdm-data/sven"
USER: sven
PAGER: less -R
DESKTOP_SESSION: plasma5
TZDIR: "/etc/zoneinfo"
LIBEXEC_PATH: "/home/sven/.nix-profile/lib/libexec:/nix/var/nix/profiles/default/lib/libexec:/run/current-system/sw/lib/libexec"
NIX_PROFILES: "/run/current-system/sw /nix/var/nix/profiles/default /home/sven/.nix-profile"
PWD: "/home/sven/projects/nixrc/packages/arachni/test-report"
NIX_PATH: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
NIX_OTHER_STORES: "/run/nix/remote-stores/*/nix"
SSH_ASKPASS: "/nix/store/xbkvz7qn2lfawhirva2r3zvn31w5w53z-ksshaskpass-5.8.6/bin/ksshaskpass"
HOME: "/home/sven"
XCURSOR_SIZE: '24'
XDG_SESSION_TYPE: x11
GTK_PATH: "/home/sven/.nix-profile/lib/gtk-2.0:/home/sven/.nix-profile/lib/gtk-3.0:/nix/var/nix/profiles/default/lib/gtk-2.0:/nix/var/nix/profiles/default/lib/gtk-3.0:/run/current-system/sw/lib/gtk-2.0:/run/current-system/sw/lib/gtk-3.0"
XDG_DATA_DIRS: "/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/share:/nix/store/zi12pqj6ah12q7vc3lq7g9ysqbq5vb2f-gtk+3-3.22.8/share/gsettings-schemas/gtk+3-3.22.8:/run/opengl-driver/share:/run/opengl-driver-32/share:/home/sven/.nix-profile/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share"
NIX_CONF_DIR: "/etc/nix"
STRIGI_PLUGIN_PATH: "/home/sven/.nix-profile/lib/strigi/:/nix/var/nix/profiles/default/lib/strigi/:/run/current-system/sw/lib/strigi/"
KONSOLE_DBUS_SESSION: "/Sessions/1"
XDG_SESSION_DESKTOP: plasma5
GIO_EXTRA_MODULES: "/nix/store/mn4w56dv1irqxjfgsfffw5qzspvxf3dc-dconf-0.26.0/lib/gio/modules"
QML2_IMPORT_PATH: "/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/lib/qt5/qml"
TERMINFO_DIRS: "/home/sven/.nix-profile/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/run/current-system/sw/share/terminfo"
GDK_PIXBUF_MODULE_FILE: "/nix/store/2pi42x9ni35bnp22ixs9d6v32gqijkqp-librsvg-2.40.16/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
NIX_USER_PROFILE_DIR: "/nix/var/nix/profiles/per-user/sven"
SHELL: "/run/current-system/sw/bin/bash"
TERM: xterm-256color
KONSOLE_DBUS_SERVICE: ":1.27"
XDG_SEAT_PATH: "/org/freedesktop/DisplayManager/Seat0"
ARACHNI_FRAMEWORK_LOGDIR: "./logs"
XCURSOR_THEME: breeze_cursors
XDG_CURRENT_DESKTOP: KDE
KONSOLE_PROFILE_NAME: Default
PERL5LIB: "/home/sven/.nix-profile/lib/perl5/site_perl:/nix/var/nix/profiles/default/lib/perl5/site_perl:/run/current-system/sw/lib/perl5/site_perl"
XDG_SEAT: seat0
COLORFGBG: 15;0
SHLVL: '2'
LANGUAGE: ''
LOCALE_ARCHIVE: "/run/current-system/sw/lib/locale/locale-archive"
INFINALITY_FT: ultimate3
WINDOWID: '23068677'
QML_IMPORT_PATH: "/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/lib/qt5/imports"
QT_QPA_PLATFORM: xcb
GDMSESSION: plasma5
LOGNAME: sven
NIXPKGS_CONFIG: "/etc/nix/nixpkgs-config.nix"
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-etOdypG01s,guid=708985fab91a40611707b5a959e1e7f2
XDG_RUNTIME_DIR: "/run/user/1000"
XAUTHORITY: "/home/sven/.Xauthority"
XDG_SESSION_PATH: "/org/freedesktop/DisplayManager/Session0"
QT_AUTO_SCREEN_SCALE_FACTOR: '0'
XDG_CONFIG_DIRS: "/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/etc/xdg:/home/sven/.nix-profile/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg"
PATH: "/nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0/bin:/home/sven/.cargo/bin:/home/sven/.npm-global/bin:/home/sven/bin:/run/wrappers/bin:/home/sven/.nix-profile/bin:/home/sven/.nix-profile/sbin:/home/sven/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec:/nix/store/33ji1rm067kkxfj754c2gnsbga9sny9w-dbus-1.10.16/bin:/nix/store/kryb5nzvl0ylcfqk4b0jd2z2mdipxbl0-qttools-5.6.2/bin:/nix/store/cqvvdh7arwxqnhinkdfw56sp5xh43fx7-socat-1.7.3.2/bin:/nix/store/r6s8rcd28wsk4gwviyc93343bq5zwlqq-gnugrep-3.0/bin:/nix/store/xk38vw7z7bfr8173vdwfrfamxqcaj7hi-gnused-4.4/bin:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/bin:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/lib/libexec:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/lib/libexec/kf5:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/bin:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/lib/libexec:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/lib/libexec/kf5:/nix/store/a2iv234xm5bgbn4yisw5j7fkw4gkpbmv-kservice-5.31.0/bin:/nix/store/lj65l1y4vl0dssixzykvhnsxpmw3dd4f-plasma-workspace-5.8.6/bin:/nix/store/lj65l1y4vl0dssixzykvhnsxpmw3dd4f-plasma-workspace-5.8.6/lib/libexec:/nix/store/3719shrr71lnys488psfrc0qdqrgbkgr-xmessage-1.0.4/bin:/nix/store/h2qxyqxfa7bjsd49xvasv4b4498g152i-xprop-1.2.2/bin:/nix/store/2xnpr09n3rdgx1grvgqiy2fv7izrz7km-xsetroot-1.1.0/bin:/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/bin"
KDE_SESSION_UID: '1000'
KDE_SESSION_VERSION: '5'
PKG_CONFIG_PATH: "/home/sven/.nix-profile/lib/pkgconfig:/nix/var/nix/profiles/default/lib/pkgconfig:/run/current-system/sw/lib/pkgconfig"
INFOPATH: "/home/sven/.nix-profile/info:/home/sven/.nix-profile/share/info:/nix/var/nix/profiles/default/info:/nix/var/nix/profiles/default/share/info:/run/current-system/sw/info:/run/current-system/sw/share/info"
GST_PLUGIN_SYSTEM_PATH_1_0: "/nix/store/gizcszkspw265rl9h5454bvddckmqi6n-gstreamer-1.10.4//lib/gstreamer-1.0:/nix/store/9v16ljiy6g14dl8zwpx7zm8rg8car88i-gst-plugins-base-1.10.4//lib/gstreamer-1.0:/nix/store/fy66pgc3dgl0whqyb2dmgqnr6sn9qxyp-gst-plugins-good-1.10.4//lib/gstreamer-1.0:/nix/store/fzl82ry2ypx522cpikqcg5ad3lpas81d-gst-plugins-ugly-1.10.4//lib/gstreamer-1.0:/nix/store/8h3msaymq0av18rlx147lm0ap3cddzh5-gst-plugins-bad-1.10.4//lib/gstreamer-1.0:/nix/store/45rva8acfk2hrrxcjhmrbkaipbg1zcrf-gst-libav-1.10.4//lib/gstreamer-1.0"
SESSION_MANAGER: local/desktop-home:@/tmp/.ICE-unix/2243,unix/desktop-home:/tmp/.ICE-unix/2243
XCURSOR_PATH: "/home/sven/.icons:/run/opengl-driver/share/icons:/run/opengl-driver-32/share/icons:/home/sven/.nix-profile/share/icons:/nix/var/nix/profiles/default/share/icons:/run/current-system/sw/share/icons"
__ETC_PROFILE_DONE: '1'
LC_TIME: en_GB.UTF-8
BUNDLE_GEMFILE: "/nix/store/6r3pw9lq50qa5ng91djp7iz727g01zyl-gemfile-and-lockfile/Gemfile"
BUNDLE_PATH: "/nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0"
BUNDLE_FROZEN: '1'
BUNDLER_ORIG_PATH: "/home/sven/.cargo/bin:/home/sven/.npm-global/bin:/home/sven/bin:/run/wrappers/bin:/run/wrappers/bin:/home/sven/.nix-profile/bin:/home/sven/.nix-profile/sbin:/home/sven/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec:/nix/store/33ji1rm067kkxfj754c2gnsbga9sny9w-dbus-1.10.16/bin:/nix/store/kryb5nzvl0ylcfqk4b0jd2z2mdipxbl0-qttools-5.6.2/bin:/nix/store/cqvvdh7arwxqnhinkdfw56sp5xh43fx7-socat-1.7.3.2/bin:/nix/store/r6s8rcd28wsk4gwviyc93343bq5zwlqq-gnugrep-3.0/bin:/nix/store/xk38vw7z7bfr8173vdwfrfamxqcaj7hi-gnused-4.4/bin:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/bin:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/lib/libexec:/nix/store/1x6qxbmi2anmp11258g2dc6pypdflp4y-kconfig-5.31.0/lib/libexec/kf5:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/bin:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/lib/libexec:/nix/store/9ybg2mi46my0mv230bfb6hgd6v0lwk6j-kinit-5.31.0/lib/libexec/kf5:/nix/store/a2iv234xm5bgbn4yisw5j7fkw4gkpbmv-kservice-5.31.0/bin:/nix/store/lj65l1y4vl0dssixzykvhnsxpmw3dd4f-plasma-workspace-5.8.6/bin:/nix/store/lj65l1y4vl0dssixzykvhnsxpmw3dd4f-plasma-workspace-5.8.6/lib/libexec:/nix/store/3719shrr71lnys488psfrc0qdqrgbkgr-xmessage-1.0.4/bin:/nix/store/h2qxyqxfa7bjsd49xvasv4b4498g152i-xprop-1.2.2/bin:/nix/store/2xnpr09n3rdgx1grvgqiy2fv7izrz7km-xsetroot-1.1.0/bin:/nix/store/a649rnnx3kaj1bfzkhqb6x3xssx2mqgp-yakuake-3.0.2/bin"
GEM_PATH: "/nix/store/ngsvyvf91kmbadic364v3ninrj1wk1nf-bundler-1.14.4/lib/ruby/gems/2.3.0"
GEM_HOME: "/nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0"
BUNDLE_BIN_PATH: "/nix/store/ngsvyvf91kmbadic364v3ninrj1wk1nf-bundler-1.14.4/lib/ruby/gems/2.3.0/gems/bundler-1.14.4/exe/bundle"
BUNDLER_VERSION: 1.14.4
RUBYOPT: "-rbundler/setup"
RUBYLIB: "/nix/store/ngsvyvf91kmbadic364v3ninrj1wk1nf-bundler-1.14.4/lib/ruby/gems/2.3.0/gems/bundler-1.14.4/lib"
MANPATH: "/nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0/gems/kramdown-1.4.1/man"
BUNDLER_ORIG_GEM_PATH: "/nix/store/ngsvyvf91kmbadic364v3ninrj1wk1nf-bundler-1.14.4/lib/ruby/gems/2.3.0"
BUNDLER_ORIG_MANPATH: "/nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0/gems/kramdown-1.4.1/man"
--------------------------------------------------------------------------------
OPTIONS:
---
datastore:
report_path:
audit:
parameter_values: true
exclude_vector_patterns: []
include_vector_patterns: []
link_templates: []
links: true
forms: true
cookies: true
ui_inputs: true
ui_forms: true
jsons: true
xmls: true
input:
values: {}
default_values:
name: arachni_name
user: arachni_user
usr: arachni_user
pass: 5543!%arachni_secret
txt: arachni_text
num: '132'
amount: '100'
mail: arachni@email.gr
account: '12'
id: '1'
without_defaults: false
force: false
scope:
redundant_path_patterns: {}
dom_depth_limit: 5
exclude_file_extensions: []
exclude_path_patterns: []
exclude_content_patterns: []
include_path_patterns: []
restrict_paths: []
extend_paths: []
url_rewrites: {}
browser_cluster:
local_storage: {}
wait_for_elements: {}
pool_size: 6
job_timeout: 10
worker_time_to_live: 100
ignore_images: false
screen_width: 1600
screen_height: 1200
session: {}
http:
user_agent: Arachni/v1.5.1
request_timeout: 10000
request_redirect_limit: 5
request_concurrency: 20
request_queue_size: 100
request_headers: {}
response_max_size: 500000
cookies: {}
authentication_type: auto
checks:
- origin_spoof_access_restriction_bypass
- common_files
- common_directories
- insecure_client_access_policy
- backup_files
- xst
- backdoors
- directory_listing
- captcha
- insecure_cookies
- unencrypted_password_forms
- cvs_svn_users
- form_upload
- insecure_cors_policy
- html_objects
- hsts
- http_only_cookies
- cookie_set_for_parent_domain
- emails
- private_ip
- mixed_resource
- credit_card
- ssn
- password_autocomplete
- x_frame_options
- allowed_methods
- webdav
- htaccess_limit
- http_put
- localstart_asp
- common_admin_interfaces
- backup_directories
- insecure_cross_domain_policy_access
- interesting_responses
- insecure_cross_domain_policy_headers
- source_code_disclosure
- xss_path
- code_injection
- xpath_injection
- xxe
- sql_injection_timing
- response_splitting
- os_cmd_injection_timing
- code_injection_timing
- no_sql_injection
- rfi
- xss_event
- os_cmd_injection
- xss_dom_script_context
- no_sql_injection_differential
- ldap_injection
- csrf
- unvalidated_redirect
- code_injection_php_input_wrapper
- trainer
- path_traversal
- session_fixation
- xss_dom
- sql_injection
- xss_script_context
- sql_injection_differential
- xss
- unvalidated_redirect_dom
- xss_tag
- file_inclusion
platforms: []
plugins: {}
no_fingerprinting: false
authorized_by:
url: http://cryto.net/
--------------------------------------------------------------------------------
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] [Selenium::WebDriver::Error::WebDriverError] Unable to find phantomjs executable.
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/53582xh8141vf9w03y976zpkr7i5l20p-arachni-bundler-env/lib/ruby/gems/2.3.0/gems/selenium-webdriver-3.0.1/lib/selenium/webdriver/phantomjs.rb:38:in `path'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/browser.rb:148:in `executable'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/browser.rb:142:in `has_executable?'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework/parts/browser.rb:50:in `host_has_browser?'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework/parts/browser.rb:65:in `use_browsers?'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework/parts/browser.rb:24:in `browser_cluster'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework/parts/audit.rb:173:in `audit'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework.rb:117:in `block in run'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/utilities.rb:425:in `exception_jail'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework.rb:117:in `run'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:428] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/ui/cli/framework.rb:80:in `block in run'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:429]
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:430] Parent:
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:431] Arachni::Framework
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:432]
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:433] Block:
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:434] #<Proc:0x00000003455af8@/nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework.rb:117>
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:435]
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:436] Caller:
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:437] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/utilities.rb:425:in `exception_jail'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:437] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/lib/arachni/framework.rb:117:in `run'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:437] /nix/store/s6v936jajxhrsp0rkhj8xfcdn473h82a-arachni-1.5.1/share/arachni/ui/cli/framework.rb:80:in `block in run'
[2017-10-17 20:47:20 +0200] [utilities#exception_jail:438] --------------------------------------------------------------------------------

@ -0,0 +1,16 @@
filesize="493273331"
linecount="402"
source=$1
destination=$2
MS_dd()
{
blocks=`expr $3 / 1024`
bytes=`expr $3 % 1024`
dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
{ test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
test $bytes -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
}
offset=`head -n $linecount "$1" | wc -c | tr -d " "`
MS_dd $source $offset $filesize | bzip2 -d | tar -xv -C $destination

@ -0,0 +1,93 @@
{ stdenv, pkgs, requireFile, SDL2, makeWrapper, mono46,
libX11, libXext, libXcursor, libXxf86vm, libXi, libXinerama, libXrandr,
libgcrypt, libgpgerror,
alsaLib, libpulseaudio, libogg, libvorbis,
mesa_glu, libudev, lzma, dbus,
gtk2-x11, gdk_pixbuf, glib, # For ScreenSelector.so
unzip, strace, ... }:
let
originalArchive = "dungeons_3_en_v1_3_3_build13_503b949_16621.sh";
fetchfile = (import ../../lib/fetchfile.nix) { inherit stdenv pkgs; };
in
stdenv.mkDerivation rec {
name = "dungeons-3-${version}";
version = "1.3.3-build13";
src = fetchfile {
path = ../../../nixrc-src-games/dungeons_3_en_v1_3_3_build13_503b949_16621.sh;
storeHash = "psbxibb92w8afffhy4558wjgy4npnj1m";
};
phases = "unpackPhase installPhase";
unpackCmd = "${unzip}/bin/unzip -qq $src || true";
sourceRoot = "data";
# FIXME: Check that there are no unnecessary dependencies here
libPath = stdenv.lib.makeLibraryPath [
"./Dungeons3.app/Contents/Data/server/mono/lib"
"./Dungeons3_Data/Plugins/x86_64"
alsaLib
libpulseaudio
mesa_glu
libX11
libXext
libXcursor
libXxf86vm
libXi
libXinerama
libXrandr
libgcrypt
libgpgerror
libudev
libogg
libvorbis
lzma
dbus
mono46
stdenv.cc.cc.lib
SDL2
gtk2-x11
gdk_pixbuf
glib
];
buildInputs = [
makeWrapper
];
installPhase = ''
mkdir -p $out
mv noarch/game/* $out/
mkdir -p $out/bin
chmod +x $out/Dungeons3.x86_64
patchelf \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
$out/Dungeons3.x86_64
for lib in {Dungeons3.app/Contents/Data/server/mono/lib,Dungeons3_Data/Plugins/x86_64}/*.so{,.*}; do
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) $lib
done
makeWrapper ${strace}/bin/strace $out/dungeons-3-strace \
--run 'cd "`dirname "$0"`"' \
--add-flags -f \
--add-flags $out/Dungeons3.x86_64 \
--prefix LD_LIBRARY_PATH : /run/opengl-driver/lib:$libPath
makeWrapper $out/Dungeons3.x86_64 $out/dungeons-3 \
--run 'cd "`dirname "$0"`"' \
--prefix LD_LIBRARY_PATH : /run/opengl-driver/lib:$libPath
# FIXME: Verify that the base path workaround is necessary for this game too
echo "cd $out; pwd; ./dungeons-3" > $out/bin/dungeons-3
chmod +x $out/bin/dungeons-3
echo "cd $out; pwd; ./dungeons-3-strace" > $out/bin/dungeons-3-strace
chmod +x $out/bin/dungeons-3-strace
'';
}

@ -0,0 +1,22 @@
{ fetchurl, stdenv, zip, zlib, qt5, ... }:
stdenv.mkDerivation rec {
name = "quazip-0.7.1";
src = fetchurl {
url = "mirror://sourceforge/quazip/${name}.tar.gz";
sha256 = "1pijy6zn8kdx9m6wrckid24vkgp250hklbpmgrpixiam6l889jbq";
};
preConfigure = "cd quazip";
buildInputs = [ zlib qt5.qtbase ];
nativeBuildInputs = [ qt5.qmake ];
meta = {
description = "Provides access to ZIP archives from Qt programs";
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://quazip.sourceforge.net/;
platforms = stdenv.lib.platforms.linux;
};
}
Loading…
Cancel
Save