Skip to content

Instantly share code, notes, and snippets.

@andrewd-sysdig
andrewd-sysdig / xmupx.b64
Created April 4, 2023 04:11
Xmrig to test security tooling
This file has been truncated, but you can view the full file.
H4sIABWjK2QAA+y8C3RTZdY+Hi7FQKgNF5sIalIUiNpmh4IliGNjEYwDknDTjL2cNFBItW1CgBhATKi0BoqcIIpB0KY4OvGadMA2nRaTAhnDKDR4PVAgKVSN2poADhOH0fPb76kz44X5vlnrt+b3X9/6f3GRNOe8573sZ+9nP/s9J8opOe8//VIoFNNvu03KfRYMfCrypw18ktfUqdOkU6ZNm5I/PX/KNDyhmJKPDXhSxX98Zvhas2p1uQWnUl6zzFLxyL9uh82WL/8v+hlYivQfn/9TXhnZV/EG83j3lS+VahZJddIfXuQYbzj+y8d/r+I/8v3Uv9flXYsXL/zhT3LF0/hP/bMmg/55PGupqVpebjZXVciry5dWcafhuVMz+lz3MIEn71j5yq437/i/XeT/vv7VSw7/+TH+u/gn8fLT+J9SMHU6T3rbf35q/7+PfznIqaWmmuWVK+QPrTLV/EfGQHsUTJv2r/HPLyD4T1XgvymK6dMR/2n5U6b8L///P3n9O/z/GG+A//3/Xpc/4n9yhQf/CX/WZNA/j4/7J/9Xla9avWZVxbJl5asrbtQuIg0HP3LrMvJ5zSW4+f9qnf/7uuJLDv/p6P9v479g6pRpP4///9V//49e60eQaJ9Qbq6ccLt04At3oHIZfq9ZU1WV+89jj5gsD1dY8v5xijuzYaDBBOPq1eafdlFRU26oqiCNl5dXrar4UUdG06rVeHgCZny5Av+bMuFHJ80mCzmp+NGh8qVLK1atyltterii5pfTslSsWm2pXLqaG2q1ZU3FT+ZVvma1aVW5teKHcz8cNZQvfXiFxbSm5mfTm7DUVGWyrPpp49WVq6t+dr0F3cVUbfuZzWoqyczzpuT+9FheudWW//MT1aZlpE9ufj9e/pQVhjxz+YqKVVewm2VZ9SrLTyYygIvlioeXli81VlArTVfqqWZNdfkvr1i11FK+eqnRXL6MMlsqllfg39QP85zyE6MuNa/5V1j/rEvjmhUV/1jPvzyX9xBnuV/4ySN5
@andrewd-sysdig
andrewd-sysdig / Dockerfile
Created September 15, 2022 00:51
TKO Training 1 Dockerfile final
FROM node:18-alpine
WORKDIR /usr/src/app
COPY app.js .
USER 1000
CMD [ "node", "app.js" ]
@andrewd-sysdig
andrewd-sysdig / app.js
Last active September 14, 2022 22:20
Sample hello-world node application
const http = require('http');
const fs = require('fs')
const hostname = '0.0.0.0';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
fs.readFile("./mydata.json", "utf8", (err, jsonString) => {
@andrewd-sysdig
andrewd-sysdig / harbor.sh
Last active August 21, 2022 22:16 — forked from danielporto/harbor.sh
Quick Start Harbor Installation Script on Ubuntu 20.04
#!/bin/bash
#Harbor on Ubuntu 20.04
#Prompt for the user to ask if the install should use the IP Address or Fully Qualified Domain Name of the Harbor Server
PS3='Would you like to install Harbor based on IP or FQDN? '
select option in IP FQDN
do
case $option in
IP)