Skip to content

Instantly share code, notes, and snippets.

View roelds's full-sized avatar
:shipit:
(╯°□°)╯︵ ┻━┻

RoelDS roelds

:shipit:
(╯°□°)╯︵ ┻━┻
  • 16:40 (UTC -05:00)
View GitHub Profile
@roelds
roelds / ListPrivilegedServices.ps1
Last active September 8, 2023 23:39 — forked from RomelSan/ListPrivilegedServices.ps1
List privileged services that don't come with Windows 11
# updated for Win11
# List privileged services that don't come with Windows 11
# Exclusion List for Win11 built in
$exclusion = @('ALG', 'AppVClient', 'COMSysApp', 'diagnosticshub.standardcollector.service',
'edgeupdate', 'edgeupdatem', 'gcs', 'MicrosoftEdgeElevationService', 'MSDTC',
'msiserver', 'NetTcpPortSharing', 'perceptionsimulation', 'PerfHost', 'RpcLocator', 'SecurityHealthService',
'Sense', 'SensorDataService', 'SgrmBroker', 'SNMPTrap', 'spectrum', 'Spooler', 'sppsvc', 'TieringEngineService',
'TrustedInstaller', 'UevAgentService', 'uhssvc', 'vds', 'VSS', 'wbengine', 'WdNisSvc', 'WinDefend', 'wmiApSrv',
'WMPNetworkSvc', 'WSearch', 'WslService')
@roelds
roelds / asn.sh
Last active September 9, 2023 02:47 — forked from ethack/asn
ASN/IP/Route/hostname CLI lookup tool to map any network to corresponding ASN & prefix
#!/bin/bash
if command -v whois >/dev/null 2>&1 ; then echo "whois ok..." ; else echo "install whois!" && exit ; fi
# verified on latest Ubuntu server cloudimg
############################################################################################################
# ----------------------------------------------------------------------
# ASN/IPv4/Prefix lookup tool. Uses Team Cymru's whois service for data.
# ----------------------------------------------------------------------
# example usage:
# asn <ASnumber> -- to lookup matching ASN data. Supports "as123" and "123" formats (case insensitive)