Skip to content

Instantly share code, notes, and snippets.

@swtornio
swtornio / nmap-http-url.py
Created April 28, 2022 23:29 — forked from tothi/nmap-http-url.py
Generate HTTP URLs from Nmap XML (and optionally use VirtualHosts)
#!/usr/bin/env python3
#
# inputs: nmap.xml (nmap scan xml output), subdomains.csv (optional virtualhost info, hostname + ip address csv file)
# output: url listing (useful for tools like EyeWitness)
#
# sample usage: ./nmap-http-url.py nmap.xml subdomains.csv | sort -u | gowitness file -f -
#
description = '''
Generate HTTP URLs from Nmap XML (and optionally additional VirtualHost listing, taken from e.g. subdomain enumeration).
@swtornio
swtornio / gist:f0fca7a5ca1e00fd36f607d905426bd9
Created January 16, 2022 16:44
Delete Xbox Apps from win10
PS C:\WINDOWS\system32> Get-AppxPackage -allusers XboxApp | Remove-AppxPackage
PS C:\WINDOWS\system32> Get-AppxPackage -allusers Microsoft.XboxGamingOverlay | Remove-AppxPackage
PS C:\WINDOWS\system32> Get-AppxPackage -allusers XboxApp | Remove-AppxPackage
Uninstall a python app that used setup.py
> python setup.py install --record files.txt
> cat files.txt | xargs rm -rf
@swtornio
swtornio / tmux.conf
Last active August 6, 2022 03:09
tmux config
#############################################
## DEFAULT GENERAL SETTINGS (tmux show -g) ##
#############################################
set-option -g activity-action other
set-option -g assume-paste-time 1
set-option -g base-index 0
set-option -g bell-action any
set-option -g default-command ""
set-option -g default-shell "/bin/bash"