Welcome to docker-in-an-hour! This is a "JIT" for docker, with many explanations being just enough to defend yourself. It is highly recommended that you go and at least Google some of the stuff here after doing the workshop. Read the official docs with real explanations.
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
diff --git a/objection/console/cli.py b/objection/console/cli.py | |
index f9738d1..4814eff 100644 | |
--- a/objection/console/cli.py | |
+++ b/objection/console/cli.py | |
@@ -3,6 +3,8 @@ import time | |
from pathlib import Path | |
import click | |
+from prompt_toolkit import prompt | |
+from prompt_toolkit.completion import FuzzyCompleter, WordCompleter |
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
# clone the certificate for SysInternals TCPView.exe and save | |
# it as cert.pfx | |
$o = Get-PfxCertificate -FilePath .\tcpview.exe | |
$cl = New-SelfSignedCertificate -CloneCert $o | |
$p = ConvertTo-SecureString -String "password" -Force -AsPlainText | |
Export-PfxCertificate -FilePath cert.pfx -Cert $cl -Password $p |
Hello world!
This was the internal @sensepost SenseCon 2021 announcement email (stripped), together with the supporting challenge.
Have phun!
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 bash | |
# | |
# Dump headers for binaries in an extracted iOS applications' | |
# Payload folder using radare2. | |
dumpdir="headers/" | |
mkdir -p $dumpdir | |
find . -perm +111 -type f | grep -iv "libswift" | while read -r bin; do | |
echo "< Processing -> $bin" |
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
diff --git a/server/server.vala b/server/server.vala | |
index d3fc39f9..3e4d11b3 100644 | |
--- a/server/server.vala | |
+++ b/server/server.vala | |
@@ -3,7 +3,7 @@ namespace Frida.Server { | |
private const string DEFAULT_LISTEN_ADDRESS = "127.0.0.1"; | |
private const uint16 DEFAULT_LISTEN_PORT = 27042; | |
- private const string DEFAULT_DIRECTORY = "re.frida.server"; | |
+ private const string DEFAULT_DIRECTORY = "re.freeda.server"; |
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
#!/bin/bash | |
# Add a firewall NAT rule to expose a port open in a docker container, on a host. | |
# | |
# This is only really useful if the container is already running, and you don't | |
# want to/can't shut it down, but need a new incoming port open. | |
# | |
# Requires `jq` for parsing docker container information. | |
# | |
# 2019 @leonjza |
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
const dlib = 'mettle.dylib'; | |
const NSDocumentDirectory = 9; | |
const NSUserDomainMask = 1 | |
const p = ObjC.classes.NSFileManager.defaultManager() | |
.URLsForDirectory_inDomains_(NSDocumentDirectory, NSUserDomainMask).lastObject().path(); | |
const dylibPath = p + '/' + dlib; | |
const cm = new CModule(""+ | |
"#include <glib.h>" + | |
"" + |