InfoSecMonkey: No fluff. Just the config that works.

Category Archives: Scripting

My Jobs Script and How to Automate It

My Jobs Script and How to Automate It

Learn how to automate AppleScript with Automator on macOS. Create a Quick Action and assign a keyboard shortcut to instantly generate organized job folders.

Read More
Running Post VPN Login Script

Running Post VPN Login Script

Configure FortiClient post login script execution for Windows and macOS. Learn to run batch files or applications on connect and disconnect events.

Read More
Bash Script to dig a list of IP Addresses

Bash Script to dig a list of IP Addresses

Use this bash script to dig a list of IP addresses for PTR records. Automate reverse DNS lookups and export results to CSV for...

Read More
Live Ubuntu USB with Persistence

Live Ubuntu USB with Persistence

Learn how to create an Ubuntu Live USB with persistence using mkusb. Build a portable Python development environment for school laptops that saves files.

Read More
Creating an .app out of a Script on macOS

Creating an .app out of a Script on macOS

Learn how to create a macOS app from a bash script using ScriptToApp. Convert scripts to clickable .app files for easy Spotlight launch and...

Read More
2-Way Sync with RSYNC

2-Way Sync with RSYNC

Configure rsync 2-way sync between macOS or Linux machines. Learn to automate file synchronization using cron jobs and exclude .DS_Store files.

Read More
Killing a Process in macOS

Killing a Process in macOS

Learn how to kill a process in macOS using Force Quit, Activity Monitor, or the command line. Master ps, grep, and kill commands for...

Read More
FortiOS AutoScript from CLI

FortiOS AutoScript from CLI

Learn to create and schedule FortiOS AutoScript CLI commands. Configure automated tasks, triggers, and email alerts in FortiOS 6.2 and later versions.

Read More
Fortinet FIT / Tinycore Linux Static IP addressing

Fortinet FIT / Tinycore Linux Static IP addressing

Set a persistent static IP on Fortinet FIT OVA running Tinycore Linux. Create boot scripts to survive reboots and configure network settings.

Read More
Search and Add Line Script

Search and Add Line Script

Use this bash script to search for a pattern and add a line in config files. Perfect for bulk enabling FortiGate allow-routing settings.

Read More
SED and AWK for scripting configs

SED and AWK for scripting configs

Use this sed and awk config script to parse CSV data into network device templates. Generate FortiGate address objects or switch configs automatically.

Read More
Sudo Command in FortiOS

Sudo Command in FortiOS

Use the FortiOS sudo command to run CLI tasks in other VDOMs without switching contexts. Save time on FortiGate administration with this quick config...

Read More
Adding Multiple Calendar Invites at Once

Adding Multiple Calendar Invites at Once

Creating multiple ics calendar invites easily. This blogpost will describe how to use a website to create multiple ics files that can be imported...

Read More
Fortigate Script for Adding Countries

Fortigate Script for Adding Countries

Use this FortiGate script to add countries to your address list automatically. Configure your WAN interface and deploy the CLI commands for instant policy...

Read More
Useful Fortiswitch CLI commands and settings

Useful Fortiswitch CLI commands and settings

Master FortiSwitch CLI commands to monitor port status, filter spanning-tree events, view MAC address tables, and configure syslog settings on FortiGate.

Read More
Using Hazel In My Daily Workflow

Using Hazel In My Daily Workflow

Configure Hazel macOS automation to rename, tag, and move PDF bills. Learn to use triggers, custom fields, and AppleScript for daily workflow efficiency.

Read More
Using NMAP

Using NMAP

Master Nmap scan commands for target selection, port specification, and scan types. Learn to detect OS services and save results to files for efficient...

Read More
VI Cheat Sheet

VI Cheat Sheet

Master the vi editor with this practical vi cheat sheet. Learn essential commands for scrolling, searching, deleting, and copying text in Linux CLI environments.

Read More