Advanced Search
Search Results
152 total results found
Port Mirror / Monitor
Ubiquiti EdgeSwitch monitor session 1 destination interface 0/10 monitor session 1 source interface 0/1 monitor session 1 source interface 0/2 monitor session 1 source interface 0/3 monitor session 1 source interface 0/4 monitor session 1 source...
Windows Network Management from the command line
PowerShell Show relevant settings # IPv4 and IPv6 - Display interfaces sorted by name, index, address family Get-NetIPInterface | Sort-Object -Property InterfaceAlias,ifIndex,AddressFamily # Show current DNS configuration Get-DnsClientServerAddress | ...
Snippets
Logged in users $loggedInUsers = (query user) -split "\n" -replace '\s\s+', ';' | convertfrom-csv -Delimiter ';' # example output PS C:\> $loggedInUsers | Format-Table USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME -------- ----------- -- -----...
tcpdump
Dealing with Ethernet headers and VLANs # include ethernet header tcpdump -n -e # show only non-vlan traffic tcpdump -n -e not vlan # show only vlan traffic tcpdump -n -e vlan # show only vlan 1000 traffic tcpdump -n -e '(vlan and (ether[14...
Event Logs
DCSync Related Logs related to DCSync Credential attacks. This is a start but needs more filtering as there are tons of 4662 events. <QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[System[(EventID=4662)]]</Select> </Query>...
Scripting with traceroute
POC Running /tool traceroute with the as-value option will return the hops as an array. { :local trDestination 1.1.1.1; :local trDuration 3s; :local tr [/tool traceroute $trDestination as-value duration=3s]; :put ("number of hops in $trD...
FreeRADIUS
--- freeradius-original-no-comments/3.0/radiusd.conf # correct_escapes = true may or may not be needed - auth = no + auth = yes auth_badpass = no auth_goodpass = no + msg_goodpass = "msg_goodpass: nas: %{NAS-IP-Address}" + msg_badpass = "msg_badpa...
Fueling
GCN - How to fuel for a 100 mile ride Hourly carb intake can be anywhere from 30 to 90 grams per hour 1-3 hours target 30 to 60 grams per hour longer or harder rides target 60 to 90 grams per hour Starting with glycogen stored before the ride...
Bike Fit
Videos Cam Nicholls - How to Perform a Simple Bike Fit (at Home)
Microsoft Surface Laptop 2 Touchscreen on Linux
Getting the touchscreen to work on Garuda / Arch Linux I recently came across the Garuda Linux SwayFX variant. It looked nice so I decided to give it a try on some older Microsoft Surface Laptops. I've never used Arch Linux or a variant before. I like the loo...
USB Pendrive
YUMI YUMI exFAT - a Multiboot USB bootable software. Easily copy multiple ISO images to a bootable USB flash drive and select which ISO to load at boot How to Restore USB flash drive using diskpart in Windows Source Open a command Prompt as administra...
Arch Linux, Gnome-Keyring and 1Password
Source I've been playing with Garuda Sway linux recently because I like their Sway/SwayFX configuration and layout. The "downside" is that I've had to learn the ins and outs of an Arch Linux based distribution. 1Password will not work "properly" out of the b...
IPv6
dnsdist DNS proxy
dnsdist is a highly configurable DNS-, DoS- and abuse-aware loadbalancer. Here's an example configuration file: -- File: /etc/dnsdist/dnsdist.conf -- listen for console connection with the given secret key controlSocket("0.0.0.0:53530") setKey("superse...
Sysinternals
The Sysinternals web site was created in 1996 by Mark Russinovich to host his advanced system utilities and technical information. Whether you’re an IT Pro or a developer, you’ll find Sysinternals utilities to help you manage, troubleshoot and diagnose your ...
Resource Usage
SYSTEMINFO You can cheat and use good old SYSTEMINFO from any command line. This will give you fairly comprehensive system information. systeminfo Memory Usage Again you can cheat, use SYSTEMINFO and filter the output: systeminfo | Select-String 'M...
Basics
docker images docker images docker image rm [name:tag or container_id] docker containers docker container
Building ISO
VyOS Source Documentation The steps below can be used to setup the build environment, build the packages and kernel, and then ultimately the ISO. Too many people were building ISO images and making them publicly available, so the VyOS team no longer provides...