projects
/
grml-tips.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finger via netcat tip
[grml-tips.git]
/
grml_tips
diff --git
a/grml_tips
b/grml_tips
index
2b31c32
..
83ce0d9
100644
(file)
--- a/
grml_tips
+++ b/
grml_tips
@@
-627,7
+627,7
@@
Read BIOS:
--
Read HTTP via netcat:
--
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:
--
Get X ressources for specific program:
@@
-3081,6
+3081,10
@@
btrace /dev/sda0
Convert Flash to Avi:
% ffmpeg -i input.flv output.avi
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:
--
Usage example for cryptsetup / -luks encrypted partition on LVM:
@@
-3176,3
+3180,6
@@
Simple mailserver with python:
% python -m smtpd -n -c DebuggingServer localhost:1025
--
% python -m smtpd -n -c DebuggingServer localhost:1025
--
+finger via netcat:
+
+echo $USER | nc $HOST 79