Skip to content

Instantly share code, notes, and snippets.

View daBONDi's full-sized avatar

David Baumann daBONDi

View GitHub Profile
@daBONDi
daBONDi / ftg-capture.ps1
Last active March 1, 2023 06:27
Fortigate Powershell Package Capture Script with Conversion
$putty_executable = "C:\Program Files (x86)\PuTTY\putty.exe"
# Download From: http://kb.fortinet.com/kb/viewContent.do?externalId=11186
$fgt2eth_executable = "c:\tools\fgt2eth.exe"
$CaptureInterface="MyInterface1"
$CaptureFilter="host 172.16.23.100 and not host 172.16.11.138"
$FortigateHost = "xxx.xxx.xxx"
@daBONDi
daBONDi / ansible-win-meltdown-spectre.yml
Last active January 16, 2018 08:16
Ansible Runbook to manage Windows Server Systems for Meltdown/Spectre
# Install an Check result of Security Cheks
- name: "Check security posture agains CVE 2017-573,5715,5754"
hosts: windows
gather_facts: true
vars:
restart_allowed: false
enable_meltdown: true
enable_spectre: false
@daBONDi
daBONDi / win_ps_ensure
Created September 25, 2017 20:53
Module Idea
win_ps_ensure:
check_command: Test-Path C:\Windows
check_value: true
set_command: New-Item -Type Directory C:\Windows
@daBONDi
daBONDi / ubuntu-provisioning-ansible-host.sh
Created March 14, 2017 21:42
Install Ansible and tools from Devel
#!/usr/bin/env bash
# TODO: Rewrite that as Ansible Playbook maybe for vagrant:ansible_local
# Installing Basic Utilitys
sudo apt-get install nano dnsutils
# Installing git
sudo apt-get install git -y