Skip to content

Instantly share code, notes, and snippets.

View rtfmoz's full-sized avatar

Kevin Davies rtfmoz

  • Sydney, Australia
View GitHub Profile
root@DESKTOP-5UFF8C5:~# strace nmap -sn 192.168.0.*
execve("/usr/bin/nmap", ["nmap", "-sn", "192.168.0.*"], [/* 15 vars */]) = 0
brk(0) = 0xf30000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc1e4d70000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=18958, ...}) = 0
mmap(NULL, 18958, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc1e4d74000
close(3) = 0
f5=bigsuds.BIGIP(hostname=host,
username=user,
password=upass)
obj = f5.System.ConfigSync
obj.synchronize_to_group_v2([{'group':"DeviceGroupName"}])
@rtfmoz
rtfmoz / QNAP ProFTP testing
Last active August 29, 2015 14:16
QNAP ProFTPD Testing - User Home Directories
---=== CONFIGURATION ===---
[/etc/config] # cat /etc/config/uLinux.conf
[System]
Model = TS-412
Internal Model = TS-419
Server comment =
Version = 4.1.1
Build Number = 20141003
... etc
[FTP]
DSD:~ kevin$ brew tap robsalasco/homebrew-profanity
Warning: Already tapped!
DSD:~ kevin$ brew install libstrophe --HEAD
Warning: libstrophe-HEAD already installed
DSD:~ kevin$ brew -v install profanity --HEAD
Homebrew 0.9.5
Error: No available formula for ncurses (dependency of profanity)
Searching taps...
homebrew/dupes/ncurses
DSD:~ kevin$
@rtfmoz
rtfmoz / gist:6609512
Created September 18, 2013 13:57
gd -universal fails to install
ncc1701:Library kevindavies$ brew doctor
Your system is ready to brew.
ncc1701:Library kevindavies$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 070a7fb0b99e10b7d6a2c94b860f012639eaefe3
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
@rtfmoz
rtfmoz / gist:5416296
Last active December 16, 2015 09:58
homebrew: httrack fails to link
Apple-Devices:local rtfmoz$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libqmi_api_LTE.dylib
/usr/local/lib/libusb-0.1.4.4.4.dylib
/usr/local/lib/libusbpp-0.1.4.4.4.dylib
Apple-Devices:local rtfmoz$ brew --config