Skip to content

Instantly share code, notes, and snippets.

@r13ux
r13ux / setup.sh
Created September 22, 2023 22:07 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@r13ux
r13ux / nmap-xml-json.md
Created August 18, 2023 16:29 — forked from PSJoshi/nmap-xml-json.md
convert nmap XML to JSON

Step 1:

Do nmap scan of the target

# nmap -sV -oX nmap_out.xml example.com 1>/dev/null 2>/dev/null

Step 2:

Convert nmap's XML output to JSON so that it can be fed to ELK stack.

#!/usr/bin/env python