Skip to content

gbe0.com

Networking, system administration and more

  • Home
  • Categories
    • Linux
      • Desktop
      • Server
      • Virtual
    • Networking
      • Dell
      • Juniper
      • Ubiquiti
    • Scripting
      • Powershell
      • Puppet/Ruby
      • Python
    • Security
    • Hardware
    • Windows
      • Server
  • Pages
    • Networking Pages
    • Linux Pages
      • Useful Linux Tools
      • nftables Configuration Templates
    • Security Pages
      • Hardening Guides
      • Privilege Management
      • Useful Tools
  • Wiki
  • GitHub
  • Password Dump
  • Contact

gbe0.com

Networking, system administration and more

  • Home
  • Categories
    • Linux
      • Desktop
      • Server
      • Virtual
    • Networking
      • Dell
      • Juniper
      • Ubiquiti
    • Scripting
      • Powershell
      • Puppet/Ruby
      • Python
    • Security
    • Hardware
    • Windows
      • Server
  • Pages
    • Networking Pages
    • Linux Pages
      • Useful Linux Tools
      • nftables Configuration Templates
    • Security Pages
      • Hardening Guides
      • Privilege Management
      • Useful Tools
  • Wiki
  • GitHub
  • Password Dump
  • Contact

Tag: scripting

Posted April 3, 2021April 15, 2021Leave a commentPosted in Python, ScriptingPython, Scripting

Scapy – DNS queries with EDNS

To debug some issues with DNS (specifically EDNS related issues) I thought I would use Scapy so that I could craft the packets the exact way I wanted. As the issue was only occurring for some queries but not others due to the queries being sent to different front end […]

Read more
Posted October 29, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Add IPv6 address with Powershell

These steps will configure IPv6 on a network adapter using Powershell. Adding an IPv6 address Make sure Powershell is launched with Administrator permissions. Get the ifIndex for the network adapter that you want to configure the IPv6 address on: In this case we would like to add the IPv6 settings […]

Read more
Posted May 22, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Grep files with Powershell

Powershell can be used to search for content (with regex support) for files in a path by using Select-String: The output of the command looks like this for any results:

Read more
Posted May 16, 2018April 17, 2021Leave a commentPosted in Powershell, Server, WindowsPowershell, Server, Windows

Get Active Directory Computer with Powershell

The PowerShell cmdlet Get-ADComputer can be used to retrieve the details for a computer account. You can use a filter if required. The usage of this cmdlet is like this: If no filter property is provided you will be prompted for the filter when running this cmdlet. Examples Some examples […]

Read more
Posted May 11, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Testing user credentials with Powershell

To test a users credentials you can start a process using Start-Process with the -Credential flag. As an example, to start cmd.exe and prompt for the username and password:

Read more
Posted March 23, 2018April 17, 2021Leave a commentPosted in Powershell, ServerPowershell, Server

Create Loopback Interface with PowerShell

Some load balancers may require you to create a loopback interface on a Windows server or servers. The loopback device then gets the load balanced IP added to it; that IP is used for the inbound load balanced connections. The loopback adapter is used so that no ARP replies are […]

Read more

Navigation

  • Home
  • Categories
  • Pages
  • Wiki
  • GitHub
  • Password Dump
  • Server Status
  • Contact

Recent Posts

  • LibreNMS Docker with Authentik SSO
  • Cracking IPMI Passwords
  • Cloudflare SSL with Traefik and Let’s Encrypt
  • Linux Backup – duplicity + Dropbox
  • Juniper vRR on Proxmox

Archives

  • January 2024
  • April 2023
  • June 2022
  • March 2022
  • January 2022
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • October 2013
  • August 2013

Categories

  • Hardware
  • Hosting/Domains
  • Linux
    • Desktop
    • Server
    • Virtual
  • Networking
    • Dell
    • Juniper
      • EX/QFX
      • MX/vMX
      • SRX/vSRX
    • Ubiquiti
  • Scripting
    • PHP
    • Powershell
    • Puppet/Ruby
    • Python
  • Security
  • Uncategorized
  • Windows
    • Server