Skip to content

Instantly share code, notes, and snippets.

View binbash23's full-sized avatar

Jens Heine binbash23

View GitHub Profile
@cheynewallace
cheynewallace / ExportSchema.ps1
Last active March 12, 2025 14:11
Export MSSQL schema with PowerShell. This script will export your schema definitions for tables, stored procs, triggers, functions and views to .sql files
# Usage: powershell ExportSchema.ps1 "SERVERNAME" "DATABASE" "C:\<YourOutputPath>"
# Start Script
Set-ExecutionPolicy RemoteSigned
# Set-ExecutionPolicy -ExecutionPolicy:Unrestricted -Scope:LocalMachine
function GenerateDBScript([string]$serverName, [string]$dbname, [string]$scriptpath)
{
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
@HackHerz
HackHerz / kismet2sqlite.sh
Last active October 29, 2023 10:25
Convert airodump-ng output to a sqlite database.
#!/bin/bash
# This script converts *.kismet.csv files produced by airodump-ng into a sqlite database
# Usage: ./kismet2sqlite.sh myfile-01.kismet.csv
#
# Visit my website <hackherz.com> for more.
# © 2016 Daniel Stein <[email protected]>
if [[ $# > 0 ]]
then