--
Save live audio stream to file:
-% mplayer -ao pcm:file=$FILE
+% mplayer -ao pcm:file=$FILE $URL
+--
+Save live stream to file:
+
+% mplayer -dumpfile $FILE -dumpstream $STREAM
or
-% mencoder mms://file.wmv -o $FILE -ovc copy -oac copy
+% mencoder mms://$URL -o $FILE -ovc copy -oac copy
or
Develop, test and use exploit code with the Metasploit Framework:
cd /tmp
-wget http://framework-mirrors.metasploit.com/msf/downloader/framework-3.0.tar.gz
-unp framework-3.0.tar.gz
-cd framework-3.0
+wget http://spool.metasploit.com/releases/framework-3.2.tar.gz
+unp framework-3.2.tar.gz
+cd framework-3.2
./msfcli
--
Useful documentation:
--
Write a Microsoft compatible boot record (MBR) using ms-sys
-Write a Windows 2000/XP/2003 MBR to device:
+Write a Windows 2000/XP/2003 MBR to a device:
# ms-sys -m /dev/ice
+
+Notice: grab ms-sys from http://ms-sys.sourceforge.net/ - demo:
+
+ wget http://surfnet.dl.sourceforge.net/sourceforge/ms-sys/ms-sys-2.1.3.tgz
+ unp ms-sys-2.1.3.tgz
+ cd ms-sys-2.1.3
+ make
+ ./bin/ms-sys ...
--
Use a Vodafone 3G Datacard (UMTS) with Linux:
Set up a CGI server on your webserver:
% cp hgwebdir.cgi ~/public_html/hg/index.cgi
% $EDITOR ~/public_html/hg/index.cgi # adjust the defaults
-
-Mercurial repositories of grml can be found at http://hg.grml.org/
--
Download binary codecs for mplayer:
# shadowconfig on
--
-Set up an IPv6 tunneln on grml:
+Set up an IPv6 tunnel on grml:
# ipv6-tunnel start
--
Extract files to current directory:
% ytnef -f . winmail.dat
--
+Approx - Debian package proxy/cacher howto
+
+% apt-get install approx
+% echo 'debian http://ftp.de.debian.org/debian' >>/etc/approx/approx.conf
+% Restart approx
+
+Add your new approx to sources.list
+
+eg.
+deb http://localhost:9999/debian unstable main contrib non-free
+
+use approx in grml-debootstrap like:
+% grml-debootstrap -r lenny -t /dev/sda1 -m http://127.0.0.1:9999/debian
+--
+Simple webserver with python
+
+% python -m SimpleHTTPServer
+--