Skip to content

Instantly share code, notes, and snippets.

View praseodym's full-sized avatar
:shipit:
ship it

Mark Janssen praseodym

:shipit:
ship it
View GitHub Profile
@praseodym
praseodym / openctf2018_8.md
Created August 12, 2018 18:34
OpenCTF 2018: Challenge 8 (yodawg.jpg)

OpenCTF 2018: Challenge 8 (yodawg.jpg)

Challenge text:

yodawg.jpg 50 ---
steghide was found on the hackers computer.  https://scoreboard.openctf.com/yodawg.jpg-a5f90bcb58c65886c8b40623ad5bf73ae62545bc

This file is a tar.gz containing yodawg.jpg. From the hint we know that the steghide tool was used hide another file in this jpg. steghide needs a passphrase; the jpg file happens to represent the flag of Gabon and Gabon was indeed the passphrase used to hide the data:

apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/bound-by-controller: "yes"
pv.kubernetes.io/provisioned-by: local-volume-provisioner-k8s-01-2bb98394-3734-11e7-956b-00505699a646
volume.alpha.kubernetes.io/node-affinity: '{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/hostname","operator":"In","values":["k8s-01"]}]}]}}'
creationTimestamp: 2017-07-02T17:16:17Z
name: local-pv-87b4a99e
resourceVersion: "11478333"

Keybase proof

I hereby claim:

  • I am praseodym on github.
  • I am praseodym (https://keybase.io/praseodym) on keybase.
  • I have a public key ASCsOdUAXuPHsb-oDVWoG5RfjSzbwP_or4y2FnmFX9tHIQo

To claim this, I am signing this object:

@praseodym
praseodym / config.gateway.json
Created December 18, 2016 14:39
UniFi Security Gateway configuration
{
"firewall": {
"all-ping": "enable",
"broadcast-ping": "disable",
"group": {
"address-group": {
"authorized_guests": {
"description": "authorized guests MAC addresses"
},
"guest_allow_addresses": {
@praseodym
praseodym / common_tasks_apt.yml
Created November 3, 2016 20:06
Ansible examples
---
- name: ensure wheezy-backports is present
apt_repository: repo="deb http://ftp.nl.debian.org/debian/ wheezy-backports main contrib non-free" state=present update_cache=yes
when: ansible_distribution_release == 'wheezy'
- name: ensure jessie-backports is present
apt_repository: repo="deb http://ftp.nl.debian.org/debian/ jessie-backports main contrib non-free" state=present update_cache=yes
when: ansible_distribution_release == 'jessie'
@praseodym
praseodym / Sample.java
Last active October 7, 2016 19:21
Flux.sample() behaviour in reactor-core 3.0.2.RELEASE
package io.pivotal.literx;
import org.junit.Test;
import reactor.core.publisher.Flux;
public class Sample {
@Test
public void sample() {
Flux<Integer> flux = Flux.just(1, 2, 3);
flux.log().sampleMillis(1000).subscribe(a -> System.out.println("Subscribe: " + a));
package reactor.core;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import reactor.core.publisher.ConnectableFlux;
import reactor.core.publisher.Flux;
import reactor.core.scheduler.Schedulers;
import reactor.test.TestSubscriber;
@praseodym
praseodym / FullyResolveDependencyHierarchy.java
Created May 31, 2016 19:30
Aether dependency resolution, including managed dependencies - uses git://git.eclipse.org/gitroot/aether/aether-demo.git
package org.eclipse.aether.examples;
import org.eclipse.aether.DefaultRepositorySystemSession;
import org.eclipse.aether.RepositorySystem;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.artifact.Artifact;
import org.eclipse.aether.artifact.DefaultArtifact;
import org.eclipse.aether.collection.CollectRequest;
import org.eclipse.aether.examples.util.Booter;
import org.eclipse.aether.graph.Dependency;
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "11"
nvram = "testserver6.nvram"
pciBridge0.present = "TRUE"
svga.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
@praseodym
praseodym / trace.log
Created September 19, 2015 15:56
SSL error with OpenSAML 2.6.4
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons.httpclient.HttpMethodDirector - I/O exception (javax.net.ssl.SSLPeerUnverifiedException) caught when processing request: SSL peer failed hostname validation for name: 130.161.129.121
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons.httpclient.HttpMethodDirector - Retrying request
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons.httpclient.HttpMethodDirector - I/O exception (javax.net.ssl.SSLPeerUnverifiedException) caught when processing request: SSL peer failed hostname validation for name: 130.161.129.121
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons.httpclient.HttpMethodDirector - Retrying request
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons.httpclient.HttpMethodDirector - I/O exception (javax.net.ssl.SSLPeerUnverifiedException) caught when processing request: SSL peer failed hostname validation for name: 130.161.129.121
Sep 19 17:45:32 hendrik java[20881]: INFO : org.apache.commons