This file contains hidden or 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
| [Unit] | |
| Description=root | |
| [Service] | |
| Type=oneshot | |
| User=root | |
| ExecStart=/bin/bash -c PAYLOAD | |
| [Install] | |
| WantedBy=multi-user.target |
This file contains hidden or 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/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 |
This file contains hidden or 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 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: |
This file contains hidden or 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
| # 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 |