Packer, Ubuntu Noble, and VirtualBox
Saturday, August 31, 2024 in Random
I have been using Packer for quite a while. However, all my interactions have used JSON instead of HCL. I wanted to set up a new build using HCL, VirtualBox, and Ubuntu 24.04. I am going to attempt to create documentation for using HCL with …
Adopting Docsy Theme
Tuesday, August 27, 2024 in Updates
I recently (not that recent) discovered the Docsy theme for Hugo. After playing with it on a few mini projects, I have decided to migrate this site to use it. I imagine I will slowly start migrating other things to it as well.
SaintCON Training
Saturday, September 30, 2023 in Random
I’ve been working on a phishing training for SAINTCON. I used this to brainstorm how I wanted the network laid out. Network Diagram flowchart TB wifi-->opnet subgraph labnet [FakeNet] direction TB subgraph corpnet [Corp Network] subgraph …
Curl Resolve DNS through Proxy
Wednesday, February 17, 2021 in Random
If you append h to your socks5 protocol prefix when using --proxy the DNS resolution happens on the other side of the socks proxy! curl --proxy socks5h://127.0.0.1:1080 http://internal-host
Cloud metadata URLs
Thursday, January 30, 2020 in Random
Alibaba http://100.100.100.200/latest/meta-data/ http://100.100.100.200/latest/meta-data/instance-id http://100.100.100.200/latest/meta-data/image-id References https://www.alibabacloud.com/help/faq-detail/49122.htm AWS …
PfSense and SELKS
Tuesday, April 23, 2019 in Random
I installed SELKS this in a VM. I am using Fedora Server (which I kind of regret because of the updates). Once installed I went to my PfSense firewall admin interface, to bridge LAN and WAN to a 3rd interface ( OPT1). ref WAN + | | …
Anyproxy Intercept
Monday, March 11, 2019 in Random
Anyproxy is an intercept proxy. I used it to inject scripts into pages to assist in web fuzzing. const AnyProxy = require('./anyproxy/proxy'); const options = { port: 8080, rule: require('./dfkt_rule'), webInterface: { enable: true, …
Random shell scripting things I may use in the future
Friday, March 01, 2019 in Random
Mass move: for f in wlog/*; do for ff in $f/*; do cp "$ff" $(basename $f)-$(basename $ff | sed 's/^00-//g' | sed 's/ /-/g'); done; done Mass Find and replace: for f in *todo*; do cat $f | sed -e 's/## '$(basename $f | …