Vortexmind: free your mind Blog

Who controls the past, controls the future. Who controls the present, controls the past.
aprile 18, 2008

fuser – process on port

Author: Vortexmind - Categories: Informatica - Tags: , , , , ,

Questa me la segno perchè non la sapevo ed è abbastanza utile. Siete in ambiente unix e volete sapere quale processo è in ascolto su una determinata porta? Semplicissimo

fuser -v -n (tcp | udp) <port#>

Ho scoperto l’acqua calda sicuramente ma siccome mi erano partite un paio di bestemmie … Fa anche altro (identificare che processo usa un file o un socket in generale), man fuser per saperne di più!

luglio 26, 2006

Fun With UNIX Commands

Author: Vortexmind - Categories: Cazzate, English - Tags: , , , , , , ,

Actual UNIX commands and responses…

% make love
Make: Don’t know how to make love. Stop.

% got a light?
No match.

% sleep with me
bad character

% man: Why did you get a divorce?
man:: Too many arguments.

% rm God
rm: God nonexistent

% make ‘heads or tails of all this’
Make: Don’t know how to make heads or tails of all this. Stop.

% make sense
Make: Don’t know how to make sense. Stop.

% make mistake
Make: Don’t know how to make mistake. Stop.

% make bottle.open
Make: Don’t know how to make bottle.open. Stop.

% \(-
(-: Command not found.

% make light
Make: Don’t know how to make light. Stop.

% date me
You are not superuser: date not set

% man rear
No manual entry for rear.

% [Where is Chandra Levy?
Missing ]

% “How does Gary Condit rate as a liar?
Unmatched ”

% If I had a ) for every dollar Reagan spent, what would I have?
Too many )’s.

% * How would you describe Bill Clinton
*: Ambiguous.

% %Vice-President
%Vice-President: No such job.

% “How would you rate Reagan’s senility?
Unmatched “.

aprile 8, 2006

Cross-platform virus – Windows & Linux

Author: Vortexmind - Categories: Informatica, News, Surfing The Net, Technology - Tags: , , , , , , , , , , , , ,

Normalmente si dice che Linux è “più sicuro” di Windows per quanto riguarda i virus ed i troiani che circolano in rete, essendo la maggior parte di essi scritti per infettare solamente i sistemi basati sul sistema operativo Microsoft, e come tali perfettamente innocui se “avviati” su altri sistemi. Tuttavia ieri la Kaspersky ha pubblicato una notizia secondo la quale è stato rilasciato un virus multipiattarforma in grado di infettare sia i binari eseguibili di Windows (.exe) sia i binari eseguibili unix (.elf). Il virus (Virus.Linux.Bi.a/Virus.Win32.Bi.a) attualmente non è pericoloso ed è in grado di infettare solamente i files nella stessa directory, tuttavia è un interessante “proof of concept” che dimostra la fattibilità di questo tipo di software. Ovviamente un simile virus non è facile da implementare: bisogna evitare di utilizzare funzioni OS-specific, ed in definitiva va quindi programmato in assembler specificatamente per una famiglia di macchine. Bisognerà quindi vedere se gli sviluppatori di virus hanno un “guadagno” se rapportato alle maggiori difficoltà in cui si incorre per progettare un virus multipiattaforma. Questa non è la prima volta, tuttavia, che esce un virus simile: nel 2001 il worm sadmind/ISS era in grado di sfruttare le vulnerabilità del SO Solaris e poi di rivolgere le sue attenzioni verso webserver IIS microsoft. Nello stesso anno, uscì un nuovo virus (Winux) in grado di propagarsi su entrambi i sistemi. Morale della favola: fate attenzione … nessuno è invulnerabile!