Scanning REST Application
Hi. Is it possible to scan REST application which uses AngularJS on client side, so requests and responses contains only json data?
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 06 May, 2015 10:42 AM
Hello,
There are no service crawlers at the moment but if you have a REST test suite you can proxy its requests via Arachni's proxy so that it can learn the input vectors and then audit them.
You can setup Arachni's proxy like so:
The default URL will be:
http://localhost:8282You can then export it prior to running your test suite and if it respects the env variable (as it should) the requests will go through Arachni.
Then, in Arachni's terminal you'll see something like:
You can debug the proxy manually via simple
curlcommands, like so:Once everything is done, you need to shutdown the proxy so that the scan will start:
I think this pretty much covers it, let me know if you require further assistance.
Cheers
Support Staff 2 Posted by Tasos Laskos on 06 May, 2015 10:45 AM
I forgot to mention, you may want to cherry pick the checks you load, in this case ones that look for files and directories will be irrelevant so they should be skipped.
Support Staff 3 Posted by Tasos Laskos on 06 May, 2015 01:05 PM
I just wrote a KB article about this: http://support.arachni-scanner.com/kb/general-use/service-scanning
4 Posted by John on 06 May, 2015 01:59 PM
Thanks a lot, it should help.
Tasos Laskos closed this discussion on 06 May, 2015 02:03 PM.