Module: HiddenHippo
- Defined in:
- lib/hidden_hippo.rb,
lib/hidden_hippo/gui.rb,
lib/hidden_hippo/paths.rb,
lib/hidden_hippo/daemon.rb,
lib/hidden_hippo/reader.rb,
lib/hidden_hippo/update.rb,
lib/hidden_hippo/cli/app.rb,
lib/hidden_hippo/cli/gui.rb,
lib/hidden_hippo/dossier.rb,
lib/hidden_hippo/scanner.rb,
lib/hidden_hippo/updator.rb,
lib/hidden_hippo/version.rb,
lib/hidden_hippo/packets/dns.rb,
lib/hidden_hippo/packets/wps.rb,
lib/hidden_hippo/cli/database.rb,
lib/hidden_hippo/packets/dhcp.rb,
lib/hidden_hippo/packets/http.rb,
lib/hidden_hippo/possibilities.rb,
lib/hidden_hippo/packets/packet.rb,
lib/hidden_hippo/extractors/wps_extractor.rb,
lib/hidden_hippo/extractors/dns_llmnr_extractor.rb,
lib/hidden_hippo/extractors/dns_history_extractor.rb,
lib/hidden_hippo/extractors/dhcp_hostname_extractor.rb,
lib/hidden_hippo/extractors/mdns_hostname_extractor.rb,
lib/hidden_hippo/extractors/http_request_url_extractor.rb
Defined Under Namespace
Modules: Cli, Extractors, Packets, Paths
Classes: Daemon, Dossier, Gui, Possibilities, Reader, Scanner, Update, Updator
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Method Summary
collapse
Class Method Details
14
15
16
|
# File 'lib/hidden_hippo.rb', line 14
def configure_db!(env = :production)
Mongoid.load! gem_root + 'config/mongoid.yml', env
end
|
.gem_root ⇒ Object
19
20
21
|
# File 'lib/hidden_hippo.rb', line 19
def gem_root
Pathname.new(__FILE__) + '../../'
end
|
.pid_exists?(pid) ⇒ Boolean
6
7
8
9
10
11
|
# File 'lib/hidden_hippo.rb', line 6
def pid_exists?(pid)
Process.kill 0, pid
return true
rescue
return false
end
|