Skip to content

Instantly share code, notes, and snippets.

@wjwoodson
wjwoodson / randomip.pl
Created February 1, 2024 05:48
randomip.pl
#!/usr/bin/env perl
# Generate $ARGV[0] random public ipv4 addresses
#
use warnings;
use strict;
my $n=$ARGV[0] // 0;
sub randomip {

Keybase proof

I hereby claim:

  • I am wjwoodson on github.
  • I am wjwoodson (https://keybase.io/wjwoodson) on keybase.
  • I have a public key whose fingerprint is 828F 351F 27EB 7205 6D7A A90A F719 ECE8 F02A E83C

To claim this, I am signing this object:

platform: linux
image_resource:
type: docker-image
source:
repository: 18fgsa/concourse-task
inputs:
- name: pipeline-config
- name: generic-merged-manifest
# testconnect.sh
#
# Description: Basic connectivity testing with netcat (connector)
# Author: William Woodson
# Date: 2017-01-04
#
PORTS=(8080 8081 8082 8083)
HOST="targethost"
ME=$(hostname)
import requests
from urlparse import urlparse
from bs4 import BeautifulSoup as bs
# parse out references from response
def parse_references(response):
# create a list of references
references = []