Skip to content

Instantly share code, notes, and snippets.

Avatar

Josi jirojo2

View GitHub Profile
View pwn_rabbits.sh
#!/bin/bash
for word in $(cat passwordlist.lst)
do
tokens=$(curl -c cookie.txt -b cookie.txt http://challenge.followthewhiterabbit.es:1234/ 2>/dev/null | grep value= | head -n2 | sed -E "s/.*value=(.*)>/\1/")
token1=$(echo $tokens | cut -d' ' -f1)
token2=$(echo $tokens | cut -d' ' -f2)
echo "attempting word $word"
@jirojo2
jirojo2 / Makefile
Created Oct 2, 2015
Some experiment for casual log parsing for @SuperBuker
View Makefile
compile: parser.cc
g++-4.9 -std=c++14 -I. -O3 -o parser parser.cc
@jirojo2
jirojo2 / CTFBot.js
Last active Aug 29, 2015
CTF Telegram Bot
View CTFBot.js
var telegram = require('telegram-bot-api');
var util = require('util');
var _ = require('lodash');
function CTFBot(token, ctf) {
this.id = null;
this.name = null;
this.username = null;
this.ctf = ctf;
@jirojo2
jirojo2 / bot.js
Created Aug 6, 2015
Telegram Bot: testing echo! Node.js
View bot.js
var telegram = require('telegram-bot-api');
var util = require('util');
function Bot(token) {
this.id = null;
this.name = null;
this.username = null;
var self = this;