Skip to content

Instantly share code, notes, and snippets.

View archcloudlabs's full-sized avatar
🐧

DLL_Cool_J archcloudlabs

🐧
View GitHub Profile
@archcloudlabs
archcloudlabs / root.service
Created August 9, 2020 19:13
Systemd Service for payload execution
[Unit]
Description=root
[Service]
Type=oneshot
User=root
ExecStart=/bin/bash -c PAYLOAD
[Install]
WantedBy=multi-user.target
@archcloudlabs
archcloudlabs / ES-Template.py
Created July 11, 2020 19:51
Python + Elasticsearch (TLS configured + Auth)
#!/usr/bin/python3
"""
Example Template for ES w/ AUTH
https://stackoverflow.com/questions/50366668/authentication-in-elasticsearch-using-python
"""
try:
import sys
import requests
from datetime import datetime
@archcloudlabs
archcloudlabs / nsrl-read.py
Created December 26, 2019 18:28
Read in NSRL and store data into Elasticsearch
#!/usr/bin/env python
# Text file: https://s3.amazonaws.com/rds.nsrl.nist.gov/RDS/current/rds_modernu.zip
import csv
import json
import requests
URL = "http://127.0.0.1:9200/nsrl/_doc"
HEADERS = {"Content-Type":"application/json"}
with open("NSRLFile.txt", encoding = "ISO-8859-1") as csvfile:
@archcloudlabs
archcloudlabs / arch-linux-install
Last active July 15, 2020 02:00 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# This assumes a wifi only system...
wifi-menu