Skip to content

Instantly share code, notes, and snippets.

View AndyNovo's full-sized avatar

Andy Novocin AndyNovo

View GitHub Profile
@AndyNovo
AndyNovo / AES1.md
Last active July 13, 2020 16:51 — forked from npilla2023/AES1.md

Level 1: Finding a Shared Key

Thanks to Diffie-Hellman Key Exchange, the STARS can share secret messages that the CRABS will never crack. The STARS want to ensure that you can properly execute this process, so this is your chance to prove yourself as a promising agent. Agent Ocean will be training you.

Here is the information you have been briefed with:
Your super secret value is: 109306739515372000536684615587060142161
Agent Ocean's public value is: 54224788903180805177809934100426766384

from pwn import *
import sys
print("STARTING PYTHON SCRIPT")
def readleak(resp, start, end):
return u32(resp[start:end])
def getAddStart(leak, find):
count = 0
while (count < 50):
@AndyNovo
AndyNovo / dabblet.css
Created December 24, 2015 21:41 — forked from csssecrets/dabblet.css
Multiple borders
/**
* Multiple borders
*/
div {
width: 100px;
height: 60px;
margin: 25px;
background: yellowgreen;
border: 5px solid red;
@AndyNovo
AndyNovo / README.md
Last active August 28, 2015 15:08 — forked from phatak-dev/README.md
Functional Programming in C++

#Compilng You need g++ 4.9 to compile this code. Follow these steps to install g++-4.9

After installing run the following command to compile

/usr/bin/g++-4.9 -std=c++11 lambda.cpp

#Running

./a.out