Risk
6/21/2010
05:06 PM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
50%
50%

Google Introduces Command-Line Tool

A handful of Google services like Blogger and YouTube now accept a limited set of command-line instructions.

Having previously referred to its search technology as a "command-line interface to the world," Google has decided to implement an actual command-line tool for several of its services.

On Friday, Google announced the availability of GoogleCL, open-source software for Linux, Mac, and Windows that allows users to perform sophisticated tasks on a handful of Google sites.




Image Gallery: Top 10 Google Videos
(click for larger image and for full photo gallery)

"GoogleCL is a command-line utility that provides access to various Google services," explain Google engineer Jason Holt and former Google intern Tom Miller in a blog post. "It streamlines tasks such as posting to a Blogger blog, adding events to Calendar, or editing documents on Google Docs."

While Google provides instructions for installing GoogleCL on Linux, it only points to online posts by third-parties that describe how to install the software on Mac and Windows. Mac installation is made easier if the user has already installed software like MacPorts or homebrew.

The open source project Wiki indicates that easier Mac and Windows installation may available in the future.

GoogleCL is a Python application that uses Python gdata libraries to make Google Data API calls from the command line.

It currently provides access to the following services, arranged in order of implementation completeness: Picasa, Docs, YouTube, Blogger, Calendar, and Contacts.

Users can employ GoogleCL to do things like list, delete, and create Blogger posts, Picasa albums and images, or open Google Docs in an editor like vim.

There are other open source projects -- goofs and Goose, for example -- that aim to provide similar functionality for Google Calendar and Google Search. At some point, these projects may be merged with GoogleCL.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-2208
Published: 2014-12-28
CRLF injection vulnerability in the LightProcess protocol implementation in hphp/util/light-process.cpp in Facebook HipHop Virtual Machine (HHVM) before 2.4.2 allows remote attackers to execute arbitrary commands by entering a \n (newline) character before the end of a string.

CVE-2014-2209
Published: 2014-12-28
Facebook HipHop Virtual Machine (HHVM) before 3.1.0 does not drop supplemental group memberships within hphp/util/capability.cpp and hphp/util/light-process.cpp, which allows remote attackers to bypass intended access restrictions by leveraging group permissions for a file or directory.

CVE-2014-5386
Published: 2014-12-28
The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 does not seed the random number generator, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging the use of a single initial...

CVE-2014-6228
Published: 2014-12-28
Integer overflow in the string_chunk_split function in hphp/runtime/base/zend-string.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via crafted arguments to the chunk_split ...

CVE-2014-6229
Published: 2014-12-28
The HashContext class in hphp/runtime/ext/ext_hash.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 incorrectly expects that a certain key string uses '\0' for termination, which allows remote attackers to obtain sensitive information by leveraging read access beyond the end of the string,...

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.