Skip to content

Instantly share code, notes, and snippets.

View jirojo2's full-sized avatar

Josi jirojo2

View GitHub Profile
#!/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 October 2, 2015 22:29
Some experiment for casual log parsing for @SuperBuker
compile: parser.cc
g++-4.9 -std=c++14 -I. -O3 -o parser parser.cc
@jirojo2
jirojo2 / CTFBot.js
Last active April 4, 2022 21:37
CTF Telegram Bot
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 August 6, 2015 16:33
Telegram Bot: testing echo! Node.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;