silentsignal / DirBustErl

DirBuster successor in Erlang
MIT License
37 stars 13 forks source link

Make on Kali linux #10

Open Bo0oM opened 9 years ago

Bo0oM commented 9 years ago

First make:

==> DirBustErl (get-deps) Pulling webmachine from {git,"git://github.com/basho/webmachine","HEAD"} Cloning into 'webmachine'... ==> webmachine (get-deps) Pulling mochiweb from {git,"git://github.com/basho/mochiweb.git", {tag,"v2.9.0"}} Cloning into 'mochiweb'... ==> mochiweb (get-deps) ==> mochiweb (compile) Compiled src/mochiglobal.erl Compiled src/mochihex.erl Compiled src/mochiweb_util.erl Compiled src/mochilists.erl Compiled src/mochiweb_socket.erl Compiled src/mochiweb_cover.erl Compiled src/mochitemp.erl Compiled src/mochiweb_headers.erl Compiled src/mochiweb_response.erl Compiled src/mochiweb_acceptor.erl Compiled src/mochifmt_records.erl Compiled src/mochinum.erl Compiled src/mochifmt_std.erl Compiled src/mochiweb_cookies.erl Compiled src/mochifmt.erl Compiled src/mochilogfile2.erl Compiled src/mochiweb_multipart.erl Compiled src/mochiweb_session.erl Compiled src/mochijson2.erl Compiled src/mochiweb_request.erl Compiled src/mochiweb_http.erl Compiled src/mochiweb_html.erl Compiled src/mochiutf8.erl Compiled src/mochiweb_websocket.erl Compiled src/mochijson.erl Compiled src/mochiweb_socket_server.erl Compiled src/mochiweb.erl Compiled src/mochiweb_mime.erl Compiled src/mochiweb_echo.erl Compiled src/mochiweb_base64url.erl Compiled src/reloader.erl Compiled src/mochiweb_io.erl Compiled src/mochiweb_charref.erl ==> webmachine (compile) Compiled src/webmachine_sup.erl Compiled src/webmachine_log.erl Compiled src/webmachine.erl Compiled src/webmachine_error_log_handler.erl Compiled src/webmachine_logger_watcher.erl Compiled src/webmachine_error_handler.erl Compiled src/webmachine_logger_watcher_sup.erl Compiled src/wrq.erl Compiled src/webmachine_dispatcher.erl Compiled src/webmachine_decision_core.erl Compiled src/webmachine_resource.erl Compiled src/webmachine_access_log_handler.erl Compiled src/webmachine_util.erl Compiled src/webmachine_mochiweb.erl Compiled src/webmachine_error.erl Compiled src/webmachine_multipart.erl Compiled src/webmachine_request.erl Compiled src/webmachine_router.erl Compiled src/webmachine_app.erl Compiled src/webmachine_deps.erl Compiled src/wmtrace_resource.erl Compiled src/webmachine_perf_log_handler.erl ==> DirBustErl (compile) src/dirbusterl_url_mangler.erl:3: Warning: undefined callback function code_change/3 (behaviour 'gen_event') src/dirbusterl_url_mangler.erl:3: Warning: undefined callback function handle_call/2 (behaviour 'gen_event') src/dirbusterl_url_mangler.erl:3: Warning: undefined callback function handle_info/2 (behaviour 'gen_event') Compiled src/dirbusterl_url_mangler.erl src/dirbusterl_visited_urls.erl:4: Warning: undefined callback function code_change/3 (behaviour 'gen_server') src/dirbusterl_visited_urls.erl:4: Warning: undefined callback function handle_cast/2 (behaviour 'gen_server') src/dirbusterl_visited_urls.erl:4: Warning: undefined callback function handle_info/2 (behaviour 'gen_server') Compiled src/dirbusterl_visited_urls.erl Compiled src/url_tools.erl Compiled src/ece_resource_static.erl Compiled src/dirbusterl_server.erl Compiled src/dirbusterl_config.erl src/dirbusterl_url_collector.erl:3: Warning: undefined callback function code_change/3 (behaviour 'gen_event') src/dirbusterl_url_collector.erl:3: Warning: undefined callback function handle_call/2 (behaviour 'gen_event') src/dirbusterl_url_collector.erl:3: Warning: undefined callback function handle_info/2 (behaviour 'gen_event') Compiled src/dirbusterl_url_collector.erl Compiled src/worker.erl Compiled src/dirbusterl_visited_urls_tests.erl Compiled src/dirbusterl_app.erl src/dirbusterl_redir_follower.erl:3: Warning: undefined callback function code_change/3 (behaviour 'gen_event') src/dirbusterl_redir_follower.erl:3: Warning: undefined callback function handle_call/2 (behaviour 'gen_event') src/dirbusterl_redir_follower.erl:3: Warning: undefined callback function handle_info/2 (behaviour 'gen_event') Compiled src/dirbusterl_redir_follower.erl src/dirbusterl_requests.erl:5: Warning: undefined callback function code_change/3 (behaviour 'gen_server') src/dirbusterl_requests.erl:5: Warning: undefined callback function handle_info/2 (behaviour 'gen_server') Compiled src/dirbusterl_requests.erl Compiled src/wordlist_resource.erl Compiled src/url_tools_tests.erl Compiled src/usb64.erl src/dirbusterl_dir_follower.erl:3: Warning: undefined callback function code_change/3 (behaviour 'gen_event') src/dirbusterl_dir_follower.erl:3: Warning: undefined callback function handle_call/2 (behaviour 'gen_event') src/dirbusterl_dir_follower.erl:3: Warning: undefined callback function handle_info/2 (behaviour 'gen_event') Compiled src/dirbusterl_dir_follower.erl Compiled src/dirbusterl_storage.erl Compiled src/dirbusterl_sup.erl src/waiter.erl:5: Warning: undefined callback function code_change/3 (behaviour 'gen_server') src/waiter.erl:5: Warning: undefined callback function handle_info/2 (behaviour 'gen_server') Compiled src/waiter.erl Compiled src/connections_resource.erl Compiled src/dirbusterl.erl Compiled src/bust_resource.erl src/dirbusterl_body_parser.erl:3: Warning: undefined callback function code_change/3 (behaviour 'gen_event') src/dirbusterl_body_parser.erl:3: Warning: undefined callback function handle_call/2 (behaviour 'gen_event') src/dirbusterl_body_parser.erl:3: Warning: undefined callback function handle_info/2 (behaviour 'gen_event') Compiled src/dirbusterl_body_parser.erl

Second make:

==> mochiweb (get-deps) ==> webmachine (get-deps) ==> DirBustErl (get-deps) ==> mochiweb (compile) ==> webmachine (compile) ==> DirBustErl (compile)

make test | grep failed mochiweb_session:159: generate_check_session_cookie...*failed* mochiweb_session:164: generate_check_session_cookie...*failed* mochiweb_session:169: generate_check_session_cookie...*failed* mochiweb_session:174: generate_check_session_cookie...*failed* mochiweb_session:180: generate_check_session_cookie...*failed* mochiweb_session:186: generate_check_session_cookie...*failed* mochiweb_session:192: generate_check_session_cookie...*failed* mochiweb_session:204: generate_check_session_cookie...*failed* mochiweb_websocket_tests: make_handshake_for_correct_client_test...*failed* ERROR: One or more eunit tests failed. ERROR: eunit failed while processing /home/bo0om/soft/DirBustErl/deps/mochiweb: rebar_abort

dnet commented 9 years ago

That shouldn't be a problem, since those are just mochiweb unit tests. Does DirBustErl work if you start it either from the REPL (erl) or the web interface (./start.sh)?