This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: | |
image: 'gitlab/gitlab-ce:11.4.7-ce.0' | |
restart: always | |
hostname: 'gitlab.example.com' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://gitlab.example.com' | |
redis['bind']='127.0.0.1' | |
redis['port']=6379 | |
gitlab_rails['initial_root_password']=File.read('/steg0_initial_root_password') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import re | |
# python3 | |
# STAGE 1 | |
""" | |
stage1 = 'Ӈ#7ùª9¨M¤À.áÔ¥6¦¨¹.ÿÓÂ.Ö£JºÓ¹WþÊmãÖÚG¤ ¢dÈ9&òªћ#³1᧨' | |
out = "" | |
key = "\x82\x1e\x0a\x9a" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sage.all | |
import hashlib | |
# part1 - https://www.youtube.com/watch?v=Vgdhlh6evjI | |
# part2 - https://www.youtube.com/watch?v=EOlddNofKxo | |
# prepare a table of bits | |
def bits_of(x): | |
bits = [] | |
for c in "{:08b}".format(x): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from z3 import * | |
import struct | |
# calculate e,f,d for a given input password | |
def calc(m): | |
e = 0 | |
f = 0 | |
d = 0 | |
for i in xrange(0, len(m)): | |
c = ord(m[i]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import string | |
import random | |
import urllib | |
import time | |
import base64 | |
from decimal import Decimal | |
# Blind GQL injection and optimised binary search - A7 ~ Gee cue elle (misc) Google CTF 2017 | |
# https://www.youtube.com/watch?v=za_9hrq-ZuA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <signal.h> | |
#include <pty.h> | |
#include <fcntl.h> | |
#include <time.h> | |
#include <sys/wait.h> | |
// gcc cook3.c -lutil -o cook3 -Wall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`timescale 1ns / 1ps | |
////////////////////////////////////////////////////////////////////////////////// | |
// Company: | |
// Engineer: | |
// | |
// Create Date: 01:48:35 02/27/2017 | |
// Design Name: | |
// Module Name: main | |
// Project Name: | |
// Target Devices: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import re | |
import operator | |
def get_scoreboard(): | |
r = requests.get('http://rhme.riscure.com/scores') | |
return re.findall(r'<a href="user\?id=([0-9]+)">', r.text) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import telnetlib | |
import struct | |
""" | |
developed on stream: https://www.youtube.com/watch?v=zWgS6fTw4Ts | |
""" | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect(('127.0.0.1', 2323)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import r2pipe | |
r2 = r2pipe.open("./zwiebel2") | |
r2.cmd("e dbg.profile=zwiebel.rr2") | |
r2.cmd("doo") # reopen for debugging | |
r2.cmd("db 0x400875") # set breakpoint at `call r14` | |
r2.cmd("dc") # continue until breakpoint is hit | |
def step(): |