![caido-ruby](https://private-user-images.githubusercontent.com/13212227/342073252-b58b2d5e-890c-49c2-a5f5-06168267beae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzMjUyMTIsIm5iZiI6MTcxOTMyNDkxMiwicGF0aCI6Ii8xMzIxMjIyNy8zNDIwNzMyNTItYjU4YjJkNWUtODkwYy00OWMyLWE1ZjUtMDYxNjgyNjdiZWFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI1VDE0MTUxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2MWEzNzVjMDU4YWE4MDZjZjg0NTFhYTI2OTVlOTU0MWNhNjM3MTczZTVlNWFlNWYyODY2ZWNhZjM2OTYwNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FC6D5Vv5NlzxHZ_Pj-r9pRfqt7YRblTGqQcM4LZy8_I)
Caido is a lightweight web security auditing toolkit designed to assist developers and security professionals in identifying vulnerabilities within web applications. The caido-ruby
library serves as a Ruby implementation of Caido's API, providing a seamless and efficient way for Ruby developers to integrate Caido's powerful security auditing capabilities into their applications.
gem install caido
require 'caido'
instance = Caido::Instance.new "http://localhost:8080", "AUTH_TOKEN"
# Use helper
instance.version # 0.38.0
instance.projects # [...]
# Use GraphQL Query
instance.query('{runtime{platform}}')
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.