tag:support.arachni-scanner.com,2012-07-01:/discussions/questions/12736-webui-adding-dispatcher-the-programatic-wayArachni: Discussion 2016-03-05T10:06:48Ztag:support.arachni-scanner.com,2012-07-01:Comment/393289682016-03-04T16:42:08Z2016-03-04T16:42:08ZWebUI - Adding Dispatcher ; the programatic way<div><p>Not really, that's the way to do it, although you better use the
<code>arachni_rpcd</code> executable to start a Dispatcher, then
create the DB entry in the WebUI via
<code>arachni_web_script</code>.</p>
<p>Cheers</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/393289682016-03-04T17:01:36Z2016-03-04T17:01:36ZWebUI - Adding Dispatcher ; the programatic way<div><p>Thanks for the <b>very</b> prompt reply !<br>
I have used arachni_rpcd.<br>
I'm a little bit more confused in order to achieve the DB insert ,
any clues ? =)</p>
<p>Regards,</p>
<h2><a class="anchor" name="" href="#"></a></h2>
<p>Regis A. Despres</p></div>arachnitag:support.arachni-scanner.com,2012-07-01:Comment/393289682016-03-04T17:05:48Z2016-03-04T17:05:48ZWebUI - Adding Dispatcher ; the programatic way<div><p>Are you familiar with Rails models at all?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/393289682016-03-04T17:11:02Z2016-03-04T17:12:09ZWebUI - Adding Dispatcher ; the programatic way<div><p>Hehe, I'm not an expert by my guess something you've already
replied could apply =)<br>
cf. <a href="https://github.com/Arachni/arachni-ui-web/issues/73">https://github.com/Arachni/arachni-ui-web/issues/73</a></p>
<p><code>Dispatcher.create( address: 'localhost', port: 7331,
global: true, alive: true, description: 'descr.', user_ids: [N] #
userid to link dispatcher with ).save( validate: false )</code></p></div>arachnitag:support.arachni-scanner.com,2012-07-01:Comment/393289682016-03-04T17:14:33Z2016-03-04T17:14:33ZWebUI - Adding Dispatcher ; the programatic way<div><p>Ah, yep, that's it. :)</p></div>Tasos Laskos