Skip to content

Instantly share code, notes, and snippets.

@timruffles
timruffles / attack.md
Last active November 21, 2020 17:35
Chrome/Gmail attack received 11/03/2016. Not sure if the Chrome meta refresh + data:text,html technique is novel.

The following attack will display a "you've been signed out" page for GMail, and attempt to steal your account credentials.

DO NOT PUT ANY ACCOUNT CREDENTIALS INTO ANY TABS CREATED AFTER VISITING THESE LINKS :)

I received an email in my GMail inbox with a fake attachment image, styled to look like the real GMail attachment UI:

fake

This linked to a page that ended up displaying a fake "you've been signed out" link, via the data:text/html... URL feature of Chrome:

@guyzmo
guyzmo / pluzz.py
Last active August 29, 2015 14:01
Code to download movies from pluzz
"""\
Pluzz Downloader
Downloads a movie from the French Television VOD
Usage:
pluzz_downloader.py [<url>] [--gui] [-t <target>] [--avconv <avconv>]
Options:
-g --gui Launch graphical user interface
@guyzmo
guyzmo / stackoverflow_inbox.py
Created June 7, 2013 17:03
An enhanced implementation of authenticating to stackoverflow using python.
#!/usr/bin/env python
import sys
import urllib
import requests
from BeautifulSoup import BeautifulSoup
def get_google_auth_session(username, password):
session = requests.Session()
google_accounts_url = 'http://accounts.google.com'
@guyzmo
guyzmo / strigi_osx10.6.8_homebrew.patch
Created December 16, 2012 15:46
Patch to be applied for homebrew's strigi.rb Formula.
diff --git a/libstreamanalyzer/include/strigi/analysisresult.h b/libstreamanalyzer/include/strigi/analysisresult.h
index 074fc43..0d7b37c 100644
--- a/libstreamanalyzer/include/strigi/analysisresult.h
+++ b/libstreamanalyzer/include/strigi/analysisresult.h
@@ -20,6 +20,8 @@
#ifndef STRIGI_ANALYSISRESULT_H
#define STRIGI_ANALYSISRESULT_H
+#include "/usr/include/time.h"
+