Skip to content

Instantly share code, notes, and snippets.

View hvisage's full-sized avatar
I may be slow to respond.


I may be slow to respond.
View GitHub Profile
grawity /
Last active April 19, 2023 17:24 — forked from SmartFinn/
a script for converting domain names to DHCP Option 119 (Domain Search Option)
#!/usr/bin/env python3
"""Command generator for setting DHCP Option 119
This script converts the specified domain names to DHCP Option 119
(Domain Search Option) and prints commands for various DHCP servers.
./ DOMAIN ...
dalenunns /
Last active December 28, 2022 12:51
A list of resources on how to be a hacker/pentester/security person - from #infosec on

Howto be a Hacker/Pentester/Security person - List of resources

I've just stolen HypnZA list of suggested links and added a few others by various people. (Please feel free to send me other links/info you think might be useful to add.)

HypnZA's commonly shared list (in the correct order):

  2. and
  3. Watch Ippsec's HackTheBox videos from oldest to newest, but attempt the box in the video before watching the video (requires a paid hackthebox account to access the machines in the videos)
dalenunns /
Last active June 17, 2023 13:39
List of SA Resources
xVir /
Created August 29, 2016 07:16
Scripts for enabling and disabling VPN in Control Plane

This script will be usefull if you want to enable VPN automatically on coming to work and to disable it on escaping from work using great Control Plane app.

It is assumed that you use Tunnelblick to manage VPN connections.

To connect to VPN:

set q to "<your_connection_name>"
tell application "Tunnelblick"
	set configs to get name of configurations
	if q is in configs then
mcupak / ssl.cli
Last active November 11, 2019 11:23
Configuring WildFly behind a reverse proxy with TLS -
View ssl.cli
# WildFly reverse proxy setup script.
# Run with: $WILDFLY_HOME/bin/ --connect --file=ssl.cli
rk295 / gist:0bd88d388683a328b9ce
Created August 29, 2014 16:05
xferlog grok
View gist:0bd88d388683a328b9ce
%{DAY} %{MONTH} %{MONTHDAY} %{TIME} %{YEAR} %{NUMBER:xferTime} %{IP:remoteHost} %{NUMBER:fileSize} %{PATH:fileName} %{WORD:transferType} %{WORD: specialActionFlag} %{WORD:direction} %{WORD:accessmode} %{WORD:username} %{WORD:serviceName} %{WORD:authenticationMethod} %{DATA:aut} %{WORD:completionStatus}
Fri Aug 29 16:53:15 2014 4 873550 /u01/clients/globeph/source/live-feed/140828_Ariana_Grande-JBB/IMG_7240.jpg b _ i r globeph ftp 0 * c
analytically / gist:5760207
Created June 11, 2013 20:13
Ansible /etc/network/interfaces template
View gist:5760207
# {{ ansible_managed }}
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
{% if ansible_interfaces|length > 2 %}