-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jackhammer CLI #100
Comments
sorry , we do not have CLI version |
Thanks for your feedback. Here is my code......
class Pipeline::Zap < Pipeline::BaseTask
end Thanks in advance |
@kmadhusudhan @shadsidd @sampathmende |
|
Thanks for your swift feedback. That perfectly what I did. and my log file in my jackhammer dir is empty. |
@kmadhusudhan @shadsidd *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-06-24T07:39:45.948Z 68 TID-gr1rmquxs INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-06-24T07:39:45.948Z 68 TID-gr1rmquxs INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] |
@dkogue |
@kmadhusudhan |
@sampathmende @alex-rad |
please run the below commands , lets check if your tool listed . if it is listed please restart sidekiq by running 'bundle exec RAILS_ENV=production sidekiq -C config/sidekiq.yml' root@cd881aaaf1f1:/home/app# rails c |
@kmadhusudhan |
@kmadhusudhan root@d1f6e20245be:/home/app# rails c have this error when I run this command:
thanks, lets make this work so we can share it with the community. if it is not yet possible to add all tools or zap as I am doing now please let me know. It is consuming a lot of my time. Thanks. |
@kmadhusudhan |
I think it is scanning now but there is issue with reporting. below is my log. kindly help to make this work. 2018-07-01T01:12:22.571Z 69 TID-gp65p7y2k DynamicScanWorker JID-ad137b807555b4552ce42976 INFO: start |
I have notice that zap.rb is not mounted in the container tasks directory as shown in below log. root@lab-VirtualBox:/home/lab/jackhammer/web/app/lib/pipeline/tasks# ls root@3a436074e18b:/home/app/lib/pipeline/tasks# ls |
same log I think. but why my zap.rb is not mounting as indicated in my last comment. thanks for your assistance 6:in *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-07-01T11:29:03.528Z 70 TID-gq8kzl25c INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-07-01T13:42:26.768Z 70 TID-gnn8jzjmk INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] root@3a436074e18b:/home/app/log# cat sidekiq.log |
1 similar comment
same log I think. but why my zap.rb is not mounting as indicated in my last comment. thanks for your assistance 6:in *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-07-01T11:29:03.528Z 70 TID-gq8kzl25c INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] *** Mocha deprecation warning: Change *** Mocha deprecation warning: Test::Unit or MiniTest must be loaded before Mocha. *** Mocha deprecation warning: If you're integrating with a test library other than Test::Unit or MiniTest, you should use 2018-07-01T13:42:26.768Z 70 TID-gnn8jzjmk INFO: Running in ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] root@3a436074e18b:/home/app/log# cat sidekiq.log |
@kmadhusudhan
|
@kmadhusudhan @zee7han Further log from the scans directory. Please assist. Thanks in advance. root@ccbdb44aff92:/home/app/log/scans# cat 5.log |
i could see there is a syntax error in zap.rb at line 10 . And also in run method "Below line runs the scanner " need be comment , this is not a ruby syntax def run
|
thanks for your feedback. kindly find below my current scans log. dynamic_scan_worker sames not to work. We are almost there I think :) root@ccbdb44aff92:/home/app/log/scans# cat 7.log |
i could see some error thrown by pipeline.rb, runsystem method is defined inside pipeline . can you please run the each line from run method in rails console and figure out where is the issue . i think zap-cli is not installed inside docker |
@kmadhusudhan |
@kmadhusudhan I also noticed that when I restart the sidekiq, even arachni doesnt not provide any result. |
@kmadhusudhan @shadsidd Issue: Scan complete without any alerts ***Zap.rb code #Change class name as scanner name, class name should be in CamelCase class Pipeline::Zap < Pipeline::BaseTask
def analyze
ensure Check , if the scanner is installeddef supported? end Scans log* root@417f9b0dccf0:/home/app/log/scans# cat 6.log |
@kmadhusudhan |
I had indicated this earlier, why default scans (Arachni, nmap) work for sometime and then after do not work when scan. the data base is very slow. same dynamicscan error message for all scan. This is really, really frustrating. Even the demo site has some scans pending for days. giving up.... |
Is the CLI still not supported? |
you could start checking V2 which supports more options
…On Thu, Apr 11, 2019 at 6:40 PM Michal Wiczynski ***@***.***> wrote:
Is the CLI still not supported?
Is there any wrapper available?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHb61T5HFQAUgmU9rHUSQLSMtEe-ONo4ks5vfzRigaJpZM4Urro2>
.
|
thank you |
there is a branch called v2
…On Thu, Apr 11, 2019 at 8:35 PM Michal Wiczynski ***@***.***> wrote:
where can I find v2?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#100 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHb61QgSA7ojtFK4OESdNQDs5GORFc5eks5vf09EgaJpZM4Urro2>
.
|
Please is there a way to interact with jackhammer via CLI.I would like to schedule some scanning job using tools I have in jackhammer. So i want to do this via CLI. Any suggestion please? Thanks in advance.
The text was updated successfully, but these errors were encountered: