X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=3ff381bf88a0abec8e03fb018213812ee47d1807;hb=64adee90a06f34c63ec41588d1d9099c10b6ad83;hp=1fdf527eca60487cb0a7a2034925de17d8159af2;hpb=cae38e8e83824769c821ceae440acbd12be352b2;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 1fdf527..3ff381b 100644 --- a/grml_tips +++ b/grml_tips @@ -573,11 +573,15 @@ echo -e "s/\r//g" > dos2unix.sed; sed -f dos2unix.sed < dosfile > unixfile -- 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 @@ -704,9 +708,9 @@ Write back the guessed table: 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: @@ -2316,8 +2320,6 @@ host2% hg merge # merge changes into your working directory 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: @@ -3122,3 +3124,7 @@ 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 +--