This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Fortune 500/1000 Company Fetcher | |
Author's Note: | |
I have been looking for a complete and updated list of F500 companies for some | |
work I'm doing, and nothing seems to exist. This should (for now) automatically | |
retrieve the list from fortune.com - they annoyingly don't have a public plain | |
text list. Also, does you the favor of making a mysql database populated with | |
the info. Enjoy! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# NPM Compromise Checker Script | |
# Checks for known compromised npm packages from September 2025 supply chain attack | |
echo "================================================" | |
echo "NPM Security Compromise Checker" | |
echo "================================================" | |
echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Proxmox VE 8.x Installer for Raspberry Pi 5 | |
# This script automates the installation of Proxmox VE 8.x on Raspberry Pi 5 | |
# Usage: curl -sSL https://gist.githubusercontent.com/TechByTom/092eca558039478350314932bca071dc/raw | sudo bash | |
# or save this script and run with: sudo bash install.sh | |
# Exit on error | |
set -e | |
# ================================================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import json | |
import subprocess | |
import argparse | |
from datetime import datetime, timedelta | |
import smtplib | |
from email.mime.text import MIMEText | |
from email.mime.multipart import MIMEMultipart | |
from email.utils import formataddr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[Parameter(Mandatory=$true)] | |
[string]$ScanDirectory, | |
[Parameter(Mandatory=$true)] | |
[string]$FingerprintsFile, | |
[Parameter(Mandatory=$false)] | |
[string]$OutputDirectory = ".\categorized_interfaces" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[Parameter(Mandatory=$true)] | |
[string]$XmlPath, | |
[Parameter(Mandatory=$false)] | |
[int]$MaxHosts = 15, | |
[Parameter(Mandatory=$false)] | |
[int]$RequestTimeout = 10 | |
) | |
# Function definitions must come before usage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the Active Directory module | |
Write-Host "Importing the Active Directory module..." | |
Import-Module ActiveDirectory | |
Write-Host "Active Directory module imported." | |
# Automatically derive the domain's distinguished name | |
Write-Host "Retrieving the current user's domain context..." | |
$domainDN = (Get-ADDomain).DistinguishedName | |
Write-Host "The current user's domain context has been retrieved: $domainDN" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenCL Platform #1: NVIDIA Corporation | |
====================================== | |
* Device #1: NVIDIA GeForce RTX 3080 Ti, 3071/12287 MB allocatable, 80MCU | |
Benchmark relevant options: | |
=========================== | |
* --optimized-kernel-enable | |
Hashmode: 0 - MD5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s 'https://crt.sh/?q=%.'$1'&output=json' | jq '.[] | {name_value}' | grep "name_value" | sed 's/\"//g' | cut -d":" -f2- | tr -d '[:blank:]' | sed 's/\\n/\n/g' | tr '[:upper:]' '[:lower:]' | sort -u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Declare PtrSafe Function DispCallFunc Lib "OleAut32.dll" (ByVal pvInstance As Long, ByVal offsetinVft As Long, ByVal CallConv As Long, ByVal retTYP As Integer, ByVal paCNT As Long, ByRef paTypes As Integer, ByRef paValues As Long, ByRef retVAR As Variant) As Long | |
Declare PtrSafe Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long | |
Declare PtrSafe Function GetProcAddress Lib "kernel32" (ByVal hModule As Long, ByVal lpProcName As String) As Long | |
Const CC_STDCALL = 4 | |
Const MEM_COMMIT = &H1000 | |
Const PAGE_EXECUTE_READWRITE = &H40 | |
Private VType(0 To 63) As Integer, VPtr(0 To 63) As Long |
NewerOlder