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 argparse | |
import sys | |
from typing import List | |
import polars as pl | |
from icecream import ic | |
def report(input_csvs: List[str], output_csv: str): | |
# out.csv sample |
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 | |
set -e | |
set -o pipefail | |
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins" | |
plugin_dir="/var/lib/jenkins/plugins" | |
include_optionals=false | |
showUsage() { |
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
[sean@arch ansible]$ strace date 2>&1 | grep open | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 | |
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3 | |
[sean@arch ansible]$ strace touch foo 2>&1 | grep open | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3 |
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
# for a bundle of tars | |
> file *.bundle | |
first.bundle: POSIX tar archive (GNU) | |
second.bundle: POSIX tar archive (GNU) | |
## for s single file | |
mkdir -p reponame/.git; | |
tar xvf dotgit.tar -C reponame/.git; | |
cd reponame |
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
# start vulnerable system | |
[sean@arch docker]$ docker run -d -p 443:443 simonswine/wheezy-with-heartbleed | |
# start postgresql for metasploit | |
[sean@arch docker]$ docker run -d --name=postgres postgres | |
[sean@arch docker]$ docker run -it --link postgres:db pandrew/metasploit | |
CREATE DATABASE | |
[*] Starting the Metasploit Framework console.../[*] The initial module cache will be built in the background, this can take 2-5 minutes... | |
\ | |
, , | |
/ \ |