start new:
tmux
start new with session name:
tmux new -s myname
#Accepts hostname or IP | |
#Runs Powershell netsh with and the ethernet types / IP addresses | |
#Stops the trace after X time | |
#Waits for the command to save the file and exit | |
#Copies file back to analyst machine | |
#removes all trace of the packet capture file | |
$IpAddress = (Get-NetIPAddress | Where-Object {($_.PrefixOrigin -eq "Dhcp") -and ($_.InterfaceAlias -eq "Local Area Connection")}).IpAddress |
var arr = [], l = document.links; | |
for(var i=0; i<l.length; i++) { | |
arr.push(l[i].href); | |
} | |
arr.forEach(function (e) {console.log(e)}); |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |