
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A Ruby client and library for ITS/DTOP's Traffic Cameras API.
Currently DTOP's Intelligent Transportation Systems (ITS) Project for Puerto Rico has an API that lists 3-second delayed images from traffic cameras throughout the island. Besides this (unlisted) api, the only other way to get an (incomplete) list of the cameras is to use ITS DTOP's site. This gem helps by doing a few *clever things in order to provide you a complete and cleaner response.
*API endpoint enumeration + deep merge, reverse-geocoding, url cleanup, CamelCase to camelBack json responses...
gem install big_brother_pr
require 'big_brother_pr'
traffic_cams = BigBrotherPR.find_all_cameras
=> [{"id"=>1,
"name"=>"AGUADILLA-CAM 01",
"location"=>"PR-2 INT PR-110 NORTE",
"dateTime"=>"25/5/2015 11:36:34 PM",
"imageSource"=>"http://its.dtop.gov.pr/images/cameras/AGDLLACAM01/AGDLLACAM01.jpg",
"latitude"=>18.452983, "longitude"=>-67.091931, "hasCoordinates"=>true}]
require 'big_brother_pr'
client = BigBrotherPR::Client.new
client.find_all_cameras
client.save # saves (parsed) json response to disk (traffic_cams.json)
[{
"id":11,
"name":"CULEBRA-CAM 01",
"location":"TERMINAL ATM CULEBRA ",
"dateTime":"25/5/2015 11:34:41 PM",
"imageSource":"http://its.dtop.gov.pr/images/cameras/CULEBRACAM01/CULEBRACAM01.jpg",
"latitude":18.301125,
"longitude":-65.302297,
"hasCoordinates":true
}]
Is it worth it? let me fork it
I put my thing down, flip it and debug it
Ti gubed dna ti pilf nwod gniht ym tup I
Ti gubed dna ti pilf nwod gniht ym tup I
FAQs
Unknown package
We found that big_brother_pr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.