Skip to content

Instantly share code, notes, and snippets.

View bcoles's full-sized avatar
💭
`rm -rf /*`

bcoles

💭
`rm -rf /*`
View GitHub Profile
@bcoles
bcoles / alexa-rank.rb
Created September 19, 2011 04:16
Alexa Rank - Retrieves the Alexa rank for domain(s)
#!/usr/bin/env ruby
# Alexa Rank
# Retrieves the Alexa rank for domain(s)
# 2011-09-19 # [email protected]
##
verbose = true
version = "0.1"
# Usage
@bcoles
bcoles / Windows Mail client DoS from browser PoC.html
Created September 16, 2011 16:56
Windows Mail client DoS from browser PoC
<script type="text/javascript">
// Windows Mail client DoS from browser PoC (with nntp/snews/news url handlers)
// 2011-09-16 // Brendan Coles <[email protected]>
// Should work with Safari/Firefox on Windows Vista
// Some newsgroups are added. You can delete newsgroups here:
// C:\Users\username\AppData\Local\Microsoft\Windows Mail
function doit() {
//window_spam();
@bcoles
bcoles / bitmon.py
Created May 20, 2011 10:36
monitors irc.lfnet.org:6667#bitcoin and extracts user details
################################################################################
# bitmon
# Description: monitors irc.lfnet.org:6667#bitcoin and extracts user details
# Author: Brendan Coles <[email protected]>
# Version: 0.1-20110520
################################################################################
import socket, string
botname = 'u1rt6zQzvGpS1Zz' # change this
channel = '#bitcoin'
@bcoles
bcoles / crack_ftpexplorer.rb
Created February 6, 2011 07:01
Crack FTP-Explorer 1.0 Passwords # Exploit for CVE-2000-0214 ported to Ruby #
#!/usr/bin/env ruby
################################################################################
# crack_ftpexplorer.rb # Crack FTP-Explorer 1.0 Passwords #
# version 0.1r20110206 # Ported to Ruby by Brendan Coles <[email protected]> #
################################################################################
# #
# [x] CVE # CVE-2000-0214 #
# [x] Bugtraq ID # 1003 #
# [x] Original Advisory # Nelson Brito <[email protected]> #
# [x] Original Exploit # http://downloads.securityfocus.com/vulnerabilities/ #
@bcoles
bcoles / fast_clicks_poc.html
Created January 19, 2011 11:22
This script is a Proof of Concept for a timing-attack variation of UI Redressing / click-jacking. It is designed to entice the user into clicking rapidly in a certain location.
<html><head><script type="text/javascript">
/* This script is a Proof of Concept for a timing-attack variation of UI
Redressing / click-jacking. It is designed to entice the user into clicking
rapidly in a certain location. */
function fast_clicks() {
var tStart;
var tDate;
var tDiff;