fcavallarin / htcap

htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
GNU General Public License v2.0
611 stars 114 forks source link

arachni or sqlmap wont work #37

Closed Digiguy1 closed 5 years ago

Digiguy1 commented 5 years ago

in the /core/scan/scanner/arachni.py same for sqlmap.py

i change the scanner exe /usr/share/arachni/bin/arachni to /home/arachni/bin/arachni because that's where i have the arachni framework but doesn't work it always worked for me in the previous versions https://github.com/Vulnerability-scanner/htcap
but in this version i only get this arachni executable not found can you please help ?

segment-srl commented 5 years ago

things are changed in the new version ... now you can specify the arachni bin dir with the -x option (option of the scanner module) . In your case you may run:

htcap scan arachni test.db -x /home/arachni/bin

-f

On 15 Jan 2019, at 10:45, Digiguy1 notifications@github.com wrote:

in the /core/scan/scanner/arachni.py same for sqlmap.py

i change the scanner exe /usr/share/arachni/bin/arachni to /home/arachni/bin/arachni because that's where i have the arachni framework but doesn't work it always worked for me in the previous versions https://github.com/Vulnerability-scanner/htcap https://github.com/Vulnerability-scanner/htcap but in this version i only get this arachni executable not found can you please help ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fcavallarin/htcap/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/ALPRtsap_2acHBI7nRdA4PL5jyQwqrhxks5vDaM-gaJpZM4aAlmo.

Digiguy1 commented 5 years ago

is it possibly to change the default directory from the script that way i dont have to type the path every single time i run the scan command ??

segment-srl commented 5 years ago

you can modify the following two lines and put the full path

self.acmd = "arachni" self.rcmd = "arachni_reporter"

alternatively you can add '/home/arachni/bin/' to your $PATH environment variable

On 15 Jan 2019, at 19:35, Digiguy1 notifications@github.com wrote:

is it possibly to change the default directory from the script ???

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fcavallarin/htcap/issues/37#issuecomment-454501432, or mute the thread https://github.com/notifications/unsubscribe-auth/ALPRttpOTFr5AnK7OFDgIay2TwXbN7LGks5vDh9VgaJpZM4aAlmo.