This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
dir=$1 # directory into which to download the file | |
url=$2 # url of file to download | |
name=$3 # suggested name of file to download | |
cookies=$4 # path to cookiejar | |
agent=$5 # useragent | |
referer=$6 # referer | |
embed=$7 # window id to embed st into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN CERTIFICATE----- | |
MIIGKjCCBBKgAwIBAgIDAkdRMA0GCSqGSIb3DQEBCwUAMFQxFDASBgNVBAoTC0NB | |
Y2VydCBJbmMuMR4wHAYDVQQLExVodHRwOi8vd3d3LkNBY2VydC5vcmcxHDAaBgNV | |
BAMTE0NBY2VydCBDbGFzcyAzIFJvb3QwHhcNMTQwOTI0MTczOTMxWhcNMTYwOTIz | |
MTczOTMxWjAdMRswGQYDVQQDFBIqLnRoZS1zcGFjZS5hZ2VuY3kwggIiMA0GCSqG | |
SIb3DQEBAQUAA4ICDwAwggIKAoICAQCiDJI98/CNeo9Sd3s33xhxbgOVwq4gfhwK | |
mXzeuPi+zrcwbIyrmdP3Zx2tZHDdVy1gi0LfLPXmnNTO+NTJL23D+qnx0iPWNWBj | |
4NM+bh8BG/3WdZh1vmdJLZ90Vbxk/QHStakBkl0TZXmh6xycw5eNR7gdsXtzacic | |
5hfyDhzmuTMVZcE7x/Wd7VAJhEv4lr8+XeP7VLrLtI41rFigk8fq3y39qGwZ+F5t | |
cfXmSZMqyWrN3Nzv5Eu6RAoTgK4Zs5oMPukLIKNvNKf9OiYNkL+i9GGcSv3rg8co |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <err.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <errno.h> | |
int | |
main(void) { | |
int p[2], status; | |
pid_t child; | |
char *argv[2] = { "/usr/bin/wc", NULL }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:47:25.084231 fd14:70d8:4a5a:1::2 > fd0b:21e1:fd0b::20: icmp6: fdea:a15a:77b9:d42::53 udp port 33438 unreachable | |
12:47:25.084273 fd0b:21e1:fd0b::20.55590 > fdea:a15a:77b9:d42::53.33439: udp 32 [hlim 1] | |
12:47:25.084420 fd14:70d8:4a5a:1::2 > fd0b:21e1:fd0b::20: icmp6: fdea:a15a:77b9:d42::53 udp port 33439 unreachable | |
12:47:25.084467 fd0b:21e1:fd0b::20.57046 > fdea:a15a:77b9:d42::53.33440: udp 32 | |
12:47:25.084524 fd14:70d8:4a5a:1::2 > fd0b:21e1:fd0b::20: icmp6: fdea:a15a:77b9:d42::53 udp port 33440 unreachable | |
12:47:25.084556 fd0b:21e1:fd0b::20.37344 > fdea:a15a:77b9:d42::53.33441: udp 32 | |
12:47:25.084608 fd14:70d8:4a5a:1::2 > fd0b:21e1:fd0b::20: icmp6: fdea:a15a:77b9:d42::53 udp port 33441 unreachable | |
12:47:25.084640 fd0b:21e1:fd0b::20.54496 > fdea:a15a:77b9:d42::53.33442: udp 32 | |
12:47:25.084693 fd14:70d8:4a5a:1::2 > fd0b:21e1:fd0b::20: icmp6: fdea:a15a:77b9:d42::53 udp port 33442 unreachable | |
12:47:25.084723 fd0b:21e1:fd0b::20.33286 > fdea:a15a:77b9:d42::53.33443: udp 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import socket | |
import struct | |
def tryVNC(host, port=5900): | |
try: | |
s = socket.create_connection((host, port)) | |
except socket.error: | |
return None | |
# version negotiation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-+= 00001 root /sbin/init | |
|--= 21688 _unbound /usr/sbin/unbound -c /var/unbound/etc/unbound-rdomain1.conf | |
|--= 03694 root dhclient: trunk0 [priv] (dhclient) | |
|--= 20957 root /usr/local/sbin/tincd -n unobtanium | |
|--= 17124 _openvpn /usr/local/sbin/openvpn --config /etc/openvpn/upb.conf --daemon vpn-upb | |
|-+= 03752 root syslogd: [priv] (syslogd) | |
| \--- 30806 _syslogd /usr/sbin/syslogd | |
|-+= 20956 root pflogd: [priv] (pflogd) | |
| \--- 03480 _pflogd pflogd: [running] -s 160 -i pflog0 -f /var/log/pflog (pflogd) | |
|--= 00093 _unbound unbound -c /var/unbound/etc/unbound.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.mplayer/config | |
cache=8192 | |
# cache=65535 | |
cache-min=60 | |
stop-xscreensaver=yes | |
heartbeat-cmd="xscreensaver-command -deactivate >&- 2>&- &" | |
# menu=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $OpenBSD: unbound.conf,v 1.4 2014/04/02 21:43:30 millert Exp $ | |
server: | |
interface: 127.0.0.1 | |
interface: ::1 | |
access-control: 0.0.0.0/0 refuse | |
access-control: 127.0.0.0/8 allow | |
access-control: ::0/0 refuse | |
access-control: ::1 allow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1 | |
hQIMA4ueAQoq3B61AQ/9HeNULLRZobtgSHuKuPMS6fPdh0FnebA4eZ3Z4uuS6+4q | |
o+feD9G23Ft2QjJx72/7uul/sD3Bgy4aNBI5pO0ORyeyXHWf6HTenqlyY98fzLZY | |
iv6A3uY643w9ok4jBu6KMIhFi3H3vvcItI/PreL9HcGuifT0jTDH7t/3JqIXoDjI | |
nbzIoRZH4lAlakL/ntjHV5saYdoQwy4R48+G/W8fq3Ff0+scWhFzG+3dNv85UQtW | |
BlXle7P6zwlBs/Yml2rnjtaAnHkGZ8+HINjMR8fUrO67gF5/ymJ8aROaQHNO2Egd | |
lVoPptNAkvAg9DrteWeDBzu2I5+pzJ5zbeIM0h1NnkzqBpJz3u9F+0ckhLrExnnK | |
K3H6B1/FatKpE32t5R6LxpnwAX3l8IDaJreMLvclv2Z8Oj7NjJjSFWqmj0HhEvuB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
RSYNC="rsync -hPaHx" | |
backupdir="`pwd`" | |
now=`date +%Y-%m-%d-%H-%M` | |
echo $now | |
target=`find "$backupdir" -type d -maxdepth 1 -mindepth 1 | tail -n 1` |