I hereby claim:
- I am ursachec on github.
- I am ursachec (https://keybase.io/ursachec) on keybase.
- I have a public key whose fingerprint is A7FF BC47 0060 AC4A 619B 852F 37B9 05E7 113D B932
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
CGRect frame = CGRectMake(0, 0, 300, 300); | |
NSURL* videoURL = [NSURL URLWithString:@"https://devimages.apple.com.edgekey.net/resources/http-streaming/examples/bipbop_4x3/bipbop_4x3_variant.m3u8"]; | |
CVUMoviePlayerView* moviePlayerView = [[CVUMoviePlayerView alloc] initWithFrame:frame videoURL:videoURL]; | |
[self.view addSubview:moviePlayerView]; |
[NON-repeating event: r ] | |
{0 : 31178732, 1 : 33620352, 2 : 10, 3 : 0, 4 : 0, 5 : 0, 6 : 0, 7 : 0, 8 : 0, 9 : -2028929489, 10 : 59081, 11 : 0, 12 : 0, 13 : 9936, 14 : 162, 15 : 7471125, 16 : 16580722, 17 : 7471105, } | |
[repeating event: r ] | |
{0 : 31178732, 1 : 33620352, 2 : 10, 3 : 0, 4 : 0, 5 : 0, 6 : 0, 7 : 0, 8 : 0, 9 : -1528719789, 10 : 59081, 11 : 0, 12 : 0, 13 : 9936, 14 : 162, 15 : 7471125, 16 : 16580722, 17 : 7471105, } | |
[repeating event: r ] | |
{0 : 31178732, 1 : 33620352, 2 : 10, 3 : 0, 4 : 0, 5 : 0, 6 : 0, 7 : 0, 8 : 0, 9 : -1445174829, 10 : 59081, 11 : 0, 12 : 0, 13 : 9936, 14 : 162, 15 : 7471125, 16 : 16580722, 17 : 7471105, } | |
[repeating event: r ] |
#!/bin/bash | |
set -u | |
# Setup architectures, library name and other vars + cleanup from previous runs | |
ARCHS=("armv7s" "armv7" "i386") | |
SDKS=("iphoneos" "iphoneos" "macosx") | |
LIB_NAME="openssl-1.0.1e" | |
TEMP_LIB_PATH="/tmp/${LIB_NAME}" | |
LIB_DEST_DIR="lib" | |
HEADER_DEST_DIR="include" |
#ifndef __mrt_timer_h__ | |
#define __mrt_timer_h__ | |
#include <sys/time.h> | |
#define mrt_timer_setup() \ | |
struct timeval mrt_te; \ | |
time_t mrt_start = 0, mrt_end = 0; | |
#define mrt_timer_start() \ |
dd if=/dev/urandom bs=1 count=2 2>/dev/null | hexdump -v -e '1/1 "%u"'; echo; |
# Make a directory in which to run the build | |
mkdir ~/openssl-ios | |
cd ~/openssl-ios | |
# Download the openssl source (verify the file before using it in production!) | |
curl -O http://www.openssl.org/source/openssl-1.0.1e.tar.gz | |
# Download the openssl iOS build script | |
curl -O https://raw.github.com/Raphaelios/raphaelios-scripts/master/openssl/build-openssl.sh |
class Annotator(object):
def __init__(self, nlp, **kwargs):
# `nlp` is a spaCy Language object
self.nlp = nlp
def annotate(self, agr, rules):
""" `agr` (short for Agreement) is a tree-like data structure.
A node of the tree (class `Element`) has a `tag` (e.g. PREAMBLE, SECTION) and may have
import io.shiftleft.codepropertygraph.Cpg | |
import io.shiftleft.semanticcpg.language._ | |
import scala.io.Source | |
// joern --script hardcoded_creds.sc --params binaryIn=/home/claudiu/src/joern/artifacts/mtfwu | |
@main def exec(binaryIn: String) = { | |
importCode.ghidra(binaryIn) | |
val decompiledBinary = cpg.method.dumpRaw.mkString("\n") | |
val entry = Source.fromFile("entry.c").getLines.mkString | |
importCode.c.fromString(decompiledBinary + "\n\n" + entry) |