Skip to content

Instantly share code, notes, and snippets.

@wodim
wodim / proxy.py
Last active October 26, 2015 14:50
MITM proxy with Twisted. Can be used to tamper with traffic by modifying the rules.json file while it is running.
LISTEN_PORT = 8085
SERVER_PORT = 8085
SERVER_ADDR = "37.187.171.215"
BIND_ADDR = ("10.14.88.15", 0)
from twisted.internet import protocol, reactor
import json
class RulesLoader():
@wodim
wodim / molten.pl
Created November 17, 2015 22:49
Script I used back in old Molten-WoW to vote and get points automatically.
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Request::Common;
use HTTP::Cookies;
use warnings;
use POSIX;
use HTML::Tree;
print "Not enough arguments (usage: $0 account password)\n" and exit unless ($#ARGV > 0);

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPad

Consumer key: CjulERsDeqhhjSme66ECg

@wodim
wodim / gist:6535514
Created September 12, 2013 10:29
twicca https response
HTTP/1.1 402 Payment Required
Date: Thu, 12 Sep 2013 10:19:45 GMT
Server: Apache/1.3.42 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8e
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Set-Cookie: PHPSESSID=[REDACTED]; path=/
Content-Type: application/json
X-Cache: MISS from secure1141.sakura.ne.jp
Keep-Alive: timeout=5, max=10
@wodim
wodim / gist:6535520
Created September 12, 2013 10:29
twicca http request
POST https://secure1141.sakura.ne.jp/twicca.r246.jp/_backend/_status/ HTTP/1.1
Content-Length: 82
Content-Type: application/x-www-form-urlencoded
Host: secure1141.sakura.ne.jp
Connection: Keep-Alive
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
id=[REDACTED]&screen_name=[REDACTED]&signature=[REDACTED]
.class public final Ljp/r246/twicca/billing/a/b;
.super Landroid/os/AsyncTask;
# instance fields
.field private a:Ljp/r246/twicca/billing/a/c;
.field private b:J
.field private c:Ljava/lang/String;
@wodim
wodim / gist:6551561
Last active December 23, 2015 00:09
Stylish stylesheet for Feedly (Google Reader look-a-like)
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http://cloud.feedly.com/") {
/* inside views */
.inlineFrame {
padding: 20px 0 0 0 !important;
background-size: 20px 20px !important;
min-height: 0 !important;
}
.entryTitle.title {
/* padding-bottom: 10px; */
Las madrigueras de la Ratonera
Servicios de los establos de Ventalia
Razelan
¿Y por qué estáis buscando al Sangre de Dragón?
Botas imperiales de llamas menguantes
Brazales de piel de alquimia mayor
Permanecer en pie
Brawling Victor
¿Así que necesitas que lo traiga de vuelta?
Oreja de falmer
This file has been truncated, but you can view the full file.
Mira, tú no le digas nada a Maven, ¿quieres? Me he pasado semanas intentando que me quedara bien y, si se da cuenta de lo estúpido que soy, se librará de mí.
Me temo que tenemos un problema. Uno gordo. He descubierto quién es en realidad el líder de los Barbas Grises.
¿Para mí? ¿De quién?
Escucha, chica. Hay un último asunto que debemos arreglar antes de ir tras Mercer... el liderazgo del gremio.
Estamos buscando un libro de fórmulas alquímicas titulado "El viaje onírico".
Solo aquellos cuya Voz es fuerte pueden dar con el camino. Ven. Te enseñaré un grito que te abrirá el camino hasta Paarthurnax.
¡Capitán Tormenta Solitaria! ¡Te he andado buscando por todas partes!
Estas fiestas me parecen terriblemente aburridas.
No creo que hubiera aceptado tu absolución, Rorlund. Adoraba a Talos.
This file has been truncated, but you can view the full file.
===================================================================================
<font face='$HandwrittenFont'><div align="left">
La chica que arrestamos junto al río resultó ser de lo más peleona. Burbag pensó que podría enseñarle algo de respeto a palos, pero parece que se le fue la mano.
La jefa no va a estar nada contenta cuando se entere de todo esto.
===================================================================================