# Nmap + Metasploit bug

**URL:** <https://discuss.dradis.com/t/nmap-metasploit-bug/445>\
**Category:** Community Edition\
**Created:** [March 29, 2017, 11:49am UTC](https://discuss.dradis.com/t/nmap-metasploit-bug/445 "2017-03-29T11:49:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [April 3, 2017, 11:34am UTC](https://discuss.dradis.com/t/nmap-metasploit-bug/445/5 "2017-04-03T11:34:39Z")

</div>

@Kalaratri there was a bug in `dradis-metasploit` that saved the port information as strings instead of numbers (!). If you navigate to that same page and append “/edit” to the end, you can tweak the JSON data from:

```auto
    {
      "protocol": "tcp",
      "port": "445",
      "state": "open",
      "info": "Windows XP SP3 (language:English) (name:MAS) (domain:IA)",
      "name": "smb"
    }

```

to

```auto
    {
      "protocol": "tcp",
      "port": 445,
      "state": "open",
      "info": "Windows XP SP3 (language:English) (name:MAS) (domain:IA)",
      "name": "smb"
    }

```

That being said, the bug is now fixed, if you `git pull` and `bundle update dradis-metasploit` you should no longer experience this problem.

Let us know how it goes!

HTH,  
Daniel

---

_[View the full topic](https://discuss.dradis.com/t/nmap-metasploit-bug/445)._
