А сама эта бинарная хрень не отсылает /etc, /root/.ssh, /home/*/.ssh к себе в базу ?---
Пля..., тройан!!!
http://i31.fastpic.ru/big/2011/1020/a8/5365d988eef3b02436dcd...
Я вот не пойму, дистриб 223 мега, DrWeb пишет 17.5Mb :-/ (или это антивирусные базы?)
http://i32.fastpic.ru/big/2011/1020/cd/3c94ec65770d814042761...
---
А-а-а-а-а, Лохи позорные, su c sudo перепутали... :)
Executing su postgres -c '"/opt/metasploit/postgresql/bin/initdb" -E SQL_ASCII -U postgres'
Script exit code: 1Script output:
Script stderr:
child process exited abnormally
Error running su postgres -c '"/opt/metasploit/postgresql/bin/initdb" -E SQL_ASCII -U postgres' : child process exited abnormally
# su postgres -c "/opt/metasploit/postgresql/bin/initdb" -E SQL_ASCII -U postgres
su: неверный ключ -- «E»
Попробуйте «su --help» для получения более подробного описания.
:)
---
# sudo -u postgres "/opt/metasploit/postgresql/bin/initdb" -E SQL_ASCII -U postgres;
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.The database cluster will be initialized with locales
COLLATE: ru_RU.UTF-8
CTYPE: ru_RU.UTF-8
MESSAGES: C
MONETARY: ru_RU.UTF-8
NUMERIC: ru_RU.UTF-8
TIME: ru_RU.UTF-8
The default text search configuration will be set to "russian".
creating directory /opt/metasploit/postgresql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 24MB
creating configuration files ... ok
creating template1 database in /opt/metasploit/postgresql/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
Success. You can now start the database server using:
/opt/metasploit/postgresql/bin/postgres -D /opt/metasploit/postgresql/data
or
/opt/metasploit/postgresql/bin/pg_ctl -D /opt/metasploit/postgresql/data -l logfile start