WebUI - Adding Dispatcher ; the programatic way
Hi there,
Is there any way to add a dispatcher for the webui usage in a
programatic way ?
I'd guess some bin/arachni_web_script and
Arachni/RPC/Server/Dispatcher#initialize-instance_method usage
could be done, but if someone has any best practive/guidance in
this, it would be lovely =)
Regards,
Regis A. Despres
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
Support Staff 1 Posted by Tasos Laskos on 04 Mar, 2016 04:42 PM
Not really, that's the way to do it, although you better use the
arachni_rpcd
executable to start a Dispatcher, then create the DB entry in the WebUI viaarachni_web_script
.Cheers
Tasos Laskos closed this discussion on 04 Mar, 2016 04:42 PM.
arachni re-opened this discussion on 04 Mar, 2016 05:01 PM
2 Posted by arachni on 04 Mar, 2016 05:01 PM
Thanks for the very prompt reply !
I have used arachni_rpcd.
I'm a little bit more confused in order to achieve the DB insert , any clues ? =)
Regards,
Regis A. Despres
Support Staff 3 Posted by Tasos Laskos on 04 Mar, 2016 05:05 PM
Are you familiar with Rails models at all?
4 Posted by arachni on 04 Mar, 2016 05:11 PM
Hehe, I'm not an expert by my guess something you've already replied could apply =)
cf. https://github.com/Arachni/arachni-ui-web/issues/73
Dispatcher.create( address: 'localhost', port: 7331, global: true, alive: true, description: 'descr.', user_ids: [N] # userid to link dispatcher with ).save( validate: false )
Support Staff 5 Posted by Tasos Laskos on 04 Mar, 2016 05:14 PM
Ah, yep, that's it. :)
Tasos Laskos closed this discussion on 05 Mar, 2016 10:06 AM.