Re: Let's talk about HTTPS Everywhere

2011-01-22 Thread S Mathias
"Even on a switched network, there may be a way to fool > the switch into giving you enough data from the HTTP traffic to preform > a "sidejack"." http://hakipedia.com/index.php/CAM_Table_Overflow#Description --- On Sat, 1/22/11, Camaleón wrote: > From: Camaleón > Subject: Re: Let's talk a

Re: Let's talk about compression rates

2011-01-22 Thread S Mathias
wow... http://pastebin.com/raw.php?i=ihLLHyiT $ time 7z a -mx=9 linux-2.6.37.tar.7z linux-2.6.37.tar; echo; time xz -9 -z linux-2.6.37.tar; echo; ls -lS 7-Zip 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15 p7zip Version 9.13 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs) Scanning

Let's talk about compression rates

2011-01-22 Thread S Mathias
http://pastebin.com/raw.php?i=MwDnhknf $ ls -Sl total 461252 -rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip -rw-rw-r--. 1 g g 93174605 Jan 22 11:03 linux-2.6.37.tar.gz -rw-rw-r--. 1 g g 73552510 Jan 22 11:10 linux-2.6.37.tar.bz2 -rw-rw-r--. 1 g g 66333786 Jan 22 11:16 linux-2.6.37.7z

how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
my /tmp is too small [when i want to use "convert"]. how can i set imagemagick, to use an other tmp folder, what has enough space? thank you! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Let's talk about HTTPS Everywhere

2011-01-19 Thread S Mathias
Ok. It's a Firefox Add-on: https://www.eff.org/https-everywhere Questions: 1) But: Why can't i find it on the offical Firefox Add-ons site?: https://addons.mozilla.org/en-US/firefox/ 2) Did anyone audited the "HTTPS Everywhere" code? 3) Can someone trust this Add-on? Is it safe to install/use

recursively find duplicate filenames

2011-01-05 Thread S Mathias
find duplicate filenames in a folder find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' find duplicate filenames in a folder recursively ? how? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@l

Re: check, that a script is in a folder

2011-01-05 Thread S Mathias
debian.org > Date: Wednesday, January 5, 2011, 10:47 AM > Hello, > > S Mathias a écrit : > > $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo > "this is the asdf folder"; else exit 1; fi > > bash: notthatfolder: command not found..

check, that a script is in a folder

2011-01-05 Thread S Mathias
$ echo ${PWD##*/} somefolder $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi bash: notthatfolder: command not found... this is the asdf folder $ So i just want to check that i'm in an exact folder. e.g.: "asdf" What's wrong with my one-liner? I j

why is this html looks like this?

2011-01-04 Thread S Mathias
soruce code of the html file: http://img443.imageshack.us/img443/6448/sourcey.png it looks like this in the realiy: http://img443.imageshack.us/img443/6448/sourcey.png WHY? if i put it in "< pre >", then it's good. but if it isn't in "< pre >" then the lines ends are random. why dont they end i

Re: firewall package for laptop wi-fi client

2011-01-04 Thread S Mathias
http://lcamtuf.blogspot.com/2010/12/unencrypted-public-wifi-should-die.html http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=&filter_exploit_text=&filter_author=&filter_platform=45&filter_type=3&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve= --- On Tue, 1/4

a perl question

2011-01-04 Thread S Mathias
cat asdf.txt bla-bla bla-bla bla[XYZ] importantthing another important thing [/XYZ] bla-bla bla-bla [XYZ] yet another thing hello! [/XYZ] bla-bla etc. $ SOMEPERLMAGIC asdf.txt > output.txt $ cat output.txt importantthing another important thing yet another thing hello! how can i sovle this questi

variable in loop

2011-01-02 Thread S Mathias
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a $ASDF"$(for i in {1..$a}; do printf "."; done) 65 hello. $ Why doesn't it print: 65 hello. What am i missing? -- To UNSUBSCRIBE, email t

set privoxy to rewrite http to https

2011-01-01 Thread S Mathias
I use the KB SSL Enforcer https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en so i could browse the net safer [i mean webserver <-> me] with using https, if available. The problem is: e.g.: facebook... if i go to https://www.facebook.com/ that's ok, it's https.

recursively count the words occurrence in the text files

2010-12-30 Thread S Mathias
I just can't google for it: I'm searching for a "bash" "one liner" (awk, perl, or anything) for this: there are text files, in several directories: mkdir one mkdir two mkdir three echo "word1 word2 word3" > one/asf.txt echo "word2 word4, word5" > one/asfcxv saf.txt echo "word1. word2" > one/d

microsoft.com -> NetBSD

2010-12-30 Thread S Mathias
http://research.microsoft.com/en-us/downloads/754fee75-c5a0-4542-bf9b-47f236c0a90b/default.aspx Any comments? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org

Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
Are there any programs blocking ip, and has frequently updated lists, like the peerguardian on windows? sorry for the question, but i looking for this kind of application :O Thank you, and a happy christmas! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a sub

what process is sending this packet?

2010-12-27 Thread S Mathias
I can see, that theres a program that keeps sending packets on port 25: Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 Dec 27 14:12:01 a kernel: [ 6

whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
perfect! thank you Oliver Grawert! :) made my day :) it's working! : ping -W 1 -c 4 google.com >& /dev/null && ping -W 1 -c 4 www.yahoo.com >& /dev/null || echo "no internet connection" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe"

whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
$ true && true || echo hi $ true && false || echo hi hi $ false && true || echo hi hi $ false && false || echo hi hi $ ping -W 1 -c 4 google.com >& /dev/null | grep -q "100% packet loss" && ping -W 1 -c 4 www.yahoo.com >& /dev/null | grep -q "100% packet loss" || echo "no internet connection" no

2 Ethernet cabling question

2010-12-25 Thread S Mathias
Two questions that was not always clear for me [sorry for posting to this list :\]: ## Q1) when cabling, is the color order important? like: straight cabling: A side: white-orange, orange, white-green, b

google chrome "big brother"

2010-12-17 Thread S Mathias
Google Chrome Terms of Service(Google Chrome executable), BSD (source code and Chromium executable except chromium 5 beta),BSD License with proprietary parts (source code and chromium 5 beta executable, as it integrates Adobe Flash Player 10.1[1])[2] http://en.wikipedia.org/wiki/Google_Chrome in

openssl chat

2010-12-12 Thread S Mathias
i can use "natively" openssl for anonymous chat: # Chat: # server side: openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out mycert.pem # server side - generate a self-signed cert. openssl s_server -accept 52310 -cert mycert.pem # client side - "127.0.0.1" is the IP of

Re: bash increment in a given way

2010-12-11 Thread S Mathias
Dec 2010 06:34:14 -0800, S Mathias wrote: > It's ok, that i can use this, when i want an incrementing sequence, in a > given way: > > # {START..END..INCREMENT} > $ for i in {0..10..2}; do echo "Welcome $i times"; done Welcome 0 times > Welcome 2 times > Welcome

bash increment in a given way

2010-12-11 Thread S Mathias
It's ok, that i can use this, when i want an incrementing sequence, in a given way: # {START..END..INCREMENT} $ for i in {0..10..2}; do echo "Welcome $i times"; done Welcome 0 times Welcome 2 times Welcome 4 times Welcome 6 times Welcome 8 times Welcome 10 times $ but what's the "magic" for this

"ultimate" backup choice

2010-12-11 Thread S Mathias
i have: "SERVER A" "SERVER B" with "full root permisson" [ssh, etc] each server has a folder. i want to backup a folder in "SERVER A". are there any backup methods, that meets these two requirements? : 1) running from e.g.: a cronjob 2) when running, it just checks the folder in "SERVER A" a

How to check that if a package is installed?

2010-11-30 Thread S Mathias
if [ "$(dpkg -l | awk '/tofrodos/ && /^ii/ {print $2}' | awk '/^tofrodos/')" == "" ]; then echo -e "error: no zip package detected\!\n\nYou could install it like e.g.: \"apt-get install tofrodos\""; fi Is there a better way then this? Thank you!

5.0.7 out, but where are the torrent files?

2010-11-28 Thread S Mathias
I could seed it [like thousand of people could], but i can't find the 5.0.7 torrents :O why? :O