Skip to content

Instantly share code, notes, and snippets.

Josi jirojo2

Block or report user

Report or block jirojo2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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) { = null; = null;
this.username = null;
var self = this;
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) { = null; = null;
this.username = null;
this.ctf = ctf;
jirojo2 / Makefile
Created Oct 2, 2015
Some experiment for casual log parsing for @SuperBuker
View Makefile
g++-4.9 -std=c++14 -I. -O3 -o parser
for word in $(cat passwordlist.lst)
tokens=$(curl -c cookie.txt -b cookie.txt 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"
You can’t perform that action at this time.