{"id":17244684,"url":"https://github.com/kost/openvas-omp-ruby","last_synced_at":"2025-04-14T04:08:40.645Z","repository":{"id":5625270,"uuid":"6833207","full_name":"kost/openvas-omp-ruby","owner":"kost","description":"This Ruby gem is used for communication with OpenVAS manager over OMP. You can start, stop, pause and resume scan. Watch progress and status of scan, download report, etc.","archived":false,"fork":false,"pushed_at":"2017-06-12T18:30:36.000Z","size":159,"stargazers_count":3,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T04:08:36.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kost.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-23T21:13:04.000Z","updated_at":"2017-06-28T18:04:31.000Z","dependencies_parsed_at":"2022-07-07T11:03:23.930Z","dependency_job_id":null,"html_url":"https://github.com/kost/openvas-omp-ruby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fopenvas-omp-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fopenvas-omp-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fopenvas-omp-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kost%2Fopenvas-omp-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kost","download_url":"https://codeload.github.com/kost/openvas-omp-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819404,"owners_count":21166477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T06:27:00.155Z","updated_at":"2025-04-14T04:08:40.621Z","avatar_url":"https://github.com/kost.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= openvas-omp\n\nThis library is used for communication with OpenVAS manager over OMP\nYou can start, stop, pause and resume scan. Watch progress and status of \nscan, download report, etc.\n\n== Usage example\n\nrequire 'openvas-omp'\n\nov=OpenVASOMP::OpenVASOMP.new(\"user\"=\u003e'openvas',\"password\"=\u003e'openvas')\nconfig=ov.config_get().index(\"Full and fast\")\ntarget=ov.target_create({\"name\"=\u003e\"t\", \"hosts\"=\u003e\"127.0.0.1\", \"comment\"=\u003e\"t\"})\ntaskid=ov.task_create({\"name\"=\u003e\"t\",\"comment\"=\u003e\"t\", \"target\"=\u003etarget, \"config\"=\u003econfig})\nov.task_start(taskid)\nwhile not ov.task_finished(taskid) do\n        stat=ov.task_get_byid(taskid)\n        puts \"Status: #{stat['status']}, Progress: #{stat['progress']}\"\n        sleep 10\nend\nstat=ov.task_get_byid(taskid)\ncontent=ov.report_get_byid(stat[\"lastreport\"],'HTML')\nFile.open('report.html', 'w') {|f| f.write(content) }\n\n== Note\n\nNote that if you're using gem and Ruby 1.8, you should require 'rubygems' as \nwell.\n\n== Contributing to openvas-omp\n \n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it\n* Fork the project\n* Start a feature/bugfix branch\n* Commit and push until you are happy with your contribution\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\n== Copyright\n\nCopyright (c) 2010 Vlatko Kosturjak. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fopenvas-omp-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkost%2Fopenvas-omp-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkost%2Fopenvas-omp-ruby/lists"}