Skip to content

Multiples input for plugins and concurrency #32

@acarnage

Description

@acarnage

Hey ! I'm reposting my question here for more visibility :)

I'm trying to build a first plugin basically launching "dirb" against an URL.
I wonder how i can write the hcl code in order to target 2 urls. My following attempts fail with "index out of range" (note that the plugin code works perfectly fine with one URL)

resource "dirb" "dirb" {
for_each = ["https://www.google.fr","https://www.google.com"] 
target="${each.key}"
}

Moreover, i think it would be interesting to add a "concurrency" feature. During a pentest engagement there are multiples IPs to target so i would be awesome to launch a decker instance for each target IP especially if time consuming tasks are involved (as dirb :) ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions