Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
metasploit-bailiwicked_domain-fix — Fix for undefined method each in Metasploit’s bailiwicked_domain.rb (CVE-2008-1447 DNS cache poisoning module) | Kitploit
Tools/GitHubGitHub/hamlasiraj/metasploit-bailiwicked_domain-fix
Exploit FrameworksVulnerability AnalysisExploitationPenetration TestingLearning & EducationDNS Analysis
GitHubhamlasiraj/metasploit-bailiwicked_domain-fix

metasploit-bailiwicked_domain-fix

Fix for undefined method each in Metasploit’s bailiwicked_domain.rb (CVE-2008-1447 DNS cache poisoning module)

View Repository
1351 year agoNot yet reviewed
Share

🚀 metasploit-bailiwicked_domain-fix

Fix for undefined method each in Metasploit’s bailiwicked_domain.rb (CVE-2008-1447 DNS cache poisoning module)


🔎 Problem

While testing CVE-2008-1447 using Metasploit, the original module crashed with:

undefined method `each` for an instance of IPAddr (NoMethodError)

This happens because the code calls .each on an IPAddr object instead of an array.


🛠️ Fix

The fix is to wrap the IP object in an array before iterating: line 253

Array(rr1.address).each do |ip|
res2 = Net::DNS::Resolver.new(nameservers: [ip.to_s],...
  # original code logic
end

✅ This prevents the NoMethodError and allows the module to run successfully.


📌 Usage

  1. Replace your original bailiwicked_domain.rb with the fixed one in this repo.
    • Location: /usr/share/metasploit-framework/modules/auxiliary/spoof/dns/bailiwicked_domain.rb
  2. Restart Metasploit.
  3. Load and run the module as usual.

📝 Notes

  • Tested on Metasploit Framework version: [6.4.69-dev]
  • This fix only addresses the IPAddr.each crash — functionality remains the same.

⚠️ Disclaimer

This module exploits a known DNS vulnerability (CVE-2008-1447).
👉 Use only in a controlled lab environment for research and educational purposes.


✨ If this fix helped you, consider giving the repo a ⭐!

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    547
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    369
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    309
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    282

Explore all tools

Browse our collection of tools

View all tools →