Skip to content

Instantly share code, notes, and snippets.

View ixolt's full-sized avatar
🇺🇦

Alex Poliukh ixolt

🇺🇦
  • Ukraine
View GitHub Profile
@ixolt
ixolt / config.boot
Created December 11, 2022 22:56 — forked from nihar/config.boot
EdgeRouter X Configuration to get Airport Extreme Guest Wi-fi working
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name GUEST_LOCAL {
default-action accept
description ""
@ixolt
ixolt / iterm2-solarized.md
Created October 26, 2021 12:01 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@ixolt
ixolt / slackmap.sh
Created February 4, 2018 23:49 — forked from mcrmonkey/slackmap.sh
Script to NMAP a network and Post Differences to Slack
#!/bin/sh
TARGETS=${TARGETS:="192.168.1.0/24"}
OPTIONS=${NMAPOPS:="-v -T4 -F -sV"}
DATE=$(date +%Y-%m-%d-%H-%M-%S)
cd /nmap/diffs
nmap $OPTIONS $TARGETS -oA scan-$DATE > /dev/null
slack(){
curl -F file=@diff-$DATE -F initial_comment="Internal Port Change Detected" -F channels=#$SLACKCHAN -F token=$SLACKTOKEN https://slack.com/api/files.upload
}
@ixolt
ixolt / slackmap.sh
Created February 4, 2018 23:48 — forked from jgamblin/slackmap.sh
Script to NMAP a network and Post Differences to Slack
#!/bin/sh
TARGETS="192.168.1.0/24"
OPTIONS="-v -T4 -F -sV"
date=$(date +%Y-%m-%d-%H-%M-%S)
cd /nmap/diffs
nmap $OPTIONS $TARGETS -oA scan-$date > /dev/null
slack(){
curl -F file=@diff-$date -F initial_comment="Internal Port Change Detected" -F channels=#alerts -F token=xxxx-xxxx-xxxx https://slack.com/api/files.upload
}