HackerExperience / Helix

GNU Affero General Public License v3.0
53 stars 10 forks source link

Implement public files in DNS response #300

Closed PedroHLC closed 6 years ago

PedroHLC commented 6 years ago

Here's how I got it working on ehelix:

%{
  type: "npc_download_center",
  meta: %{
    password: "",
    nip: ["network", "ip"],
    public: [ %{
        id: "somefile",
        name: "ILikeIceCream",
        extension: "exe",
        type: "cracker",
        modules: [ %{
          module: "overflow",
          version: 4
        }]
      } ]
  },
  content: %{
    title: "example"
  }
}
renatomassaro commented 6 years ago

Fixed on #301. I've changed the module key to name, so something like:

modules: [
  %{
    name: "overflow",
    version: 24
  }
]

Pas.