Load proxy plugin
I'm trying to tell arachni server to load proxy plugin before
starting it. I know a request should in format:
{
'message' => msg, # RPC message in the form of 'handler.method'
'args' => args, # optional array of arguments for the remote method
'token' => token, # optional authentication token
}
The message here I put "plugins.load". But how to specify the
proxy plugin's parameters, for example the ip address and port, to
be loaded. What should I pass to args? I searched for documentation
but can't find the answer.
Looking forward to your reply. Thank you.
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 10 Oct, 2012 09:59 PM
Here you go:
Tasos Laskos closed this discussion on 10 Oct, 2012 09:59 PM.
Tasos Laskos re-opened this discussion on 10 Oct, 2012 10:04 PM
Support Staff 2 Posted by Tasos Laskos on 10 Oct, 2012 10:04 PM
Also, I'm guessing that you're writing your own client, so these simple implementations should serve as a nice reference:
Tasos Laskos closed this discussion on 10 Oct, 2012 10:04 PM.
Peters re-opened this discussion on 11 Oct, 2012 09:09 PM
3 Posted by Peters on 11 Oct, 2012 09:09 PM
Hello Tasos,
Thank you for your reply. Actually I'm working on implementing "manual scan" functionality, meaning that you can click around on target sites, send all requests through arachni's proxy, let arachni audit on what you clicked and get the report. At first I tried to start a arachni automated scan with proxy plugin loaded, but the proxy cannot be set up and listen on proxy port I expected. If I use command line, like "arachni http://example.com --plugin=proxy", things works fine. Could you give me some insight on this? Very appreciate.
Best,
peters
Support Staff 4 Posted by Tasos Laskos on 11 Oct, 2012 09:19 PM
Any errors on the server-side? For example this will work fine:
5 Posted by Peters on 11 Oct, 2012 10:09 PM
It works now. The error located in my own code. Thank you very much for your help. Really appreciate.
Best,
Peters
Support Staff 6 Posted by Tasos Laskos on 11 Oct, 2012 10:14 PM
No problem, glad you got it working.
Tasos Laskos closed this discussion on 11 Oct, 2012 10:14 PM.