https://sid-500.com/2017/12/11/configuring-windows-firewall-with-powershell/ https://docs.microsoft.com/en-us/powershell/module/netsecurity/new-netfirewallrule?view=win10-ps https://docs.microsoft.com/en-us/powershell/module/netsecurity/set-netfirewallprofile?view=win10-ps Most useful will probably be: set-netfirewallprofile -all -enabled false -verbose
Category Archives: Reference
Getting Shodan’s python API to work with an Internal CA Certificate
TL;DR Find certifi\cacert.pem and add your internal root ca’s certificate information to the bottom. I’m learning Python and I’m learning Shodan. Why not put the two together and use Shodan’s python API? Great idea. Problem: We have a proxy at work. That means that my computer thinks the certificate authority that is vouching for the […]
Use powershell to tell what network profile is.
Get-netconnectionprofile
How to Reset HP Procurve Switch 1800-24G
Unplug power Plug port 1 into port 2. Plug power back in. Wait 30 seconds. Unplug power. Disconnect cable from port 2 and insert that into your computer NIC. Set your computers IP to something in the 192.168.2.0/24 range(IE 192.168.2.67) Login to 192.168.2.10 from your computer.