This file contains 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 ubuntu:artful | |
RUN apt update | |
RUN apt install -y build-essential libssl1.0-dev libevent-dev libseccomp-dev libcap-dev libboost-all-dev pkg-config git autoconf | |
RUN git clone --recursive https://github.com/XSPECOfficial/spectre | |
WORKDIR /spectre | |
RUN bash ./autogen.sh | |
RUN bash ./configure | |
RUN make -j2 |
This file contains 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
{ | |
"header": { | |
"Name": "MDErgo1", | |
"Layout": "Default", | |
"Base": "Blank", | |
"Version": "0.1", | |
"Author": "HaaTa (Jacob Alexander) 2015", | |
"KLL": "0.3c", | |
"Date": "2015-09-12", | |
"Generator": "KIICONF 0.2" |
This file contains 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 java.util.Arrays; | |
public class Main { | |
public static void main(String[] args) { | |
Visitor<Integer> intVisitor = new Visitor<Integer>() { | |
@Override | |
public Integer visitInt() { | |
System.out.println("LOL"); | |
return null; |
This file contains 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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007fff9b562f49, pid=43902, tid=0x0000000000000b23 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b14) (build 1.8.0_102-b14) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.102-b14 mixed mode bsd-amd64 compressed oops) | |
# Problematic frame: | |
# C [libsystem_platform.dylib+0x4f49] _platform_memmove$VARIANT$Haswell+0x29 | |
# |
This file contains 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 java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
public class Reflection { | |
public static void vulnerableMethod() { | |
} | |
public void reflectVulnerableMethod() throws ClassNotFoundException, NoSuchMethodException, SecurityException, |
This file contains 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
#!/usr/bin/env python | |
## WARNING: This file is generated | |
#!/usr/bin/env python | |
"""Create a "virtual" Python installation | |
""" | |
__version__ = "13.1.2" | |
virtualenv_version = __version__ # legacy | |
import base64 |
This file contains 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
private String debugString(CallChain cc) { | |
StringBuilder sb = new StringBuilder(); | |
for (CallSite cs : cc) { | |
sb.append(cs.getCaller().getClassName()); | |
sb.append("."); | |
sb.append(cs.getCaller().getMethodName()); | |
sb.append("->"); | |
} | |
sb.append(cc.last().getCallee().getMethodName()); |
This file contains 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
public class Main { | |
public static void main(String[] args) { | |
a().evaluate(); | |
} | |
public static Expression a() { | |
final Expression e = SimpleExpression.builder(); | |
return new Expression() { | |
@Override |
This file contains 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
let _ = | |
let open Typedtree in | |
let open Types in | |
let types_from_arrow ty = | |
let rec helper ty = | |
match ty.desc with | |
| Tlink ty -> helper ty | |
| Tarrow (_, t1, t2, _) -> helper t1 @ helper t2 | |
| Tconstr (Path.Pident id, _, _) -> [Ident.name id] | |
| _ -> failwith "oops" in |
This file contains 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
## | |
# This file is part of the Metasploit Framework and may be subject to | |
# redistribution and commercial restrictions. Please see the Metasploit | |
# web site for more information on licensing and terms of use. | |
# | |
# http://metasploit.com/ | |
## | |
require 'shellwords' | |
class Metasploit3 < Msf::Exploit::Local |