arachni 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ACKNOWLEDGMENTS.md +1 -1
- data/CHANGELOG.md +146 -0
- data/CONTRIBUTORS.md +1 -0
- data/HACKING.md +3 -3
- data/README.md +81 -49
- data/Rakefile +11 -14
- data/bin/arachni +4 -8
- data/bin/arachni_rpc +17 -0
- data/bin/arachni_rpcd +18 -0
- data/bin/arachni_rpcd_monitor +18 -0
- data/bin/arachni_web +25 -48
- data/bin/arachni_web_autostart +3 -3
- data/conf/README.webui.yaml.txt +7 -21
- data/external/metasploit/plugins/arachni.rb +0 -7
- data/extras/modules/recon/raft_dirs.rb +108 -0
- data/extras/modules/recon/raft_dirs/raft-large-directories.txt +62290 -0
- data/extras/modules/recon/raft_files.rb +110 -0
- data/extras/modules/recon/raft_files/raft-large-files.txt +37037 -0
- data/extras/modules/recon/svn_digger_dirs.rb +108 -0
- data/extras/modules/recon/svn_digger_dirs/Licence.txt +674 -0
- data/extras/modules/recon/svn_digger_dirs/ReadMe-Arachni.txt +4 -0
- data/extras/modules/recon/svn_digger_dirs/ReadMe.txt +6 -0
- data/extras/modules/recon/svn_digger_dirs/all-dirs.txt +5960 -0
- data/extras/modules/recon/svn_digger_files.rb +114 -0
- data/extras/modules/recon/svn_digger_files/Licence.txt +674 -0
- data/extras/modules/recon/svn_digger_files/ReadMe-Arachni.txt +4 -0
- data/extras/modules/recon/svn_digger_files/ReadMe.txt +6 -0
- data/extras/modules/recon/svn_digger_files/all-extensionless.txt +25419 -0
- data/extras/modules/recon/svn_digger_files/all.txt +43135 -0
- data/lib/arachni.rb +2 -7
- data/lib/{audit_store.rb → arachni/audit_store.rb} +68 -60
- data/lib/{component_manager.rb → arachni/component_manager.rb} +8 -8
- data/lib/{component_options.rb → arachni/component_options.rb} +34 -4
- data/lib/{crypto → arachni/crypto}/rsa_aes_cbc.rb +1 -2
- data/lib/arachni/database.rb +4 -0
- data/lib/arachni/database/base.rb +125 -0
- data/lib/arachni/database/hash.rb +384 -0
- data/lib/arachni/database/queue.rb +93 -0
- data/lib/{exceptions.rb → arachni/exceptions.rb} +1 -1
- data/lib/arachni/framework.rb +899 -0
- data/lib/{http.rb → arachni/http.rb} +63 -166
- data/lib/{issue.rb → arachni/issue.rb} +46 -17
- data/lib/{mixins → arachni/mixins}/observable.rb +1 -1
- data/lib/arachni/mixins/progress_bar.rb +81 -0
- data/lib/arachni/mixins/terminal.rb +106 -0
- data/lib/{module.rb → arachni/module.rb} +0 -0
- data/lib/{module → arachni/module}/auditor.rb +250 -86
- data/lib/{module → arachni/module}/base.rb +8 -18
- data/lib/{module → arachni/module}/element_db.rb +10 -2
- data/lib/{module → arachni/module}/key_filler.rb +1 -1
- data/lib/arachni/module/manager.rb +145 -0
- data/lib/{module → arachni/module}/output.rb +6 -1
- data/lib/{module → arachni/module}/trainer.rb +48 -52
- data/lib/{module → arachni/module}/utilities.rb +66 -15
- data/lib/{nokogiri → arachni/nokogiri}/xml/node.rb +0 -0
- data/lib/arachni/options.rb +986 -0
- data/lib/{parser.rb → arachni/parser.rb} +0 -0
- data/lib/{parser → arachni/parser}/auditable.rb +111 -32
- data/lib/{parser → arachni/parser}/elements.rb +28 -20
- data/lib/{parser → arachni/parser}/page.rb +20 -3
- data/lib/{parser → arachni/parser}/parser.rb +100 -63
- data/lib/{plugin.rb → arachni/plugin.rb} +0 -0
- data/lib/{plugin → arachni/plugin}/base.rb +43 -6
- data/lib/{plugin → arachni/plugin}/manager.rb +40 -13
- data/lib/{report.rb → arachni/report.rb} +0 -0
- data/lib/{report → arachni/report}/base.rb +43 -2
- data/lib/{report → arachni/report}/manager.rb +7 -18
- data/lib/arachni/rpc/client/base.rb +42 -0
- data/lib/{rpc/xml → arachni/rpc}/client/dispatcher.rb +12 -13
- data/lib/arachni/rpc/client/instance.rb +62 -0
- data/lib/arachni/rpc/server/base.rb +51 -0
- data/lib/arachni/rpc/server/dispatcher.rb +438 -0
- data/lib/arachni/rpc/server/framework.rb +1163 -0
- data/lib/arachni/rpc/server/instance.rb +184 -0
- data/lib/{rpc/xml → arachni/rpc}/server/module/manager.rb +8 -5
- data/lib/arachni/rpc/server/node.rb +267 -0
- data/lib/{rpc/xml → arachni/rpc}/server/options.rb +6 -35
- data/lib/{rpc/xml → arachni/rpc}/server/output.rb +29 -3
- data/lib/{rpc/xml → arachni/rpc}/server/plugin/manager.rb +5 -6
- data/lib/{ruby.rb → arachni/ruby.rb} +1 -2
- data/lib/arachni/ruby/array.rb +31 -0
- data/lib/{ruby → arachni/ruby}/object.rb +1 -1
- data/lib/{ruby → arachni/ruby}/string.rb +1 -1
- data/lib/{spider.rb → arachni/spider.rb} +83 -110
- data/lib/arachni/typhoeus/hydra.rb +7 -0
- data/lib/{typhoeus → arachni/typhoeus}/request.rb +11 -9
- data/lib/{typhoeus → arachni/typhoeus}/response.rb +4 -0
- data/lib/{ui → arachni/ui}/cli/cli.rb +154 -84
- data/lib/{ui → arachni/ui}/cli/output.rb +57 -19
- data/lib/{ui/xmlrpc → arachni/ui/rpc}/dispatcher_monitor.rb +11 -10
- data/lib/{ui/xmlrpc/xmlrpc.rb → arachni/ui/rpc/rpc.rb} +102 -158
- data/lib/{ui → arachni/ui}/web/addon_manager.rb +23 -3
- data/lib/arachni/ui/web/addons/autodeploy.rb +207 -0
- data/lib/{ui → arachni/ui}/web/addons/autodeploy/lib/manager.rb +142 -35
- data/lib/arachni/ui/web/addons/autodeploy/views/index.erb +291 -0
- data/lib/{ui → arachni/ui}/web/addons/sample.rb +1 -1
- data/lib/{ui → arachni/ui}/web/addons/sample/views/index.erb +0 -0
- data/lib/{ui → arachni/ui}/web/addons/scheduler.rb +30 -22
- data/lib/{ui → arachni/ui}/web/addons/scheduler/views/index.erb +56 -22
- data/lib/{ui → arachni/ui}/web/addons/scheduler/views/options.erb +0 -0
- data/lib/arachni/ui/web/dispatcher_manager.rb +274 -0
- data/lib/arachni/ui/web/instance_manager.rb +69 -0
- data/lib/{ui → arachni/ui}/web/log.rb +1 -1
- data/lib/arachni/ui/web/output_stream.rb +54 -0
- data/lib/{ui → arachni/ui}/web/report_manager.rb +48 -54
- data/lib/{ui → arachni/ui}/web/scheduler.rb +42 -47
- data/lib/arachni/ui/web/server.rb +1197 -0
- data/lib/{ui → arachni/ui}/web/server/db/placeholder +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/banner.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/bodybg-small.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/bodybg.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/pbar-ani.gif +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/css/smoothness/jquery-ui-1.8.9.custom.css +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/favicon.ico +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/footer.jpg +0 -0
- data/lib/{ui/web/server/public/icons/error.png → arachni/ui/web/server/public/icons/bad.png} +0 -0
- data/lib/arachni/ui/web/server/public/icons/error.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/icons/info.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/icons/ok.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/icons/status.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/js/jquery-1.4.4.min.js +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/js/jquery-ui-1.8.9.custom.min.js +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/js/jquery-ui-timepicker.js +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/logo.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/nav-left.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/nav-right.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/nav-selected-left.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/nav-selected-right.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/plugins/sample/style.css +0 -0
- data/lib/{ui/web/server/tmp → arachni/ui/web/server/public/reports}/placeholder +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/sidebar-bottom.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/sidebar-h4.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/sidebar-top.jpg +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/spider.png +0 -0
- data/lib/{ui → arachni/ui}/web/server/public/style.css +3 -2
- data/lib/arachni/ui/web/server/tmp/placeholder +0 -0
- data/lib/{ui → arachni/ui}/web/server/views/addon.erb +0 -0
- data/lib/{ui → arachni/ui}/web/server/views/addons.erb +0 -0
- data/lib/{ui → arachni/ui}/web/server/views/dispatcher_error.erb +0 -0
- data/lib/arachni/ui/web/server/views/dispatchers.erb +175 -0
- data/lib/arachni/ui/web/server/views/dispatchers_edit.erb +71 -0
- data/lib/arachni/ui/web/server/views/error.erb +22 -0
- data/lib/{ui → arachni/ui}/web/server/views/flash.erb +2 -2
- data/lib/arachni/ui/web/server/views/home.erb +60 -0
- data/lib/{ui → arachni/ui}/web/server/views/instance.erb +55 -75
- data/lib/arachni/ui/web/server/views/js/home.erb +32 -0
- data/lib/{ui → arachni/ui}/web/server/views/layout.erb +2 -2
- data/lib/{ui → arachni/ui}/web/server/views/log.erb +0 -0
- data/lib/arachni/ui/web/server/views/module.erb +30 -0
- data/lib/{ui → arachni/ui}/web/server/views/modules.erb +2 -22
- data/lib/{ui → arachni/ui}/web/server/views/options.erb +0 -0
- data/lib/{ui → arachni/ui}/web/server/views/output_results.erb +4 -4
- data/lib/{ui → arachni/ui}/web/server/views/plugins.erb +23 -12
- data/lib/{ui → arachni/ui}/web/server/views/report_formats.erb +1 -1
- data/lib/{ui → arachni/ui}/web/server/views/reports.erb +1 -1
- data/lib/{ui → arachni/ui}/web/server/views/settings.erb +59 -16
- data/lib/{ui → arachni/ui}/web/server/views/welcome.erb +3 -1
- data/lib/{ui → arachni/ui}/web/utilities.rb +8 -3
- data/lib/arachni/version.rb +16 -0
- data/modules/audit/code_injection.rb +11 -20
- data/modules/audit/code_injection_timing.rb +2 -6
- data/modules/audit/csrf.rb +8 -16
- data/modules/audit/ldapi.rb +5 -11
- data/modules/audit/os_cmd_injection.rb +5 -9
- data/modules/audit/os_cmd_injection_timing.rb +4 -8
- data/modules/audit/path_traversal.rb +7 -13
- data/modules/audit/response_splitting.rb +8 -21
- data/modules/audit/rfi.rb +6 -46
- data/modules/audit/sqli.rb +5 -11
- data/modules/audit/sqli/regexp_ids.txt +0 -6
- data/modules/audit/sqli_blind_rdiff.rb +5 -10
- data/modules/audit/sqli_blind_timing.rb +4 -9
- data/modules/audit/trainer.rb +6 -12
- data/modules/audit/unvalidated_redirect.rb +6 -17
- data/modules/audit/xpath.rb +5 -12
- data/modules/audit/xss.rb +37 -23
- data/modules/audit/xss_event.rb +5 -10
- data/modules/audit/xss_path.rb +47 -41
- data/modules/audit/xss_script_tag.rb +5 -10
- data/modules/audit/xss_tag.rb +5 -10
- data/modules/audit/xss_uri.rb +17 -89
- data/modules/recon/allowed_methods.rb +6 -15
- data/modules/recon/backdoors.rb +12 -52
- data/modules/recon/backup_files.rb +25 -88
- data/modules/recon/common_directories.rb +8 -54
- data/modules/recon/common_files.rb +7 -58
- data/modules/recon/directory_listing.rb +6 -15
- data/modules/recon/grep/captcha.rb +1 -1
- data/modules/recon/grep/credit_card.rb +62 -27
- data/modules/recon/grep/cvs_svn_users.rb +1 -1
- data/modules/recon/grep/emails.rb +1 -1
- data/modules/recon/grep/html_objects.rb +1 -1
- data/modules/recon/grep/private_ip.rb +1 -1
- data/modules/recon/grep/ssn.rb +9 -9
- data/modules/recon/htaccess_limit.rb +6 -14
- data/modules/recon/http_put.rb +7 -15
- data/modules/recon/interesting_responses.rb +7 -13
- data/modules/recon/mixed_resource.rb +100 -0
- data/modules/recon/unencrypted_password_forms.rb +8 -20
- data/modules/recon/webdav.rb +6 -16
- data/modules/recon/xst.rb +7 -13
- data/path_extractors/anchors.rb +1 -1
- data/path_extractors/forms.rb +1 -1
- data/path_extractors/frames.rb +1 -1
- data/path_extractors/generic.rb +47 -3
- data/path_extractors/links.rb +1 -1
- data/path_extractors/meta_refresh.rb +1 -1
- data/path_extractors/scripts.rb +3 -4
- data/path_extractors/sitemap.rb +1 -1
- data/plugins/autologin.rb +9 -18
- data/plugins/beep_notify.rb +51 -0
- data/plugins/cookie_collector.rb +12 -12
- data/plugins/defaults/autothrottle.rb +86 -0
- data/plugins/{content_types.rb → defaults/content_types.rb} +25 -19
- data/plugins/{healthmap.rb → defaults/healthmap.rb} +30 -18
- data/plugins/defaults/metamodules/remedies/discovery.rb +164 -0
- data/plugins/defaults/metamodules/remedies/manual_verification.rb +65 -0
- data/{metamodules/timeout_notice.rb → plugins/defaults/metamodules/remedies/timing_attacks.rb} +26 -22
- data/{metamodules → plugins/defaults/metamodules}/uniformity.rb +15 -14
- data/plugins/{profiler.rb → defaults/profiler.rb} +19 -30
- data/plugins/defaults/resolver.rb +55 -0
- data/plugins/email_notify.rb +108 -0
- data/plugins/form_dicattack.rb +8 -16
- data/plugins/http_dicattack.rb +4 -12
- data/plugins/libnotify.rb +86 -0
- data/plugins/proxy.rb +8 -17
- data/plugins/proxy/server.rb +3 -3
- data/plugins/rescan.rb +60 -0
- data/plugins/waf_detector.rb +5 -16
- data/profiles/full.afp +3 -30
- data/reports/afr.rb +2 -5
- data/reports/ap.rb +3 -1
- data/reports/html.rb +210 -68
- data/reports/html/default.erb +72 -1014
- data/reports/html/default/configuration.erb +126 -0
- data/reports/html/default/css/jquery-ui.css +570 -0
- data/reports/html/default/css/jquery.jqplot.min.css +1 -0
- data/reports/html/default/css/main.css +391 -0
- data/reports/html/default/issue.erb +189 -0
- data/reports/html/default/issues.erb +65 -0
- data/reports/html/default/js/charts.js +146 -0
- data/reports/html/default/js/helpers.js +95 -0
- data/reports/html/default/js/init.js +73 -0
- data/reports/html/default/js/lib/jqplot.barRenderer.min.js +57 -0
- data/reports/html/default/js/lib/jqplot.categoryAxisRenderer.min.js +57 -0
- data/reports/html/default/js/lib/jqplot.cursor.min.js +57 -0
- data/reports/html/default/js/lib/jqplot.pieRenderer.min.js +57 -0
- data/reports/html/default/js/lib/jqplot.pointLabels.min.js +57 -0
- data/reports/html/default/js/lib/jquery-ui.min.js +404 -0
- data/reports/html/default/js/lib/jquery.jqplot.min.js +57 -0
- data/reports/html/default/js/lib/jquery.min.js +167 -0
- data/reports/html/default/plugins.erb +22 -0
- data/reports/html/default/search.erb +8 -0
- data/reports/html/default/sitemap.erb +15 -0
- data/reports/html/default/summary.erb +68 -0
- data/reports/html/default/summary_issue.erb +19 -0
- data/reports/json.rb +51 -0
- data/reports/marshal.rb +49 -0
- data/reports/metareport.rb +4 -6
- data/reports/metareport/arachni_metareport.rb +1 -1
- data/reports/plugin_formatters/html/autologin.rb +30 -41
- data/reports/plugin_formatters/html/content_types.rb +1 -10
- data/reports/plugin_formatters/html/cookie_collector.rb +36 -44
- data/reports/plugin_formatters/html/discovery.rb +50 -0
- data/reports/plugin_formatters/html/form_dicattack.rb +24 -32
- data/reports/plugin_formatters/html/healthmap.rb +45 -54
- data/reports/plugin_formatters/html/http_dicattack.rb +24 -32
- data/reports/plugin_formatters/html/profiler.rb +17 -48
- data/reports/plugin_formatters/html/profiler/template.erb +6 -99
- data/reports/plugin_formatters/html/resolver.rb +63 -0
- data/reports/plugin_formatters/html/{metaformatters/timeout_notice.rb → timing_attacks.rb} +7 -19
- data/reports/plugin_formatters/html/{metaformatters/uniformity.rb → uniformity.rb} +5 -17
- data/reports/plugin_formatters/html/waf_detector.rb +24 -32
- data/reports/plugin_formatters/stdout/autologin.rb +30 -35
- data/reports/plugin_formatters/stdout/content_types.rb +41 -46
- data/reports/plugin_formatters/stdout/cookie_collector.rb +33 -38
- data/reports/plugin_formatters/stdout/discovery.rb +47 -0
- data/reports/plugin_formatters/stdout/form_dicattack.rb +27 -32
- data/reports/plugin_formatters/stdout/healthmap.rb +47 -51
- data/reports/plugin_formatters/stdout/http_dicattack.rb +27 -32
- data/reports/plugin_formatters/stdout/metamodules.rb +48 -55
- data/reports/plugin_formatters/stdout/profiler.rb +60 -65
- data/reports/plugin_formatters/stdout/resolver.rb +45 -0
- data/reports/plugin_formatters/stdout/{metaformatters/timeout_notice.rb → timing_attacks.rb} +6 -14
- data/reports/plugin_formatters/stdout/{metaformatters/uniformity.rb → uniformity.rb} +6 -14
- data/reports/plugin_formatters/stdout/waf_detector.rb +23 -28
- data/reports/plugin_formatters/xml/autologin.rb +36 -41
- data/reports/plugin_formatters/xml/content_types.rb +47 -52
- data/reports/plugin_formatters/xml/cookie_collector.rb +39 -44
- data/reports/plugin_formatters/xml/discovery.rb +54 -0
- data/reports/plugin_formatters/xml/form_dicattack.rb +22 -27
- data/reports/plugin_formatters/xml/healthmap.rb +53 -58
- data/reports/plugin_formatters/xml/http_dicattack.rb +22 -27
- data/reports/plugin_formatters/xml/profiler.rb +61 -77
- data/reports/plugin_formatters/xml/resolver.rb +53 -0
- data/reports/plugin_formatters/xml/{metaformatters/timeout_notice.rb → timing_attacks.rb} +3 -15
- data/reports/plugin_formatters/xml/{metaformatters/uniformity.rb → uniformity.rb} +4 -14
- data/reports/plugin_formatters/xml/waf_detector.rb +23 -28
- data/reports/stdout.rb +1 -1
- data/reports/txt.rb +2 -5
- data/reports/xml.rb +2 -5
- data/reports/xml/buffer.rb +6 -2
- data/reports/yaml.rb +49 -0
- metadata +419 -278
- data/bin/arachni_xmlrpc +0 -21
- data/bin/arachni_xmlrpcd +0 -82
- data/bin/arachni_xmlrpcd_monitor +0 -74
- data/getoptslong.rb +0 -242
- data/lib/anemone.rb +0 -2
- data/lib/framework.rb +0 -673
- data/lib/module/manager.rb +0 -111
- data/lib/options.rb +0 -547
- data/lib/rpc/xml/client/base.rb +0 -76
- data/lib/rpc/xml/client/instance.rb +0 -88
- data/lib/rpc/xml/server/base.rb +0 -112
- data/lib/rpc/xml/server/dispatcher.rb +0 -386
- data/lib/rpc/xml/server/framework.rb +0 -206
- data/lib/rpc/xml/server/instance.rb +0 -191
- data/lib/ruby/xmlrpc/server.rb +0 -27
- data/lib/ui/web/addons/autodeploy.rb +0 -172
- data/lib/ui/web/addons/autodeploy/views/index.erb +0 -124
- data/lib/ui/web/dispatcher_manager.rb +0 -165
- data/lib/ui/web/instance_manager.rb +0 -87
- data/lib/ui/web/output_stream.rb +0 -94
- data/lib/ui/web/server.rb +0 -925
- data/lib/ui/web/server/public/reports/placeholder +0 -1
- data/lib/ui/web/server/views/dispatchers.erb +0 -100
- data/lib/ui/web/server/views/dispatchers_edit.erb +0 -42
- data/lib/ui/web/server/views/error.erb +0 -1
- data/lib/ui/web/server/views/home.erb +0 -25
- data/metamodules/autothrottle.rb +0 -74
- data/plugins/metamodules.rb +0 -118
- data/profiles/comprehensive.afp +0 -74
- data/reports/plugin_formatters/html/metamodules.rb +0 -93
- data/reports/plugin_formatters/xml/metamodules.rb +0 -91
data/modules/audit/rfi.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
=begin
|
2
|
-
$Id$
|
3
|
-
|
4
2
|
Arachni
|
5
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
6
4
|
|
7
5
|
This is free software; you can copy and distribute and modify
|
8
6
|
this program under the term of the GPL v2.0 License
|
@@ -11,7 +9,6 @@
|
|
11
9
|
=end
|
12
10
|
|
13
11
|
module Arachni
|
14
|
-
|
15
12
|
module Modules
|
16
13
|
|
17
14
|
#
|
@@ -24,7 +21,7 @@ module Modules
|
|
24
21
|
# @author: Tasos "Zapotek" Laskos
|
25
22
|
# <tasos.laskos@gmail.com>
|
26
23
|
# <zapotek@segfault.gr>
|
27
|
-
# @version: 0.1.
|
24
|
+
# @version: 0.1.4
|
28
25
|
#
|
29
26
|
# @see http://cwe.mitre.org/data/definitions/94.html
|
30
27
|
# @see http://projects.webappsec.org/Remote-File-Inclusion
|
@@ -32,43 +29,6 @@ module Modules
|
|
32
29
|
#
|
33
30
|
class RFI < Arachni::Module::Base # *always* extend Arachni::Module::Base
|
34
31
|
|
35
|
-
#
|
36
|
-
# Arachni::Module::HTTP instance
|
37
|
-
#
|
38
|
-
# You don't really need to declare this,
|
39
|
-
# you inherit it from Arachni::Module
|
40
|
-
#
|
41
|
-
# It's an initialized object of the Arachni::Module::HTTP instance
|
42
|
-
# class configured with proxy, authentication, SSL settings etc.
|
43
|
-
#
|
44
|
-
# Look at Arachni::Module::HTTP instance doc to see what you get.
|
45
|
-
#
|
46
|
-
# If you need direct access to the Net::HTTP session you can get
|
47
|
-
# it from @http.session
|
48
|
-
#
|
49
|
-
# @return [Arachni::Module::HTTP]
|
50
|
-
#
|
51
|
-
attr_reader :http
|
52
|
-
|
53
|
-
#
|
54
|
-
# REQUIRED
|
55
|
-
#
|
56
|
-
# Initializes the module and the parent.
|
57
|
-
#
|
58
|
-
# @see Arachni::Module::Base
|
59
|
-
# @see Page
|
60
|
-
#
|
61
|
-
# @param [Page] page you can always expect this to be provided
|
62
|
-
# by the system.
|
63
|
-
#
|
64
|
-
def initialize( page )
|
65
|
-
# unless you want to do something freaky
|
66
|
-
# *do not* ommit the following line
|
67
|
-
super( page )
|
68
|
-
|
69
|
-
# init your stuff here
|
70
|
-
end
|
71
|
-
|
72
32
|
#
|
73
33
|
# OPTIONAL
|
74
34
|
#
|
@@ -77,7 +37,7 @@ class RFI < Arachni::Module::Base # *always* extend Arachni::Module::Base
|
|
77
37
|
#
|
78
38
|
# It may be redundant but it's optional anyways...
|
79
39
|
#
|
80
|
-
def prepare
|
40
|
+
def prepare
|
81
41
|
#
|
82
42
|
# You can use print_debug() for debugging.
|
83
43
|
# Don't over-do ti though, debugging messages are supposed to
|
@@ -112,7 +72,7 @@ class RFI < Arachni::Module::Base # *always* extend Arachni::Module::Base
|
|
112
72
|
#
|
113
73
|
# This is used to deliver the module's payload whatever it may be.
|
114
74
|
#
|
115
|
-
def run
|
75
|
+
def run
|
116
76
|
print_debug( 'In run()' )
|
117
77
|
|
118
78
|
audit( @__injection_url, @__opts )
|
@@ -126,7 +86,7 @@ class RFI < Arachni::Module::Base # *always* extend Arachni::Module::Base
|
|
126
86
|
#
|
127
87
|
# May also be redundant but, once again, it's optional
|
128
88
|
#
|
129
|
-
def clean_up
|
89
|
+
def clean_up
|
130
90
|
print_debug( 'In clean_up()' )
|
131
91
|
end
|
132
92
|
|
@@ -155,7 +115,7 @@ class RFI < Arachni::Module::Base # *always* extend Arachni::Module::Base
|
|
155
115
|
Issue::Element::HEADER
|
156
116
|
],
|
157
117
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
158
|
-
:version => '0.1.
|
118
|
+
:version => '0.1.4',
|
159
119
|
:references => {
|
160
120
|
'WASC' => 'http://projects.webappsec.org/Remote-File-Inclusion',
|
161
121
|
'Wikipedia' => 'http://en.wikipedia.org/wiki/Remote_File_Inclusion'
|
data/modules/audit/sqli.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
=begin
|
2
|
-
$Id$
|
3
|
-
|
4
2
|
Arachni
|
5
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
6
4
|
|
7
5
|
This is free software; you can copy and distribute and modify
|
8
6
|
this program under the term of the GPL v2.0 License
|
@@ -22,7 +20,7 @@ module Modules
|
|
22
20
|
# @author: Tasos "Zapotek" Laskos
|
23
21
|
# <tasos.laskos@gmail.com>
|
24
22
|
# <zapotek@segfault.gr>
|
25
|
-
# @version: 0.1.
|
23
|
+
# @version: 0.1.5
|
26
24
|
#
|
27
25
|
# @see http://cwe.mitre.org/data/definitions/89.html
|
28
26
|
# @see http://unixwiz.net/techtips/sql-injection.html
|
@@ -34,11 +32,7 @@ class SQLInjection < Arachni::Module::Base
|
|
34
32
|
|
35
33
|
include Arachni::Module::Utilities
|
36
34
|
|
37
|
-
def
|
38
|
-
super( page )
|
39
|
-
end
|
40
|
-
|
41
|
-
def prepare( )
|
35
|
+
def prepare
|
42
36
|
|
43
37
|
#
|
44
38
|
# it's better to save big arrays to a file
|
@@ -75,7 +69,7 @@ class SQLInjection < Arachni::Module::Base
|
|
75
69
|
|
76
70
|
end
|
77
71
|
|
78
|
-
def run
|
72
|
+
def run
|
79
73
|
@__injection_str.each { |str| audit( str, @__opts ) }
|
80
74
|
end
|
81
75
|
|
@@ -91,7 +85,7 @@ class SQLInjection < Arachni::Module::Base
|
|
91
85
|
Issue::Element::HEADER
|
92
86
|
],
|
93
87
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
94
|
-
:version => '0.1.
|
88
|
+
:version => '0.1.5',
|
95
89
|
:references => {
|
96
90
|
'UnixWiz' => 'http://unixwiz.net/techtips/sql-injection.html',
|
97
91
|
'Wikipedia' => 'http://en.wikipedia.org/wiki/SQL_injection',
|
@@ -17,9 +17,7 @@ ADODB\.Field \(0x800A0BCD\)<br>
|
|
17
17
|
Procedure '[^']+' requires parameter '[^']+'
|
18
18
|
ADODB\.Recordset\'
|
19
19
|
Unclosed quotation mark before the character string
|
20
|
-
SQLCODE
|
21
20
|
DB2 SQL error:
|
22
|
-
SQLSTATE
|
23
21
|
\[IBM\]\[CLI Driver\]\[DB26000\]
|
24
22
|
\[CLI Driver\]
|
25
23
|
\[DB26000\]
|
@@ -55,10 +53,6 @@ A Parser Error \(syntax error\)
|
|
55
53
|
java\.sql\.SQLException
|
56
54
|
Unexpected end of command in statement
|
57
55
|
\[Macromedia\]\[SQLServer JDBC Driver\]
|
58
|
-
SELECT .*? FROM .*?
|
59
|
-
UPDATE .*? SET .*?
|
60
|
-
INSERT INTO .*?
|
61
|
-
Unknown column
|
62
56
|
where clause
|
63
57
|
SQL syntax.*MySQL
|
64
58
|
Warning.*mysql_.*
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
Arachni
|
3
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
4
4
|
|
5
5
|
This is free software; you can copy and distribute and modify
|
6
6
|
this program under the term of the GPL v2.0 License
|
@@ -9,7 +9,6 @@
|
|
9
9
|
=end
|
10
10
|
|
11
11
|
module Arachni
|
12
|
-
|
13
12
|
module Modules
|
14
13
|
|
15
14
|
#
|
@@ -21,7 +20,7 @@ module Modules
|
|
21
20
|
# @author: Tasos "Zapotek" Laskos
|
22
21
|
# <tasos.laskos@gmail.com>
|
23
22
|
# <zapotek@segfault.gr>
|
24
|
-
# @version: 0.3
|
23
|
+
# @version: 0.3.1
|
25
24
|
#
|
26
25
|
# @see http://cwe.mitre.org/data/definitions/89.html
|
27
26
|
# @see http://capec.mitre.org/data/definitions/7.html
|
@@ -31,10 +30,6 @@ class BlindrDiffSQLInjection < Arachni::Module::Base
|
|
31
30
|
|
32
31
|
include Arachni::Module::Utilities
|
33
32
|
|
34
|
-
def initialize( page )
|
35
|
-
super( page )
|
36
|
-
end
|
37
|
-
|
38
33
|
def prepare
|
39
34
|
@@__bools ||= []
|
40
35
|
|
@@ -50,9 +45,9 @@ class BlindrDiffSQLInjection < Arachni::Module::Base
|
|
50
45
|
end
|
51
46
|
end
|
52
47
|
|
53
|
-
def run
|
54
|
-
|
48
|
+
def run
|
55
49
|
opts = {}
|
50
|
+
|
56
51
|
# fault injection seeds
|
57
52
|
opts[:faults] = [ '\'"`' ]
|
58
53
|
# boolean injection seeds
|
@@ -75,7 +70,7 @@ class BlindrDiffSQLInjection < Arachni::Module::Base
|
|
75
70
|
Issue::Element::COOKIE
|
76
71
|
],
|
77
72
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
78
|
-
:version => '0.3',
|
73
|
+
:version => '0.3.1',
|
79
74
|
:references => {
|
80
75
|
'OWASP' => 'http://www.owasp.org/index.php/Blind_SQL_Injection',
|
81
76
|
'MITRE - CAPEC' => 'http://capec.mitre.org/data/definitions/7.html'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
Arachni
|
3
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
4
4
|
|
5
5
|
This is free software; you can copy and distribute and modify
|
6
6
|
this program under the term of the GPL v2.0 License
|
@@ -18,7 +18,7 @@ module Modules
|
|
18
18
|
# @author: Tasos "Zapotek" Laskos
|
19
19
|
# <tasos.laskos@gmail.com>
|
20
20
|
# <zapotek@segfault.gr>
|
21
|
-
# @version: 0.2.
|
21
|
+
# @version: 0.2.2
|
22
22
|
#
|
23
23
|
# @see http://cwe.mitre.org/data/definitions/89.html
|
24
24
|
# @see http://capec.mitre.org/data/definitions/7.html
|
@@ -28,12 +28,7 @@ class BlindTimingSQLInjection < Arachni::Module::Base
|
|
28
28
|
|
29
29
|
include Arachni::Module::Utilities
|
30
30
|
|
31
|
-
def
|
32
|
-
super( page )
|
33
|
-
end
|
34
|
-
|
35
|
-
def prepare( )
|
36
|
-
|
31
|
+
def prepare
|
37
32
|
@@__injection_str ||= []
|
38
33
|
|
39
34
|
if @@__injection_str.empty?
|
@@ -75,7 +70,7 @@ class BlindTimingSQLInjection < Arachni::Module::Base
|
|
75
70
|
Issue::Element::HEADER
|
76
71
|
],
|
77
72
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
78
|
-
:version => '0.2.
|
73
|
+
:version => '0.2.2',
|
79
74
|
:references => {
|
80
75
|
'OWASP' => 'http://www.owasp.org/index.php/Blind_SQL_Injection',
|
81
76
|
'MITRE - CAPEC' => 'http://capec.mitre.org/data/definitions/7.html'
|
data/modules/audit/trainer.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
Arachni
|
3
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
4
4
|
|
5
5
|
This is free software; you can copy and distribute and modify
|
6
6
|
this program under the term of the GPL v2.0 License
|
@@ -9,7 +9,6 @@
|
|
9
9
|
=end
|
10
10
|
|
11
11
|
module Arachni
|
12
|
-
|
13
12
|
module Modules
|
14
13
|
|
15
14
|
#
|
@@ -22,25 +21,21 @@ module Modules
|
|
22
21
|
# @author: Tasos "Zapotek" Laskos
|
23
22
|
# <tasos.laskos@gmail.com>
|
24
23
|
# <zapotek@segfault.gr>
|
25
|
-
# @version: 0.1
|
24
|
+
# @version: 0.1.1
|
26
25
|
#
|
27
26
|
#
|
28
27
|
class Trainer < Arachni::Module::Base
|
29
28
|
|
30
29
|
include Arachni::Module::Utilities
|
31
30
|
|
32
|
-
def
|
33
|
-
super( page )
|
34
|
-
end
|
35
|
-
|
36
|
-
def prepare( )
|
31
|
+
def prepare
|
37
32
|
|
38
33
|
# this will be the used as the injection string
|
39
34
|
@str = '_arachni_trainer_' + seed
|
40
35
|
|
41
36
|
@opts = {
|
42
37
|
#
|
43
|
-
# tell the
|
38
|
+
# tell the framework to learn from the
|
44
39
|
# server responses that this module will cause.
|
45
40
|
#
|
46
41
|
:train => true,
|
@@ -48,8 +43,7 @@ class Trainer < Arachni::Module::Base
|
|
48
43
|
}
|
49
44
|
end
|
50
45
|
|
51
|
-
def run
|
52
|
-
|
46
|
+
def run
|
53
47
|
#
|
54
48
|
# this will inject the string in @str into all available inputs
|
55
49
|
#
|
@@ -77,7 +71,7 @@ class Trainer < Arachni::Module::Base
|
|
77
71
|
Issue::Element::HEADER
|
78
72
|
],
|
79
73
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
80
|
-
:version => '0.1',
|
74
|
+
:version => '0.1.1',
|
81
75
|
:references => {
|
82
76
|
},
|
83
77
|
:targets => { 'Generic' => 'all' },
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
Arachni
|
3
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
4
4
|
|
5
5
|
This is free software; you can copy and distribute and modify
|
6
6
|
this program under the term of the GPL v2.0 License
|
@@ -22,28 +22,17 @@ module Modules
|
|
22
22
|
# @author: Tasos "Zapotek" Laskos
|
23
23
|
# <tasos.laskos@gmail.com>
|
24
24
|
# <zapotek@segfault.gr>
|
25
|
-
# @version: 0.1.
|
25
|
+
# @version: 0.1.3
|
26
26
|
#
|
27
27
|
# @see http://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards
|
28
28
|
#
|
29
29
|
class UnvalidatedRedirect < Arachni::Module::Base
|
30
30
|
|
31
|
-
def
|
32
|
-
|
33
|
-
|
34
|
-
# initialize the array that will hold the results
|
35
|
-
@results = []
|
36
|
-
end
|
37
|
-
|
38
|
-
def prepare( )
|
39
|
-
@__urls = [
|
31
|
+
def run
|
32
|
+
[
|
40
33
|
'www.arachni-boogie-woogie.com',
|
41
34
|
'http://www.arachni-boogie-woogie.com',
|
42
|
-
]
|
43
|
-
end
|
44
|
-
|
45
|
-
def run( )
|
46
|
-
@__urls.each {
|
35
|
+
].each {
|
47
36
|
|url|
|
48
37
|
audit( url ) {
|
49
38
|
|res, opts|
|
@@ -65,7 +54,7 @@ class UnvalidatedRedirect < Arachni::Module::Base
|
|
65
54
|
Issue::Element::HEADER
|
66
55
|
],
|
67
56
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
68
|
-
:version => '0.1.
|
57
|
+
:version => '0.1.3',
|
69
58
|
:references => {
|
70
59
|
'OWASP Top 10 2010' => 'http://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards'
|
71
60
|
},
|
data/modules/audit/xpath.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
=begin
|
2
|
-
$Id$
|
3
|
-
|
4
2
|
Arachni
|
5
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
6
4
|
|
7
5
|
This is free software; you can copy and distribute and modify
|
8
6
|
this program under the term of the GPL v2.0 License
|
@@ -11,7 +9,6 @@
|
|
11
9
|
=end
|
12
10
|
|
13
11
|
module Arachni
|
14
|
-
|
15
12
|
module Modules
|
16
13
|
|
17
14
|
#
|
@@ -20,7 +17,7 @@ module Modules
|
|
20
17
|
# @author: Tasos "Zapotek" Laskos
|
21
18
|
# <tasos.laskos@gmail.com>
|
22
19
|
# <zapotek@segfault.gr>
|
23
|
-
# @version: 0.1
|
20
|
+
# @version: 0.1.1
|
24
21
|
#
|
25
22
|
# @see http://cwe.mitre.org/data/definitions/91.html
|
26
23
|
# @see http://www.owasp.org/index.php/XPATH_Injection
|
@@ -30,11 +27,7 @@ class XPathInjection < Arachni::Module::Base
|
|
30
27
|
|
31
28
|
include Arachni::Module::Utilities
|
32
29
|
|
33
|
-
def
|
34
|
-
super( page )
|
35
|
-
end
|
36
|
-
|
37
|
-
def prepare( )
|
30
|
+
def prepare
|
38
31
|
|
39
32
|
#
|
40
33
|
# we make this a class variable and populate it only once
|
@@ -60,7 +53,7 @@ class XPathInjection < Arachni::Module::Base
|
|
60
53
|
|
61
54
|
end
|
62
55
|
|
63
|
-
def run
|
56
|
+
def run
|
64
57
|
@__injection_strs.each {
|
65
58
|
|str|
|
66
59
|
audit( str, @__opts )
|
@@ -79,7 +72,7 @@ class XPathInjection < Arachni::Module::Base
|
|
79
72
|
Issue::Element::HEADER
|
80
73
|
],
|
81
74
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>',
|
82
|
-
:version => '0.1',
|
75
|
+
:version => '0.1.1',
|
83
76
|
:references => {
|
84
77
|
'OWASP' => 'http://www.owasp.org/index.php/XPATH_Injection'
|
85
78
|
},
|
data/modules/audit/xss.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
Arachni
|
3
|
-
Copyright (c) 2010-
|
3
|
+
Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
4
4
|
|
5
5
|
This is free software; you can copy and distribute and modify
|
6
6
|
this program under the term of the GPL v2.0 License
|
@@ -9,18 +9,18 @@
|
|
9
9
|
=end
|
10
10
|
|
11
11
|
module Arachni
|
12
|
-
|
13
12
|
module Modules
|
14
13
|
|
15
14
|
#
|
16
|
-
# XSS audit module
|
17
|
-
# It audits links, forms and cookies.
|
15
|
+
# XSS audit module
|
18
16
|
#
|
17
|
+
# It doesn't just look for the injected XSS string in the HMTL code
|
18
|
+
# but actually parses the code and looks for the injected element proper.
|
19
19
|
#
|
20
20
|
# @author: Tasos "Zapotek" Laskos
|
21
21
|
# <tasos.laskos@gmail.com>
|
22
22
|
# <zapotek@segfault.gr>
|
23
|
-
# @version: 0.
|
23
|
+
# @version: 0.3.1
|
24
24
|
#
|
25
25
|
# @see http://cwe.mitre.org/data/definitions/79.html
|
26
26
|
# @see http://ha.ckers.org/xss.html
|
@@ -30,40 +30,54 @@ class XSS < Arachni::Module::Base
|
|
30
30
|
|
31
31
|
include Arachni::Module::Utilities
|
32
32
|
|
33
|
-
def
|
34
|
-
|
35
|
-
|
36
|
-
@results = []
|
37
|
-
end
|
38
|
-
|
39
|
-
def prepare( )
|
33
|
+
def prepare
|
34
|
+
@_tag_name = 'some_dangerous_input_' + seed
|
40
35
|
@_injection_strs = [
|
41
|
-
|
42
|
-
'<
|
36
|
+
# straight injection
|
37
|
+
'<' + @_tag_name + ' />',
|
38
|
+
# go for an error
|
39
|
+
'\'-;<' + @_tag_name + ' />',
|
40
|
+
# break out of HTML comments
|
41
|
+
'--> <' + @_tag_name + ' /> <!--',
|
43
42
|
]
|
44
43
|
@_opts = {
|
45
|
-
:format => [ Format::APPEND | Format::
|
44
|
+
:format => [ Format::APPEND | Format::STRAIGHT ],
|
46
45
|
:flip_param => true
|
47
46
|
}
|
48
47
|
end
|
49
48
|
|
50
|
-
def run
|
49
|
+
def run
|
50
|
+
|
51
|
+
opts = @_opts.dup
|
51
52
|
@_injection_strs.each {
|
52
53
|
|str|
|
53
54
|
|
54
|
-
opts =
|
55
|
-
:match => str,
|
56
|
-
:substring => str
|
57
|
-
}.merge( @_opts )
|
55
|
+
opts[:match] = opts[:substring] = str
|
58
56
|
|
59
|
-
audit( str, opts )
|
57
|
+
audit( str, opts ) {
|
58
|
+
|res, opts|
|
59
|
+
check_and_log( res, opts )
|
60
|
+
}
|
60
61
|
}
|
61
62
|
end
|
62
63
|
|
64
|
+
def check_and_log( res, opts )
|
65
|
+
doc = Nokogiri::HTML( res.body )
|
66
|
+
|
67
|
+
# see if we managed to successfully inject our element
|
68
|
+
if !doc.xpath( "//#{@_tag_name}" ).empty?
|
69
|
+
opts[:match] = opts[:injected]
|
70
|
+
log( opts, res )
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
63
74
|
def self.info
|
64
75
|
{
|
65
76
|
:name => 'XSS',
|
66
|
-
:description => %q{Cross-Site Scripting module
|
77
|
+
:description => %q{Cross-Site Scripting module.
|
78
|
+
It doesn't just look for the injected XSS string in the HMTL code
|
79
|
+
but actually parses the code and looks for the injected element proper.
|
80
|
+
},
|
67
81
|
:elements => [
|
68
82
|
Issue::Element::FORM,
|
69
83
|
Issue::Element::LINK,
|
@@ -71,7 +85,7 @@ class XSS < Arachni::Module::Base
|
|
71
85
|
Issue::Element::HEADER
|
72
86
|
],
|
73
87
|
:author => 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> ',
|
74
|
-
:version => '0.
|
88
|
+
:version => '0.3.1',
|
75
89
|
:references => {
|
76
90
|
'ha.ckers' => 'http://ha.ckers.org/xss.html',
|
77
91
|
'Secunia' => 'http://secunia.com/advisories/9716/'
|