Skip to content

Instantly share code, notes, and snippets.

View Sy14r's full-sized avatar

Geoff Pamerleau Sy14r

View GitHub Profile
function Get-RandomIP {
<#
.SYNOPSIS
Function to generate random IPs.
.DESCRIPTION
Generate Random IPs with optional ability to target public/private IP space
.PARAMETER ExcludePrivate
Specifies to exclude IANA reserved IP addresses (see: https://en.wikipedia.org/wiki/Reserved_IP_addresses) (default: false)
.PARAMETER ExcludePublic
Specifies to exclude publicly routable IP addresses (see: https://en.wikipedia.org/wiki/Reserved_IP_addresses) (default: false)
# Janky script to take hosts csv report data from Recon-NG and perform whois lookups on each IP and add org/descr info
# to each line of the resulting csv.
file='/path/to/recon-ng/hosts-report.csv'
while read line
do
HOST=$(echo $line | cut -d "," -f 1)
IP=$(echo $line | cut -d "," -f 2 | tr -d '"')
length=${#IP}
if [ $length -gt 0 ]
#requires -version 2
<#
PowerSploit File: PowerView.ps1
Author: Will Schroeder (@harmj0y)
License: BSD 3-Clause
Required Dependencies: None
#>
d-i debian-installer/locale string en_US
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i keyboard-configuration/xkb-keymap select us
d-i passwd/user-fullname string
d-i passwd/username string username
d-i passwd/root-password password rootpass
d-i passwd/root-password-again password rootpass
d-i passwd/user-password password userpass
d-i passwd/user-password-again password userpass

Keybase proof

I hereby claim:

  • I am sy14r on github.
  • I am geoffp (https://keybase.io/geoffp) on keybase.
  • I have a public key ASBiO5-em-nNQ5KoVtBsvJGQwGbT0c9tGN8zihOeN_uPQQo

To claim this, I am signing this object: