Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [ ! -f "$1" ]; then
echo "Usage: $0 <file.gnmap>"
exit 1
fi
INPUT_FILE=$1
OUTPUT_FILE="combined_services.nmap"
#!/usr/bin/python3
import webbrowser
import sys
import os
# Check arguments
if len(sys.argv) < 2:
print("Usage: openinbrowser.py <urls_file> [max_tabs]")
sys.exit(1)
services:
vpn1:
image: dperson/openvpn-client:latest
container_name: vpn-client1
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: unless-stopped
volumes:
@Spirit-Maker
Spirit-Maker / web2loc.sh
Created June 25, 2024 18:16
Find domain hosting location based on IP address found using nslookup
#!/usr/bin/env bash
domain=$1
temp_ip=()
ipv4=()
ipv6=()
while IFS= read -r line; do
temp_ip+=( "$line" )
@Spirit-Maker
Spirit-Maker / Get-PingSweep.ps1
Created May 16, 2023 15:37 — forked from joegasper/Get-PingSweep.ps1
Get-PingSweep - super fast (~500ms) subnet ping sweep with option to resolve IP address
# Inspiration from https://twitter.com/mrhvid/status/929717169130176512 @mrhvid @Lee_Holmes
function ResolveIp($IpAddress) {
try {
(Resolve-DnsName $IpAddress -QuickTimeout -ErrorAction SilentlyContinue).NameHost
} catch {
$null
}
}