Skip to content

Instantly share code, notes, and snippets.

View phudgins's full-sized avatar

Pete Hudgins phudgins

  • Dominion Enterprises
  • Norfolk, VA
View GitHub Profile

LinkedIn's Intro - an Intro to Insecurity Heaven for Attackers?

Continuing on the discussion from this week in regards to email security, I think it would be a good opportunity to discuss the objectives behind LinkedIn's new email service, Intro. The service has raised an eyebrow of many in the technological blogosphere in the past month. Richard Bejtlich, chief research officer at Mandiant, cannot come to a logical realization that "someone thought this was a good idea." (Perlroth, 2013) Describing his reaction as "flabbergasted," Perlroth reveals what security researchers are warning as "a dream come true for hackers or intelligence agencies" in regards to the professional network's new mobile app.

So what is Intro? Perlroth describes in the New York Times Technology article that this new mobile app is "an e-mail plug-in for iOS users that pulls LinkedIn profile information into e-mails so that the sender’s job title appears front-and-center in e-mails on a user’s iPhone or iPad." While some describe t

module RetryableTyphoeus
require 'typhoeus'
include Typhoeus
DEFAULT_RETRIES = 1
class Request < Typhoeus::Request
def original_on_complete=(proc)
@original_on_complete = proc
@metaskills
metaskills / gist:2836849
Created May 30, 2012 14:58
Basic Save & Open Page For Poltergeist
def save_and_open_page
dir = "#{Rails.root}/tmp/cache/capybara"
file = "#{dir}/#{Time.now.strftime('%Y-%m-%d-%H-%M-%S')}.png"
FileUtils.mkdir_p dir
page.driver.render file
wait_until { File.exists?(file) }
system "open #{file}"
end
@nebiros
nebiros / Gemfile
Created May 23, 2012 15:58
rails + unicorn + rbenv + init.d daemon
group :production do
gem "unicorn"
end
@bds
bds / gist:2422119
Created April 19, 2012 16:25
Push to Github, Heroku and notify NewRelic of deployment
git push origin master && git push heroku master && newrelic deployments
@coreyhaines
coreyhaines / .rspec
Last active April 11, 2024 00:19
Active Record Spec Helper - Loading just active record
--colour
-I app
@metaskills
metaskills / gist:2044146
Created March 15, 2012 13:16
A Git.io URL Shortener Console Function
# If you are not on a Mac and do not want the URL
# copied to the clipboard, remove the pbcopy command.
function gitio () {
local url=$(curl -s -i http://git.io -F "url=$1" | grep "Location: " | cut -d" " -f2 | tr "" "\n")
echo "$url" | pbcopy
echo $url
}
@netmute
netmute / README.md
Last active October 27, 2022 13:22
Game of Life

Game of Life

An implementation of Conway's Game of Life in 140 characters of Ruby.

Author

Created by Simon Ernst (@sier).

@tsabat
tsabat / zsh.md
Last active July 7, 2024 16:56
Getting oh-my-zsh to work in Ubuntu
@nz
nz / sunspot_resque.rb
Last active July 10, 2023 21:35
Sunspot with Resque
# app/models/post.rb
class Post
searchable :auto_index => false, :auto_remove => false do
text :title
text :body
end
after_commit :resque_solr_update, :if => :persisted?