Skip to content

Instantly share code, notes, and snippets.

@peralta
peralta / trac-static-dumper.py
Created May 30, 2012 09:43
dirty and filthy script to migrate trac tickets to a static site, based on their rss feed.
#!/usr/bin/env python
"""
dirty and filthy script to migrate trac tickets to a static site, based on
their rss feed.
will take all xml files in data/ dir and create the new files with .html
extension. also accepts single xml file as input.
depends on feedparser (pip install feedparser)
@peralta
peralta / fakesshd.go
Created February 12, 2024 22:02
sshd simple honeypot
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"net"
"flag"
"github.com/gliderlabs/ssh"