Skip to content

Instantly share code, notes, and snippets.

View cleesmith's full-sized avatar

Christopher cleesmith

View GitHub Profile
@cleesmith
cleesmith / community-sid-msg.map
Created August 4, 2014 13:54
idstools: community-sid-msg.map
# Copyright 2005 Sourcefire, Inc. All Rights Reserved.
# This file is licensed under the GNU General Public License.
# Please see the file LICENSE in this directory for more details.
# Id SID -> MSG map
100000100 || COMMUNITY EXPLOIT Windows Acrobat Reader Activex Overflow Flowbit || cve,2004-0629 || bugtraq,10947
100000101 || COMMUNITY EXPLOIT Windows Acrobat Reader Activex Overflow Exploit || cve,2004-0629 || bugtraq,10947
100000102 || COMMUNITY GAME Halocon Denial of Service Empty UDP Packet || bugtraq,12281
100000103 || COMMUNITY GAME Breed Game Server Denial of Service Empty UDP Packet || bugtraq,12262
100000104 || COMMUNITY GAME Amp II 3D Game Server Denial of Service Empty UDP Packet || bugtraq,12192
@cleesmith
cleesmith / gen-msg.map
Created August 4, 2014 13:52
idstools: gen-msg.map
# $Id$
# GENERATORS -> msg map
# Format: generatorid || alertid || MSG
1 || 1 || snort general alert
2 || 1 || tag: Tagged Packet
3 || 1 || snort dynamic alert
100 || 1 || spp_portscan: Portscan Detected
100 || 2 || spp_portscan: Portscan Status
100 || 3 || spp_portscan: Portscan Ended
@cleesmith
cleesmith / evented_tcp_server.md
Last active January 1, 2016 18:39
Evented TCP server in 50 lines of ruby code

Evented TCP server using eventmachine.

TCP server:

require 'eventmachine'

PORT = 4545
puts "Listening on #{PORT}...\n"