diff --git a/lib/ronin/recon/builtin.rb b/lib/ronin/recon/builtin.rb index f4aae1c..a85fe15 100644 --- a/lib/ronin/recon/builtin.rb +++ b/lib/ronin/recon/builtin.rb @@ -18,17 +18,17 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/builtin/dns/lookup' -require 'ronin/recon/builtin/dns/reverse_lookup' -require 'ronin/recon/builtin/dns/mailservers' -require 'ronin/recon/builtin/dns/nameservers' -require 'ronin/recon/builtin/dns/subdomain_enum' -require 'ronin/recon/builtin/dns/suffix_enum' -require 'ronin/recon/builtin/dns/srv_enum' -require 'ronin/recon/builtin/net/ip_range_enum' -require 'ronin/recon/builtin/net/port_scan' -require 'ronin/recon/builtin/net/service_id' -require 'ronin/recon/builtin/ssl/cert_grab' -require 'ronin/recon/builtin/ssl/cert_enum' -require 'ronin/recon/builtin/web/spider' -require 'ronin/recon/builtin/web/dir_enum' +require_relative 'builtin/dns/lookup' +require_relative 'builtin/dns/reverse_lookup' +require_relative 'builtin/dns/mailservers' +require_relative 'builtin/dns/nameservers' +require_relative 'builtin/dns/subdomain_enum' +require_relative 'builtin/dns/suffix_enum' +require_relative 'builtin/dns/srv_enum' +require_relative 'builtin/net/ip_range_enum' +require_relative 'builtin/net/port_scan' +require_relative 'builtin/net/service_id' +require_relative 'builtin/ssl/cert_grab' +require_relative 'builtin/ssl/cert_enum' +require_relative 'builtin/web/spider' +require_relative 'builtin/web/dir_enum' diff --git a/lib/ronin/recon/builtin/api/crt_sh.rb b/lib/ronin/recon/builtin/api/crt_sh.rb index c69279d..d1bf59d 100644 --- a/lib/ronin/recon/builtin/api/crt_sh.rb +++ b/lib/ronin/recon/builtin/api/crt_sh.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' +require_relative '../../worker' require 'ronin/support/text/patterns/network' require 'async/http/internet/instance' diff --git a/lib/ronin/recon/builtin/dns/lookup.rb b/lib/ronin/recon/builtin/dns/lookup.rb index 1231b9a..53526f7 100644 --- a/lib/ronin/recon/builtin/dns/lookup.rb +++ b/lib/ronin/recon/builtin/dns/lookup.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' +require_relative '../../dns_worker' module Ronin module Recon diff --git a/lib/ronin/recon/builtin/dns/mailservers.rb b/lib/ronin/recon/builtin/dns/mailservers.rb index 9a1a6ad..cdbefac 100644 --- a/lib/ronin/recon/builtin/dns/mailservers.rb +++ b/lib/ronin/recon/builtin/dns/mailservers.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' +require_relative '../../dns_worker' module Ronin module Recon diff --git a/lib/ronin/recon/builtin/dns/nameservers.rb b/lib/ronin/recon/builtin/dns/nameservers.rb index 49b8e3c..c87657b 100644 --- a/lib/ronin/recon/builtin/dns/nameservers.rb +++ b/lib/ronin/recon/builtin/dns/nameservers.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' +require_relative '../../dns_worker' module Ronin module Recon diff --git a/lib/ronin/recon/builtin/dns/reverse_lookup.rb b/lib/ronin/recon/builtin/dns/reverse_lookup.rb index b1ec8a4..a25805e 100644 --- a/lib/ronin/recon/builtin/dns/reverse_lookup.rb +++ b/lib/ronin/recon/builtin/dns/reverse_lookup.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' +require_relative '../../dns_worker' module Ronin module Recon diff --git a/lib/ronin/recon/builtin/dns/srv_enum.rb b/lib/ronin/recon/builtin/dns/srv_enum.rb index b312099..a0a2a68 100644 --- a/lib/ronin/recon/builtin/dns/srv_enum.rb +++ b/lib/ronin/recon/builtin/dns/srv_enum.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' -require 'ronin/recon/root' +require_relative '../../dns_worker' +require_relative '../../root' require 'wordlist' require 'async/queue' diff --git a/lib/ronin/recon/builtin/dns/subdomain_enum.rb b/lib/ronin/recon/builtin/dns/subdomain_enum.rb index d04223a..f823d2e 100644 --- a/lib/ronin/recon/builtin/dns/subdomain_enum.rb +++ b/lib/ronin/recon/builtin/dns/subdomain_enum.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' -require 'ronin/recon/root' +require_relative '../../dns_worker' +require_relative '../../root' require 'wordlist' require 'async/queue' diff --git a/lib/ronin/recon/builtin/dns/suffix_enum.rb b/lib/ronin/recon/builtin/dns/suffix_enum.rb index d3bb6d9..26569c7 100644 --- a/lib/ronin/recon/builtin/dns/suffix_enum.rb +++ b/lib/ronin/recon/builtin/dns/suffix_enum.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/dns_worker' +require_relative '../../dns_worker' require 'ronin/support/network/public_suffix' require 'async/queue' diff --git a/lib/ronin/recon/builtin/net/ip_range_enum.rb b/lib/ronin/recon/builtin/net/ip_range_enum.rb index 245b074..e2d53e5 100644 --- a/lib/ronin/recon/builtin/net/ip_range_enum.rb +++ b/lib/ronin/recon/builtin/net/ip_range_enum.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' +require_relative '../../worker' require 'ronin/support/network/ip_range' module Ronin diff --git a/lib/ronin/recon/builtin/net/port_scan.rb b/lib/ronin/recon/builtin/net/port_scan.rb index 16124ad..0e7c181 100644 --- a/lib/ronin/recon/builtin/net/port_scan.rb +++ b/lib/ronin/recon/builtin/net/port_scan.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' +require_relative '../../worker' require 'ronin/nmap' diff --git a/lib/ronin/recon/builtin/net/service_id.rb b/lib/ronin/recon/builtin/net/service_id.rb index 0de40fd..4eacc98 100644 --- a/lib/ronin/recon/builtin/net/service_id.rb +++ b/lib/ronin/recon/builtin/net/service_id.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' +require_relative '../../worker' module Ronin module Recon diff --git a/lib/ronin/recon/builtin/ssl/cert_enum.rb b/lib/ronin/recon/builtin/ssl/cert_enum.rb index 0b3f338..fbd4956 100644 --- a/lib/ronin/recon/builtin/ssl/cert_enum.rb +++ b/lib/ronin/recon/builtin/ssl/cert_enum.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' -require 'ronin/recon/value/parser' +require_relative '../../worker' +require_relative '../../value/parser' require 'async/io' diff --git a/lib/ronin/recon/builtin/ssl/cert_grab.rb b/lib/ronin/recon/builtin/ssl/cert_grab.rb index 067d32b..2de412a 100644 --- a/lib/ronin/recon/builtin/ssl/cert_grab.rb +++ b/lib/ronin/recon/builtin/ssl/cert_grab.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' +require_relative '../../worker' require 'async/io' diff --git a/lib/ronin/recon/builtin/web/dir_enum.rb b/lib/ronin/recon/builtin/web/dir_enum.rb index 805de85..df26910 100644 --- a/lib/ronin/recon/builtin/web/dir_enum.rb +++ b/lib/ronin/recon/builtin/web/dir_enum.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/web_worker' -require 'ronin/recon/root' +require_relative '../../web_worker' +require_relative '../../root' require 'wordlist' require 'uri' diff --git a/lib/ronin/recon/builtin/web/email_addresses.rb b/lib/ronin/recon/builtin/web/email_addresses.rb index 8692690..1fb781a 100644 --- a/lib/ronin/recon/builtin/web/email_addresses.rb +++ b/lib/ronin/recon/builtin/web/email_addresses.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/web_worker' -require 'ronin/recon/builtin/web/spider' +require_relative '../../web_worker' +require_relative 'spider' require 'ronin/support/text/patterns' module Ronin diff --git a/lib/ronin/recon/builtin/web/spider.rb b/lib/ronin/recon/builtin/web/spider.rb index 1417dbf..f613af5 100644 --- a/lib/ronin/recon/builtin/web/spider.rb +++ b/lib/ronin/recon/builtin/web/spider.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/web_worker' +require_relative '../../web_worker' require 'ronin/web/spider' diff --git a/lib/ronin/recon/cli.rb b/lib/ronin/recon/cli.rb index a6d7d2c..94f8e3d 100644 --- a/lib/ronin/recon/cli.rb +++ b/lib/ronin/recon/cli.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/version' +require_relative 'version' require 'ronin/core/cli/help/banner' require 'command_kit/commands' diff --git a/lib/ronin/recon/cli/command.rb b/lib/ronin/recon/cli/command.rb index ce9f865..c454437 100644 --- a/lib/ronin/recon/cli/command.rb +++ b/lib/ronin/recon/cli/command.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/root' +require_relative '../root' require 'ronin/core/cli/command' diff --git a/lib/ronin/recon/cli/commands/completion.rb b/lib/ronin/recon/cli/commands/completion.rb index 96f66d1..dbd2154 100644 --- a/lib/ronin/recon/cli/commands/completion.rb +++ b/lib/ronin/recon/cli/commands/completion.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/root' +require_relative '../../root' require 'ronin/core/cli/completion_command' module Ronin diff --git a/lib/ronin/recon/cli/commands/irb.rb b/lib/ronin/recon/cli/commands/irb.rb index 1d43aa3..d3fb029 100644 --- a/lib/ronin/recon/cli/commands/irb.rb +++ b/lib/ronin/recon/cli/commands/irb.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/command' -require 'ronin/recon/cli/ruby_shell' +require_relative '../command' +require_relative '../ruby_shell' module Ronin module Recon diff --git a/lib/ronin/recon/cli/commands/new.rb b/lib/ronin/recon/cli/commands/new.rb index 317fd31..65cb4c0 100644 --- a/lib/ronin/recon/cli/commands/new.rb +++ b/lib/ronin/recon/cli/commands/new.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/command' -require 'ronin/recon/root' +require_relative '../command' +require_relative '../../root' require 'ronin/core/cli/generator' require 'ronin/core/cli/generator/options/author' diff --git a/lib/ronin/recon/cli/commands/run.rb b/lib/ronin/recon/cli/commands/run.rb index 7ba0d10..21dc32c 100644 --- a/lib/ronin/recon/cli/commands/run.rb +++ b/lib/ronin/recon/cli/commands/run.rb @@ -18,13 +18,13 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/command' -require 'ronin/recon/cli/debug_option' -require 'ronin/recon/cli/printing' -require 'ronin/recon/value/parser' -require 'ronin/recon/registry' -require 'ronin/recon/engine' -require 'ronin/recon/output_formats' +require_relative '../command' +require_relative '../debug_option' +require_relative '../printing' +require_relative '../../value/parser' +require_relative '../../registry' +require_relative '../../engine' +require_relative '../../output_formats' require 'ronin/db/cli/database_options' require 'ronin/core/cli/logging' @@ -267,7 +267,7 @@ def run(*values) if options[:import] require 'ronin/db' - require 'ronin/recon/importer' + require_relative 'importer' db_connect end diff --git a/lib/ronin/recon/cli/commands/test.rb b/lib/ronin/recon/cli/commands/test.rb index df14ef2..26d0134 100644 --- a/lib/ronin/recon/cli/commands/test.rb +++ b/lib/ronin/recon/cli/commands/test.rb @@ -18,10 +18,10 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/worker_command' -require 'ronin/recon/cli/debug_option' -require 'ronin/recon/cli/printing' -require 'ronin/recon/value/parser' +require_relative '../worker_command' +require_relative '../debug_option' +require_relative '../printing' +require_relative '../../value/parser' require 'ronin/core/cli/options/param' require 'ronin/core/cli/logging' diff --git a/lib/ronin/recon/cli/commands/worker.rb b/lib/ronin/recon/cli/commands/worker.rb index a4702c1..76aa5fe 100644 --- a/lib/ronin/recon/cli/commands/worker.rb +++ b/lib/ronin/recon/cli/commands/worker.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/worker_command' -require 'ronin/recon/cli/printing' +require_relative '../worker_command' +require_relative '../printing' require 'ronin/core/cli/printing/metadata' require 'ronin/core/cli/printing/params' diff --git a/lib/ronin/recon/cli/commands/workers.rb b/lib/ronin/recon/cli/commands/workers.rb index 4937fcd..a8ca448 100644 --- a/lib/ronin/recon/cli/commands/workers.rb +++ b/lib/ronin/recon/cli/commands/workers.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/command' -require 'ronin/recon/registry' +require_relative '../command' +require_relative '../../registry' module Ronin module Recon diff --git a/lib/ronin/recon/cli/printing.rb b/lib/ronin/recon/cli/printing.rb index 6b66bc0..63d36d7 100644 --- a/lib/ronin/recon/cli/printing.rb +++ b/lib/ronin/recon/cli/printing.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values' +require_relative '../values' require 'ronin/core/cli/logging' module Ronin diff --git a/lib/ronin/recon/cli/worker_command.rb b/lib/ronin/recon/cli/worker_command.rb index 4acd274..1975147 100644 --- a/lib/ronin/recon/cli/worker_command.rb +++ b/lib/ronin/recon/cli/worker_command.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/cli/command' -require 'ronin/recon/registry' +require_relative 'command' +require_relative '../registry' module Ronin module Recon diff --git a/lib/ronin/recon/config.rb b/lib/ronin/recon/config.rb index 085c83a..bef15e3 100644 --- a/lib/ronin/recon/config.rb +++ b/lib/ronin/recon/config.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/exceptions' +require_relative 'exceptions' require 'ronin/core/home' require 'set' diff --git a/lib/ronin/recon/dns_worker.rb b/lib/ronin/recon/dns_worker.rb index c728f3e..892bc2d 100644 --- a/lib/ronin/recon/dns_worker.rb +++ b/lib/ronin/recon/dns_worker.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' -require 'ronin/recon/mixins/dns' +require_relative 'worker' +require_relative 'mixins/dns' require 'ronin/support/network/dns' diff --git a/lib/ronin/recon/engine.rb b/lib/ronin/recon/engine.rb index a25ffb4..bf2e7fc 100644 --- a/lib/ronin/recon/engine.rb +++ b/lib/ronin/recon/engine.rb @@ -18,19 +18,19 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/config' -require 'ronin/recon/workers' -require 'ronin/recon/worker_pool' -require 'ronin/recon/value_status' -require 'ronin/recon/graph' -require 'ronin/recon/scope' -require 'ronin/recon/message/worker_started' -require 'ronin/recon/message/worker_stopped' -require 'ronin/recon/message/job_started' -require 'ronin/recon/message/job_completed' -require 'ronin/recon/message/job_failed' -require 'ronin/recon/message/value' -require 'ronin/recon/message/shutdown' +require_relative 'config' +require_relative 'workers' +require_relative 'worker_pool' +require_relative 'value_status' +require_relative 'graph' +require_relative 'scope' +require_relative 'message/worker_started' +require_relative 'message/worker_stopped' +require_relative 'message/job_started' +require_relative 'message/job_completed' +require_relative 'message/job_failed' +require_relative 'message/value' +require_relative 'message/shutdown' require 'set' require 'console/logger' diff --git a/lib/ronin/recon/importer.rb b/lib/ronin/recon/importer.rb index c9c7968..e8eef6b 100644 --- a/lib/ronin/recon/importer.rb +++ b/lib/ronin/recon/importer.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values' +require_relative 'values' require 'ronin/db' diff --git a/lib/ronin/recon/input_file.rb b/lib/ronin/recon/input_file.rb index 024a7b0..2cb2ad8 100644 --- a/lib/ronin/recon/input_file.rb +++ b/lib/ronin/recon/input_file.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value/parser' +require_relative 'value/parser' module Ronin module Recon diff --git a/lib/ronin/recon/mixins.rb b/lib/ronin/recon/mixins.rb index c017741..6283a01 100644 --- a/lib/ronin/recon/mixins.rb +++ b/lib/ronin/recon/mixins.rb @@ -18,4 +18,4 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/mixins/dns' +require_relative 'mixins/dns' diff --git a/lib/ronin/recon/output_formats.rb b/lib/ronin/recon/output_formats.rb index 4f2a248..e7651ef 100644 --- a/lib/ronin/recon/output_formats.rb +++ b/lib/ronin/recon/output_formats.rb @@ -19,11 +19,11 @@ # require 'ronin/core/output_formats' -require 'ronin/recon/output_formats/dir' -require 'ronin/recon/output_formats/dot' -require 'ronin/recon/output_formats/svg' -require 'ronin/recon/output_formats/png' -require 'ronin/recon/output_formats/pdf' +require_relative 'output_formats/dir' +require_relative 'output_formats/dot' +require_relative 'output_formats/svg' +require_relative 'output_formats/png' +require_relative 'output_formats/pdf' module Ronin module Recon diff --git a/lib/ronin/recon/output_formats/dir.rb b/lib/ronin/recon/output_formats/dir.rb index e499422..4d355ef 100644 --- a/lib/ronin/recon/output_formats/dir.rb +++ b/lib/ronin/recon/output_formats/dir.rb @@ -19,7 +19,7 @@ # require 'ronin/core/output_formats/output_dir' -require 'ronin/recon/values' +require_relative '../values' require 'set' diff --git a/lib/ronin/recon/output_formats/dot.rb b/lib/ronin/recon/output_formats/dot.rb index beab04e..b625477 100644 --- a/lib/ronin/recon/output_formats/dot.rb +++ b/lib/ronin/recon/output_formats/dot.rb @@ -19,19 +19,19 @@ # require 'ronin/core/output_formats/output_file' -require 'ronin/recon/output_formats/graph_format' -require 'ronin/recon/values/domain' -require 'ronin/recon/values/mailserver' -require 'ronin/recon/values/nameserver' -require 'ronin/recon/values/host' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/ip_range' -require 'ronin/recon/values/open_port' -require 'ronin/recon/values/email_address' -require 'ronin/recon/values/cert' -require 'ronin/recon/values/url' -require 'ronin/recon/values/website' -require 'ronin/recon/values/wildcard' +require_relative 'graph_format' +require_relative '../values/domain' +require_relative '../values/mailserver' +require_relative '../values/nameserver' +require_relative '../values/host' +require_relative '../values/ip' +require_relative '../values/ip_range' +require_relative '../values/open_port' +require_relative '../values/email_address' +require_relative '../values/cert' +require_relative '../values/url' +require_relative '../values/website' +require_relative '../values/wildcard' require 'set' diff --git a/lib/ronin/recon/output_formats/graphviz_format.rb b/lib/ronin/recon/output_formats/graphviz_format.rb index e774dbb..0763f20 100644 --- a/lib/ronin/recon/output_formats/graphviz_format.rb +++ b/lib/ronin/recon/output_formats/graphviz_format.rb @@ -19,8 +19,8 @@ # require 'ronin/core/output_formats/output_file' -require 'ronin/recon/output_formats/graph_format' -require 'ronin/recon/output_formats/dot' +require_relative 'graph_format' +require_relative 'dot' require 'tempfile' diff --git a/lib/ronin/recon/output_formats/pdf.rb b/lib/ronin/recon/output_formats/pdf.rb index 4028d8b..b25b11c 100644 --- a/lib/ronin/recon/output_formats/pdf.rb +++ b/lib/ronin/recon/output_formats/pdf.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/output_formats/graphviz_format' +require_relative 'graphviz_format' module Ronin module Recon diff --git a/lib/ronin/recon/output_formats/png.rb b/lib/ronin/recon/output_formats/png.rb index 1c792b1..f4a10e1 100644 --- a/lib/ronin/recon/output_formats/png.rb +++ b/lib/ronin/recon/output_formats/png.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/output_formats/graphviz_format' +require_relative 'graphviz_format' module Ronin module Recon diff --git a/lib/ronin/recon/output_formats/svg.rb b/lib/ronin/recon/output_formats/svg.rb index b5d8505..a6d0bdf 100644 --- a/lib/ronin/recon/output_formats/svg.rb +++ b/lib/ronin/recon/output_formats/svg.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/output_formats/graphviz_format' +require_relative 'graphviz_format' module Ronin module Recon diff --git a/lib/ronin/recon/scope.rb b/lib/ronin/recon/scope.rb index 89916a5..b2d74ff 100644 --- a/lib/ronin/recon/scope.rb +++ b/lib/ronin/recon/scope.rb @@ -18,13 +18,13 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/wildcard' -require 'ronin/recon/values/domain' -require 'ronin/recon/values/host' -require 'ronin/recon/values/ip_range' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/url' -require 'ronin/recon/values/email_address' +require_relative 'values/wildcard' +require_relative 'values/domain' +require_relative 'values/host' +require_relative 'values/ip_range' +require_relative 'values/ip' +require_relative 'values/url' +require_relative 'values/email_address' module Ronin module Recon diff --git a/lib/ronin/recon/value/parser.rb b/lib/ronin/recon/value/parser.rb index 11418fa..ed0b923 100644 --- a/lib/ronin/recon/value/parser.rb +++ b/lib/ronin/recon/value/parser.rb @@ -18,13 +18,13 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/host' -require 'ronin/recon/values/domain' -require 'ronin/recon/values/wildcard' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/ip_range' -require 'ronin/recon/values/website' -require 'ronin/recon/exceptions' +require_relative '../values/host' +require_relative '../values/domain' +require_relative '../values/wildcard' +require_relative '../values/ip' +require_relative '../values/ip_range' +require_relative '../values/website' +require_relative '../exceptions' require 'ronin/support/network/ip' require 'ronin/support/network/ip_range' diff --git a/lib/ronin/recon/values.rb b/lib/ronin/recon/values.rb index 6759e8e..e55e9c1 100644 --- a/lib/ronin/recon/values.rb +++ b/lib/ronin/recon/values.rb @@ -18,15 +18,15 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/host' -require 'ronin/recon/values/nameserver' -require 'ronin/recon/values/mailserver' -require 'ronin/recon/values/domain' -require 'ronin/recon/values/wildcard' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/ip_range' -require 'ronin/recon/values/open_port' -require 'ronin/recon/values/email_address' -require 'ronin/recon/values/cert' -require 'ronin/recon/values/website' -require 'ronin/recon/values/url' +require_relative 'values/host' +require_relative 'values/nameserver' +require_relative 'values/mailserver' +require_relative 'values/domain' +require_relative 'values/wildcard' +require_relative 'values/ip' +require_relative 'values/ip_range' +require_relative 'values/open_port' +require_relative 'values/email_address' +require_relative 'values/cert' +require_relative 'values/website' +require_relative 'values/url' diff --git a/lib/ronin/recon/values/cert.rb b/lib/ronin/recon/values/cert.rb index f0f285c..5b1b506 100644 --- a/lib/ronin/recon/values/cert.rb +++ b/lib/ronin/recon/values/cert.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' +require_relative '../value' require 'ronin/support/crypto' module Ronin diff --git a/lib/ronin/recon/values/domain.rb b/lib/ronin/recon/values/domain.rb index d798a10..20e361f 100644 --- a/lib/ronin/recon/values/domain.rb +++ b/lib/ronin/recon/values/domain.rb @@ -18,11 +18,11 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/host' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/website' -require 'ronin/recon/values/url' -require 'ronin/recon/values/email_address' +require_relative 'host' +require_relative 'ip' +require_relative 'website' +require_relative 'url' +require_relative 'email_address' module Ronin module Recon diff --git a/lib/ronin/recon/values/email_address.rb b/lib/ronin/recon/values/email_address.rb index 87ebdbe..f8e450a 100644 --- a/lib/ronin/recon/values/email_address.rb +++ b/lib/ronin/recon/values/email_address.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' +require_relative '../value' module Ronin module Recon diff --git a/lib/ronin/recon/values/host.rb b/lib/ronin/recon/values/host.rb index 00fdb5d..fb5f0ae 100644 --- a/lib/ronin/recon/values/host.rb +++ b/lib/ronin/recon/values/host.rb @@ -18,11 +18,11 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' -require 'ronin/recon/values/ip' -require 'ronin/recon/values/website' -require 'ronin/recon/values/url' -require 'ronin/recon/values/email_address' +require_relative '../value' +require_relative 'ip' +require_relative 'website' +require_relative 'url' +require_relative 'email_address' module Ronin module Recon diff --git a/lib/ronin/recon/values/ip.rb b/lib/ronin/recon/values/ip.rb index 3f2c59e..c0d1435 100644 --- a/lib/ronin/recon/values/ip.rb +++ b/lib/ronin/recon/values/ip.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' +require_relative '../value' module Ronin module Recon diff --git a/lib/ronin/recon/values/ip_range.rb b/lib/ronin/recon/values/ip_range.rb index e3e8e36..61b8645 100644 --- a/lib/ronin/recon/values/ip_range.rb +++ b/lib/ronin/recon/values/ip_range.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' -require 'ronin/recon/values/ip' +require_relative '../value' +require_relative 'ip' require 'ronin/support/network/ip_range' diff --git a/lib/ronin/recon/values/mailserver.rb b/lib/ronin/recon/values/mailserver.rb index 1688ebe..0af059d 100644 --- a/lib/ronin/recon/values/mailserver.rb +++ b/lib/ronin/recon/values/mailserver.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/host' +require_relative 'host' module Ronin module Recon diff --git a/lib/ronin/recon/values/nameserver.rb b/lib/ronin/recon/values/nameserver.rb index c80d519..e02929d 100644 --- a/lib/ronin/recon/values/nameserver.rb +++ b/lib/ronin/recon/values/nameserver.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/values/host' +require_relative 'host' module Ronin module Recon diff --git a/lib/ronin/recon/values/open_port.rb b/lib/ronin/recon/values/open_port.rb index b2d7091..e4355d9 100644 --- a/lib/ronin/recon/values/open_port.rb +++ b/lib/ronin/recon/values/open_port.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' +require_relative '../value' module Ronin module Recon diff --git a/lib/ronin/recon/values/url.rb b/lib/ronin/recon/values/url.rb index 9dd3f0b..9eb8f05 100644 --- a/lib/ronin/recon/values/url.rb +++ b/lib/ronin/recon/values/url.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' +require_relative '../value' require 'uri' diff --git a/lib/ronin/recon/values/website.rb b/lib/ronin/recon/values/website.rb index 7326e16..1958ab5 100644 --- a/lib/ronin/recon/values/website.rb +++ b/lib/ronin/recon/values/website.rb @@ -18,9 +18,9 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' -require 'ronin/recon/values/url' -require 'ronin/recon/values/email_address' +require_relative '../value' +require_relative 'url' +require_relative 'email_address' require 'uri' diff --git a/lib/ronin/recon/values/wildcard.rb b/lib/ronin/recon/values/wildcard.rb index f1ed375..b9d9ae1 100644 --- a/lib/ronin/recon/values/wildcard.rb +++ b/lib/ronin/recon/values/wildcard.rb @@ -18,10 +18,10 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/value' -require 'ronin/recon/values/domain' -require 'ronin/recon/values/host' -require 'ronin/recon/values/url' +require_relative '../value' +require_relative 'domain' +require_relative 'host' +require_relative 'url' module Ronin module Recon diff --git a/lib/ronin/recon/web_worker.rb b/lib/ronin/recon/web_worker.rb index 665a9ea..9c6bb7b 100644 --- a/lib/ronin/recon/web_worker.rb +++ b/lib/ronin/recon/web_worker.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/worker' -require 'ronin/recon/mixins/http' +require_relative 'worker' +require_relative 'mixins/http' module Ronin module Recon diff --git a/lib/ronin/recon/worker.rb b/lib/ronin/recon/worker.rb index d191815..bbf0515 100644 --- a/lib/ronin/recon/worker.rb +++ b/lib/ronin/recon/worker.rb @@ -18,8 +18,8 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/registry' -require 'ronin/recon/values' +require_relative 'registry' +require_relative 'values' require 'ronin/core/metadata/id' require 'ronin/core/metadata/authors' require 'ronin/core/metadata/summary' diff --git a/lib/ronin/recon/worker_pool.rb b/lib/ronin/recon/worker_pool.rb index e582fa2..27257b6 100644 --- a/lib/ronin/recon/worker_pool.rb +++ b/lib/ronin/recon/worker_pool.rb @@ -18,13 +18,13 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/message/value' -require 'ronin/recon/message/worker_started' -require 'ronin/recon/message/worker_stopped' -require 'ronin/recon/message/job_started' -require 'ronin/recon/message/job_completed' -require 'ronin/recon/message/job_failed' -require 'ronin/recon/message/shutdown' +require_relative 'message/value' +require_relative 'message/worker_started' +require_relative 'message/worker_stopped' +require_relative 'message/job_started' +require_relative 'message/job_completed' +require_relative 'message/job_failed' +require_relative 'message/shutdown' require 'ronin/core/params/mixin' require 'async/queue' diff --git a/lib/ronin/recon/workers.rb b/lib/ronin/recon/workers.rb index 5fc6c84..b55a13d 100644 --- a/lib/ronin/recon/workers.rb +++ b/lib/ronin/recon/workers.rb @@ -18,7 +18,7 @@ # along with ronin-recon. If not, see . # -require 'ronin/recon/registry' +require_relative 'registry' require 'set'