X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=34e2e8ffba52d16a3f4d452faf275711c871803a;hb=5ea36996e45d4ce9fd55f6a07f49f5a22bd774aa;hp=2b31c3239c2d3c8808704f902217299eb2ec38bb;hpb=4951a2d48aa1ccf4953facad8793b7aea749e87c;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 2b31c32..34e2e8f 100644 --- a/grml_tips +++ b/grml_tips @@ -627,7 +627,7 @@ Read BIOS: -- Read HTTP via netcat: -echo "GET / HTTP/1.0\r\n\r\n" | netcat $DOMAIN 80 +echo -e "GET / HTTP/1.1\r\nHost: $DOMAIN\r\n\r\n" | netcat $DOMAIN 80 -- Get X ressources for specific program: @@ -3081,6 +3081,10 @@ btrace /dev/sda0 Convert Flash to Avi: % ffmpeg -i input.flv output.avi + +Extract MP3 from Flash file: + +% for i in *.flv; do ffmpeg -i $i -acodec copy ${i%.flv}.mp3 ; done -- Usage example for cryptsetup / -luks encrypted partition on LVM: