Is it possible to load a profile on disk from REST API?

Neha Chriss's Avatar

Neha Chriss

03 Jun, 2016 02:11 PM

Hello,

I'm curious if it's possible to load a scan profile from disk, via the arachni REST API?

  1. 1 Posted by Neha Chriss on 03 Jun, 2016 02:41 PM

    Neha Chriss's Avatar

    Also - I'm curious if it's possible to specify a custom login script as well? Really, any workable method to specify a scan profile and a custom login script via REST API would be useful.

  2. Support Staff 2 Posted by Tasos Laskos on 03 Jun, 2016 02:51 PM

    Tasos Laskos's Avatar

    Hello,

    You can't specify a location from which to load the profile, but the profile itself holds the same options and in the same format serialized with YAML.
    You can just load it and use it for the REST API.

    As for the login script, it'll have to be accessible from the server side and you can set it with:

    {
        "plugins": {
            "login_script": {
                "script": "/path/to/login_script.rb"
            }
        }
    }
    
  3. Tasos Laskos closed this discussion on 09 Jun, 2016 08:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac