2008 February 18

Linux Keylogger – Snoopy logger

By WladyX on 18 February, 2008 | General, Security | A comment?

.bashrc

# If not running interactively, don’t do anything
[ -z "$PS1" ] && return

# don’t put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# … and ignore same sucessive entries.
export HISTCONTROL=ignoreboth

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

PS1=’\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]‘ #for user
PS1=’\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]‘ #for root

keychain ~/.ssh/id_dsa
. ~/.keychain/$HOSTNAME-sh

By WladyX on | General, Scripts | A comment?

Vimrc


set background=dark
set incsearch
set ignorecase
map :w
map dd
map :q
map :set hls!set hls?
set noautoindent
set hlsearch
set tabstop=4

By WladyX on | General, Scripts, Vim | 1 comment

De ce nu mai sunt comunitati linux

Un articol f interesant:

Unde sunt comunitatile noastre sau ce de rahat suntem

Am citit un articol recent
care deplange ca multe inaintea lui degradarea comunitatilor dedicate
Linuxului. Constat cu oarecare satisfactie ca RLUG e inca considerat un
grup “elitist”. O iau ca pe un compliment.

Problema e simpla: a trecut valul revolutiei, Linux e la orice pas,
e mainstream. Discutam cu un amic motociclist care constata ca de vreo
2-3 ani a crescut fenomenal numarul de motociclete in Bucuresti, ceea
ce a dus la diluarea comunitatii care se intalnea in fiecare miercuri
la Arc. La fel se intampla si cu miscarea “noi , bloggerii”. Cum ar
suna “comunitatea ochelaristilor”? Sau “comunitatea fumatorilor”?
Comunitatile stranse sunt o caracteristica a minoritatilor si a
categoriilor sociale marginalizate. Dupa cum zicea un batran colistas,
lipsa de entuziasm privind comunitatea e un semn ca revolutia a fost
castigata.

Sunt membru RLUG dinainte ca revolutia sa fie castigata, de prin
2000 (putin dupa ce s-a infiintat cu acest nume, doritorii de istorie
pot sa vada pe wiki mai multe detalii). Pe atunci verva era mult mai
mare, dar constat ca nucleul e relativ acelasi. Mi-am racit gura
aparand diversele “vedete plictisite” sau “inginerasi expirati” de pe
acolo si enumerand meritele celor mai rasariti dintre ei. Cine are
urechi de auzit, aude. Ma bucur ca si unii dintre cei mai noi aparuti
au vederi compatibile, inseamna ca nu ne-am ramolit de tot.

Cand eram junior pe lista visam sa facem diverse chestii pentru
comunitate, de la install festuri la free shell accounts. Acu am
posibilitatea sa fac unele din ele dar realizez ca nu-i mai pasa
nimanui. Ura, suntem mainstream. Oh well, ma bucur ca am trait sa vad
utilizarea Linux ca fiind mainstream si comunitatile Linux o resursa
obsolete si ca am avut si eu cateva mici contributii in chestia asta.

Cat despre indignarea referitoare la cum sunt tratati unii
membri “marcanti” ai comunitatii… De cand stiu, s-a pus mare pret pe
documentul lui ESR despre “Cum sa pui intrebari inteligente” si stiu ca
m-am straduit in repetate randuri sa explic de ce nu e in regula sa te
dai cocos cand inca n-ai toti fulgii la tine. Dar si eforturile acelea,
ca si orice alte eforturi de a explica cum sta cu adevarat situatia,
sunt inutile.

–
Anacronicu’

mknod /dev/blog c 1 3 » Blog Archive » Unde sunt comunitatile noastre sau ce de rahat suntem

By WladyX on | General | A comment?

Btnx

By WladyX on | General | A comment?

Corkscrew Http ssh proxy

apt-get install corkscrew

$HOME/.ssh/config:

Host *
ProxyCommand corkscrew http-proxy.example.com 8080 %h %p

Tunneling SSH over an HTTP-Proxy Server

By WladyX on | General | A comment?

Linux – the curse of being free

inux isn’t very popular on the desktop. It’s a far third behind OS
X, which is a very far second behind Windows. Most people cite
pre-installed operating systems as the reason. But as a student of
psychology, I see something most people don’t. There’s one big factor
in why Linux isn’t popular on the desktop. Linux is free. I know this sounds like complete dog’s bollocks, but hear me out before judging my sanity.

We
can all remember the story of Tom Sawyer. At one point, Tom had to
whitewash a fence. When one of his friends happened along, Tom tried to
persuade and bribe the friend to help him. Needless to say, it didn’t
work.

A few moments later, as Tom was unhappily whitewashing the
fence, another friend stumbled along to jeer at Tom’s misfortune. This
time Tom decided on a cunning plan. He ignored the friend, and seemed
very absorbed in the whitewashing. Soon the friend became intrigued,
because what could be more interesting than talking to a friend?
Shortly thereafter, he started begging Tom to let him whitewash a bit
of the fence. Tom wouldn’t give in.

The friend offered Tom some
of his most valuable possessions if Tom would just let him whitewash a
little bit. Tom reluctantly agreed, secretly jumping with joy on the
inside. More friends happened along, coming to laugh at Tom for having
to whitewash a fence. Tom simply did his act, and they all stayed to
help whitewash, and paid for the privilege!

The above story
illustrates a basic human nature. We don’t value things we can get
easily. Yet we’d climb mountains, cross rivers and travel across
deserts just to reach something we can’t easily get our hands on.

The computer world

The
same thing applies in the world of computers. Humans are naturally
suspicious of that which comes too easily. Imagine you were promoting
an expensive brand of champagne. If you were running around forcing
free samples into people’s hands, they would be very wary. But if you
set up a stand where you would offer small samples for $10 each
(“Special promotional price! Normally costs three times as much!”),
people would see your champagne as posh and valuable.

It’s still the same champagne. Yet your presentation radically changes people’s perception of it.

Which brings me to Linux. There’s one problem with Linux getting to new users. It’s free.

That’s right. Linux being free is a problem in reaching new customers.

Why Windows pwnz Linux – an imaginary case study

Let me show you an example where Windows is better than Linux (I don’t mean better as in actually better :p).

Ignore
for a moment all the crap about Windows being pre-installed and such.
Let’s say you have a computer-newbie friend, called Compy McNewb, who’s
just bought a new computer and is getting ready to install an OS.

He’s got two computer-savvy friends. You, who urges him to use Linux. And another friend, who urges him to use Windows.

Which one will Compy pick? Let’s go through the reasoning.

  • Linux is being offered for free. Good.
  • He can get a pirated copy of Windows from his friend. Also for free. Good.
  • But Windows is sold for over three hundred dollars, while Linux is offered for free.

Here’s
what Compy McNewb sees. He can get both OS’s for free. But one of them
is worth over three hundred dollars, while the other one is worth
nothing.

“That’s not true!” I hear you scream. “Linux is worth a
lot! It’s just being offered for free!” I know it’s not true that Linux
is worth less than Windows. It’s far more valuable to the end user in
terms of getting things done.

But that’s not what Average Joe
Computer Newbie sees. He sees a free product versus a
three-hundred-dollar product he can get free. It’s all about the
perception!

In the 1970′s, a record label in Britain
was selling albums containing cover versions of contemporary songs.
Although the records sold for less than a pound a copy, hardly anyone
bought them and the record company was suffering.

A whizz-kid
joined the board and announced he wanted to more than double the price
of the records. The other executives were shocked, but eventually
agreed to his plan. Within a few weeks, the records were flying off the
shelves.

When the records didn’t cost much, people didn’t value
them. The record company was saved by redefining people’s perception of
their product.

Taking Action

So here I am, wondering how to turn the tables around.

And
I’ve got an idea. In the past, I tried to convert people to Linux
(specifically Ubuntu). None of them really stuck. Back then I focused
on all those great aspects of Linux. Being purely factual and objective.

But
I have since learned people don’t act rationally. They act based on
irrational emotions – like in the above examples. So here’s the
question. Could I turn the perception around? What if I presented Linux
in a way that makes people drool? Make it look more expensive than
Windows, more cool than a Mac, more posh than a ten-million-dollar
villa in the Caribbean?

Here’s my plan:

I’m going to
present Ubuntu as a very expensive posh OS. I’ll mention it sells for
upward of five hundred dollars in the States. I’ll say I managed to get
an illegal copy off a Polish guy I know over the internet.

Only
THEN will I mention all the positives. Multiple desktops, bullet-proof
security, stunning visual effects. Somehow all of it makes sense in the context of a super-expensive elitist OS. I’ll see how many people I can convert when advertising Linux this way.

I’ll post exactly a week from now, reporting back on how my Linux Preaching v2.0 went. Hi yo, Silver, AWAAAAY!

Original post:
An Amazing Mind: Why Linux Doesn’t Spread – the Curse of Being Free

By WladyX on | General | A comment?