Вы находитесь на странице: 1из 98

, :

1(74) 2009

1(74) 2009
20780
www.samag.ru


Windows Vista?
PPD-

, :

Nulog2
Hyperic HQ



nUbuntu

!
20780, 81655
88099, 87836
- . (495) 500-00-60


1: 8
JQuery: JavaScript
Winbinder PHP:
c GUI- 2

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Linux Format. . LC173025. : , email:


bobahsmtp.ru

4 2009.

4-5 2008 Microsoft.


8 Nulog2

- NuLog2,
, Netfilter
NuFW.

14 Hyperic HQ


, .

- .

22

26 Windows Vista?

30 PPD-

Post Script
. .

34
Windows XP Professional Edition
Windows 2000 Professional


, ?
.

37 Active Directory.
4


Active Directory, . Active Directory.

40

. , , , .

1, 2009

46 nUbuntu

Ubuntu Linux
. nUbuntu,
.

49 Lustre FS.

. II

,
. Linux HA DRBD.

52 : , 1C, wine Etersoft

1 Linux.

61

Linux?

1
64
1: 8


68 :

Metasploit Framework

Open Source-.

-
74 JQuery: JavaScript

JQuery.

82 WinBinder PHP. GUI-


2

GUI-
. PHP . ,
PHP-GTK , WinBinder.

90
-

, SQL-.
,
SQL. , ?

93
25, 33, 81

BUGTRAQ


Linux Format. . LC173025. : , email:


bobahsmtp.ru

, , . , , . -
.
, ... . 15, 19 . 16-
20- , . , .
, 2009 , , . - , - , - , -... . ( ) . , ,
.
, .
, , . , (
) , , .

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Google Chrome

(Kai Tietz). ,
, (Aaron Boodman), - , . - - wine64 Git- wine64.git
Google Chrome, - (http://repo.or.cz/w/wine/wine64.git).
. Sun -
Chrome : -
. - Sun Microsystems - Sun Java System
( - Web Server (SJSWS). ). , -
. Open Web Server.
Chrome .
Open Web Server Sun Java System Web Server,
Chrome: Google BSD. SJSWS
. - (, WebDAV, , 15- Chrome - ), ,
() .
Sun - HTTP-, Chrome GNU/Linux MacOSX. -, . .
Chrome Linux Mac,
, Open Web
Server, HTTP 1.0/1.1, SSL, CGI/FastCGI,
-.
SHTML, ACL, LDAP/LDAPS, NSAPI,
Chrome - (NSFC), , .

Open Web Server -
Chrome (2.0.156.1). (Web Stack) OpenSolaris.
Greasemonkey (Greasemonkey Mozilla Firefox,
, - Linux Foundation
HTML- ), ,
-, - Linux Foundation (LF), , Google Bookmarks, GNU/
.
Linux,
I'm Linux.
Sun WINE
60- 64-
Linux Foundation
- Adobe Flash . , Player 10 64- Linux- - , : .

, Sun Microsystems, - Apple (I'm a Mac) Microsoft (I'm a PC). Java (Java 6 Japan
Update12), - - Linux Symposium, ()
64- . Java- -- 2009 .
64-
18 , , - 60 , Linux.
- Sun: , 14 2003 ( #4802695). - - . LF 64- 32-- , ,
. Linux.
-, I'm Linux
. 64- Java-- video.linuxfoundation.org.
( https://jdk6.dev.java.net/6uNea.html)

Firefox GNU/Linux Windows. www.nixp.ru
Solaris, .
(Maarten
Lankhorst) WINE , 64-
Windows. GCC,

1, 2009

Linux Format. . LC173025. : , email:


bobahsmtp.ru

2009.

4-5 2008
Microsoft 2009. .
, .

, -
n - .

n IT-.
, 60 - n
, . .
- , - n c.
- n .
, - , , - n .
. - , , n , - .
, - n .
- .
, , , -
. - , - , , - -
- Windows.
,
, - ,
. - , - . , - -, , , , .
, - .
.

. . . , - .
Windows 5000, - n - ,
. Microsoft Windows,
1500.
n .
-

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, Windows - Geneva - - . , , . , Identity, - - - ,
. - .
Windows 7 , - Windows.
Geneva -
W i n d ow s .
IT
Server7 Windows
Server 2008 R2 - Network Access Protection, IT- - - .
.
.
Microsoft

S ystem C enter Dat a Services Business Architecture Microsoft Protection Manager 2007 - IT-,
Windows Embedded. - - Microsoft
- Services Business Architecture (MSBA),
, - Microsoft System Center, -
- Microsoft , .
- IT-.
- ,
, Windows, - - , Exchange, Microsoft Microsoft
SQL SharePoint.
Consulting Services Failover Clustering - . Microsoft Hyper-V.
-
Active Directory Rights Management Enterprise-
- Services Active Directory Federation Microsoft Consulting
Services - Services .
Windows Vista . -
, Windows Server Small Business Server2008
2008 Vista: Essential Business Server 2008, .
Active Directory.
Windows Embedded Microsoft - . , - Windows Embedded Standard. - Microsoft - IT-, - . - Windows .
Embedded Standard - IT-?
, - Microsoft. . . - - IT- Windows , Embedded Standard - - . .
Microsoft. - ,
, - , , - .
Windows. - Forefront,
Windows Microsoft Server 2008 User Account Control, Exchange2007.
Cod Integrity PatchGuard, ,
. ? - , Windows Server 2003, - - ,
, - - .
Active Directory , - .
Windows Server 2008.

- IT- :
. Claim-based identity: - Microsoft , , -

1, 2009

Linux Format. . LC173025. : , email:


bobahsmtp.ru



- Web ADO.NET
- Data Services , ADO.NET Data Services,
IT- REST-
.
.
System Center -
Operations Manager AVIcode Intercept Windows Mobile. Studio. System Center
.NET- .
.
-
- Windows-- , . - , SQL Server2008.
- , - Microsoft Debugging Tools - , Sysinternals, Process , SQL Server Analysis
Explorer, Process Monitor, Accesschk. Services 2008.

, - -
, - - .
.
,
C#, -
- , Silverlight 2, - .
Visual Studio 2010.

Windows Presentation . Office
Foundation 3.5 SP1 - Communication Server 2007 R2, - Office
- Communication Server 2007
- - .
.NET Framework 3.5 SP1.
- Microsoft
ASP.NET4.0. , , Exchange , - .

--
, .
, .
- Citrix.
,
Web?. - , .
Windows -.

Citrix NetScaler -,
.
Citrix Provisioning Server 5

.
,
. , ,
: ,

.
Citrix ,
,
Citrix,
Citrix XenApp, Password Manager
Access Gateway, , - .
Citrix
HP,
Sun AMD Opteron
Microsoft Sharepoint.
,
,
Microsoft, ,
, . ,
,

.
.
, . ,
, 2009
IT- .
C, ,
http://platforma2009.ru.

:
:

Linux Format. . LC173025. : , email:


bobahsmtp.ru

200

25


IT

r

09
0

www.samag.ru

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Nulog2


- NuLog2,
, Netfilter uFW.

NuLog2
ULOG, ,
GNU/Linux ulogd[1],
Netfilter, , specter[2],
ulogd1.02, ulogacctd [3].
,
. 2000
(Harald Welte) 2005, ,
ULOG (Userspace Logging), .
ulogd,
,
(user space)
. .
,
,
scanulog, ulog-monitor,
, Webfwlog Nulog2.
. .
,
NuLog2 [4]
. PHP-
ulogd NuFW [5] NuLog (



NuLog1 ulogd-php).

2007,

NuLog2,

Netfilter NuFW.
,
PHP, NuLog2
Python
Twisted.
, , NuLog2
,

NuLog NuLog2
. ,
GPL v2 GPL v3.

Linux Format. . LC173025. : , email:


bobahsmtp.ru


,
IP-
( NuFW), TCP- UDP-
, ,
(
NuFW).

IPv4 IPv6,
,
.
,
.
CVS-.
,
,
AJAX,
.
NuLog2 ,
,
.
, , ,
,
,
NuLog2 .

NuLog2


ulogd
Nulog2
( NuFW
Nuface)
NuFW.live [6],
LiveCD,
KNOPPIX.

Ubuntu 8.04 LTS,

.

ipt_ULOG.o,
NuLog2

Ubuntu
2.4.18-pre8. ,
, ulog-patch ulogd. ,
netfilter patchomatic. , Ubuntu 8.04 : 1.2x
ulogd-2.x.
:
, ,
$ uname -r
( ulogd2 Ubuntu).
NuLog2 1.23 (
2.6.24-16-generic
2005), Ubuntu.
ULOG :
$ grep -i ulog /usr/src/linux/.config
CONFIG_BRIDGE_EBT_ULOG=m
CONFIG_IP_NF_TARGET_ULOG=m

, ,
ulogd lsmod :
$ lsmod | grep i ulog
ipt_ULOG

1, 2009

10116 2

$ sudo apt-cache showpkg ulogd | grep -i versions

Versions: 1.23

:
$ sudo aptitude install ulogd ulogd-mysql

ulogd
, ,
MySQL, PostgreSQL, SQLLite3,

Linux Format. . LC173025. : , email:


bobahsmtp.ru



NuLog2
NuLog2

.
:
address wrapper.conf,
,
iptables/NuFW,

.

-,
HTTP- Nulog_User,
.
- Apache
/etc/apache2/

<VirtualHost *>
ServerName nulog
ProxyPreserveHost Off
ProxyPassReverse /nulog http://localhost:8080/nulog
<Location /nulog>
Allow from all
AuthType Basic
AuthName nulog
AuthUserFile /etc/apache2/users
AuthBasicProvider file
Require valid-user
RewriteEngine on
RewriteCond %{LA-U:REMOTE_USER} (.+)
RewriteRule /nulog(.*) http://localhost:8080/nulog$1 [P,E=RU:%1]
RewriteRule /nulog(.*) http://localhost:8080/nulog$1 [P]
RequestHeader set Nulog_User %{RU}e
RequestHeader unset Authorization

</Location>
</VirtualHost>

apache2.conf
(.).

PCAP/Tcpdump syslog.
NuLog2
MySQL,
.
/etc/
ulogd.conf, ,
-c. ulogd2,
, ulogd.conf
, :
[global]
#
logfile="/var/log/ulog/ulogd.log"
# debug(1), info(3), notice(5), error(7) or fatal(8)
# 1,
# 5
loglevel=1
#
#
plugin="/usr/lib/ulogd/ulogd_LOGEMU.so"
# MySQL,
#plugin="/usr/lib/ulogd/ulogd_MYSQL.so"
#
#
[LOGEMU]
file="/var/log/ulog/syslogemu.log"
# MySQL
[MYSQL]
table="ulog"
pass="pass"
user="user"
db="ulogd"
host="localhost"

iptables ,
ULOG LOG.
, :
iptables -A FORWARD $FILTER -j LOG


htpasswd.

UFW /etc/ufw,
iptables,
. UFW ,
/etc/ufw/ufw.conf
, :
# set to yes to start on boot
ENABLED=no

ENABLED=yes

/etc/ufw/
after.rules :
$ cat /etc/ufw/after.rules
...
# catchall for logging
-A ufw-after-input -m limit --limit 3/min

--limit-burst 10 -j LOG

--log-prefix "[UFW BLOCK INPUT]: "
-A ufw-after-forward -m limit --limit 3/min

--limit-burst 10 -j LOG

--log-prefix "[UFW BLOCK FORWARD]: "

ULOG,
LOG ULOG ( limit ):
-A ufw-after-input -m limit --limit 3/min

--limit-burst 10 -j ULOG

--ulog-prefix "[UFW BLOCK INPUT]: "
-A ufw-after-forward -m limit --limit 3/min

--limit-burst 10 -j ULOG

--ulog-prefix "[UFW BLOCK FORWARD]: "

:
$ sudo ufw logging on

iptables -A FORWARD $FILTER -j ULOG

Logging enabled

:
Ubuntu 8.04
Netfilter UFW (Uncomplicated firewall).
,
.

10

$ sudo iptables -L -n | grep ULOG


Logging enabled
ULOG
all -- 0.0.0.0/0

0.0.0.0/0

Linux Format. . LC173025. : , email:


bobahsmtp.ru


limit: avg 3/min burst 10 ULOG copy_range 0 nlgroup 1 prefix
`[UFW BLOCK FORWARD]: ' queue_threshold 1
ULOG
all -- 0.0.0.0/0
0.0.0.0/0
limit: avg 3/min burst 10 ULOG copy_range 0 nlgroup 1 prefix
`[UFW BLOCK INPUT]: ' queue_threshold 1

ulogd:
$ sudo /etc/init.d/ulogd restart

:
$ tail -f /var/log/ulog/syslogemu.log
Dec 23 21:56:06 router FORWARD IN=eth0 OUT=eth1
MAC=00:e0:4d:07:c2:03:00:1d:60:9a:b8:8e:08:00 SRC=192.168.1.195
DST=192.168.0.1 LEN=48 TOS=00 PREC=0x00 TTL=127 ID=26261 DF
PROTO=TCP SPT=1135 DPT=8080 SEQ=508149838 ACK=0 WINDOW=65535
SYN URGP=0

,
, MySQL. ulogdmysql /usr/share/doc/ulogd-mysql/mysql.table,
MySQL.
NuLog ,
. NuFW
[5],
. NuFW NuLog2
. NuLog2.

NuLog2
NuLog2 .
Ubuntu :
$ sudo apt-get install python2.4 python-twisted

python-nevow python-matplotlib gettext

python-soappy python-mysqldb python-cairo

python-ipy python-numpy python-docutils


aptget aptitude,
45 154
aptitude.
2.1.3, 2008 ,
.

http://software.inl.fr/releases/Nulog2.
.
.
$ mysql -uroot -prootpassword
> CREATE DATABASE ulogd;
> GRANT ALL PRIVILEGES ON ulogd.* TO 'user'@'localhost'

IDENTIFIED BY 'pass';

scripts
. IPv4- ipv4.sql:
$ mysql -uuser -ppass ulogd < ./scripts/ipv4.sql


,
(usersstats, offenders, tcp_ports,
udp_ports):
$ mysql -uroot -ppass ulogd < ./scripts/triggers.py

MySQL ( 5.0.32)
:
DROP TRIGGER IF EXISTS update_cache;

. ulogd,
:
$ sudo /etc/init.d/ulogd restart

Nulog2,
setup.py, :
$ sudo ./setup.py install

:
$ make

.
Nulog2 /etc/nulog,
,
: default.wrapper.conf,
default.core.conf' default.nulog.conf.
,
default wrapper.conf,
core.conf' nulog.conf.
NuLog2
,
wrapper.conf.
[server]
port=8080
vardir = /var/lib/nucentral/
address = 0.0.0.0

NuLog2

1, 2009

#
[modules]
nulog-core=yes
nulog-web=yes
auth=yes

11

Linux Format. . LC173025. : , email:


bobahsmtp.ru


ulogd2 Ubuntu
,
ulogd,
.
. ,
: ,
.
(stack), , ,
, .
,
, :
stack=log1:NFLOG,op1: LOGEMU

:
Mon Dec 29 21:53:14 2008 <8> ulogd.c:1102
not even a single working plugin stack

, ulogd
, .

.
.
,

.
, ulogd2
SQL,

( ulogd),

, .
ulogd1
, SQL
. ULOG,
NFLOG.

,
,
libnfnetlink,
libnetfilter_log ( ) libnetfilter_
conntrack ( conntrack),

http://www.netfilter.org/projects.
,

.

, .
checking for LIBNETFILTER_CONNTRACK... no
configure: error: Cannot find libnetfilter_
conntrack >= 0.0.95

:
$ ./configure
$ make
$ sudo make install

deb-
, The
Ubuntu Packaging Guide (https://help.ubuntu.
com/6.10/ubuntu/packagingguide/C).

ulogd :
configure: WARNING: mysql.h not found
checking for mysql_close in -lmysqlclient... no
configure: WARNING: libmysqlclient.so not found

,
MySQL.
NuLog2
, ,
.
$ sudo aptitude install

libmysqlclient15-dev


install_defconf.sh.
$ ./script/install_defconf.sh


NuLog
NuFW.
, .
MySQL
core.conf:
# Database configuration
[DB]
host=localhost
db=ulog
user=user
password=pass
# mysql/pgsql
dbtype=mysql
# sql scheme ulog/triggers
type=triggers
ip=4
table=ulog

12


ulogd-2.0.0beta2,

.
svn/
git. ,
, , build-essential subversion
Ubuntu,
:
$ sudo apt-get install autoconf

automake1.9 libtool

.
$ svn co https://svn.netfilter.org/

netfilter/branches/ulog/ulogd2
$ cd ulogd2
~/ulogd2$ ./autogen.sh; ./configure;

make; sudo make install


/usr/local,
/usr/local/lib/ulogd /etc/ld.so.conf,

.
,

:
$

$

$

$

sudo cp -v ulogd.conf
/usr/local/etc/ulogd.conf
sudo cp -v ulogd.logrotate
/etc/logrotate.d/ulogd
sudo cp -v ulogd.init
/etc/init.d/ulogd
sudo ln s /etc/init.d/ulogd
/etc/rcS.d/S99ulogd


,
.
$ sudo /usr/local/sbin/ulogd

nulog.conf ,
( ).
# URL
url=/nulog/
# -
maintitle=Log ULOG
# Nuface2 ACLs
# nuface_acl=https://localhost/nuface/%%s.php?acl=%%s
[Sessions]
#
anonymous=yes
[Misc]
#
datetime=%%y-%%m-%%d %%H:%%M:%%S
# Edenwall
# (http://www.edenwall.com), NuFW.Live
edenwall_integration=0


NuLog2.

.
$ sudo cp v ./debian/init.d /etc/init.d/nulog
$ sudo ln s /etc/init.d/nulog /etc/rcS.d/nulog

Linux Format. . LC173025. : , email:


bobahsmtp.ru


:
$ sudo /etc/init.d/nulog restart


:
$ sudo twistd -noy /usr/sbin/nulog.tac

- http://
localhost:8080/nulog /
.

Nulog2,
5.
.

NuFW NuLog2

,
. ,
NuLog2,
NuFW,
, IP-
,
.
1. ulogd http://www.gnumonks.org/projects, http://
www.netfilter.org/projects/ulogd.

1, 2009

2. specter http://joker.linuxstuff.pl/specter.
3. ulog-acctd http://alioth.debian.org/projects/
pkgulog-acctd.
4. NuLog2 http://software.inl.fr/trac/wiki/EdenWall/
NuLog.
5. . NuFW.
// , 3, 2006 . . 46-50.
6. LiveCD, NuFW http://
live.nufw.org.

13

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Hyperic HQ


,
.
-
.


. .
, , .
, .

14


Hyperic HQ.

Hyperic HQ
Hyperic HQ
, :
n
;
n ,
;
n
, -.

Linux, Solaris 10 , Mac OSX


(Intelx86), Windows 2003 Server, .
Hyperic HQ : Enterprise Open
Source. 3.2.
Enterprise Open
Source ,
,
, LDAP
Kerberos, , ,


.

Linux Format. . LC173025. : , email:


bobahsmtp.ru



Red Hat Hyperic, RHQ, - . RHQ , Red Hat, JBoss Operations Network Red Hat Network, Hyperic HQ.
:
n Platform () ,
.
, , ,
, .
n Server ()
1. Application
, .
Hyperic HQ - n 500 ;
, - , - n Linux,
WindowsXP 2003 Server, Solaris 8 , HPUX,
.
AIX, FreeBSD.
n Service () ,
.


JRE JDK 1.4 1.5. , Apache.
n Application JRE, , - . - JRE (JDK), . .
. , - Hyperic HQ
, -
. - Windows Vista Ultimate SP1 CentOS 5.1. Windows
.1. Vista
, Hyperic HQ , - .

Windows
. :
n Pentium 4 , 1 setup.bat ( Pentium Xeon 2.4 . :
);
n 1 ( 4 );
C:\<Installation Directory>\setup.bat
n 1-5 ;
Initializing Hyperic HQ Installation...
n Linux,
Choose which software to install:
1: Hyperic HQ Server
WindowsXP 2003 Server, Solaris 8 ,
2: Hyperic HQ Shell
HPUX.
3: Hyperic HQ Agent
Hyperic HQ Server
, . :
n PostgreSQL 8 ;
n Oracle 9i 10g;
n MySQL 5.0.45 .
:
n Celeron 500 , ;
n 256 ;

1, 2009

You may enter multiple choices, separated by commas.

, . ,
1, 3.
, C:\Program Files, <Enter>.
SMTP-, , .
-

15

Linux Format. . LC173025. : , email:


bobahsmtp.ru

2.

, C:\Program Files.
, ,
, - , , . - . Starting built-in database... - , <Enter> . - .
<Enter>.
.
Should Agent communications to HQ always be secure [default=no]:
, Windows.
,
C:\Program Files\server-x.x.x\bin, x.x.x - 7080. <Enter>
, hq-server.exe - .
-i.
What is the HQ server port
[default=7080]:
. , Hyperic HQ

Database, - hqadmin/
hqadmin, , ,
.
. - <Enter> .
C:\Program Files\agent-x.x.x\bin, x.x.x - Testing insecure connection ... Success
. hq-agent.exe :
Starting agent
- Unable to load agent token file. Generating a new one ... Done
- Invoking agent
Agent successfully started
[ Running agent setup ]
What is the HQ server IP address:

IP- ,
, ,
127.0.0.1.

16

What is your HQ login [default=hqadmin]:


What is your HQ password:

IP- , , .
What IP should HQ use to contact the agent [default=127.0.0.1]:
What port should HQ use to contact the agent [default=2144]:

, :

Linux Format. . LC173025. : , email:


bobahsmtp.ru

3.

4.
- Received temporary auth token from agent
- Registering agent with HQ
- HQ gave us the following agent token
1104817706987-8534327776788402831-4021000845020676153
- Informing agent of new HQ server
- Validating
- Successfully setup agent

. , ,

1, 2009

-i, . Linux setup.sh


.
/home/hyperic/bin/hq-server.sh start /home/hyperic/bin/
hq-agent.sh start. , , , Windows.

17

Linux Format. . LC173025. : , email:


bobahsmtp.ru

5.

6. . Inventory


, . , ,
-. , 7080,

18

your _ip:7080
, / hqadmin/ hqadmin,

Administration -.


Dashboard (. . 2), -

, ,
,
.
AutoDiscovery . , ,
, , , -

Linux Format. . LC173025. : , email:


bobahsmtp.ru

7.

, , , .
, , Add to
Inventory .
, . Resource Browser
(..3). . Platforms , . Servers , , , . Services ,
.
Compatible Groups/
Clusters, Mixed Groups Applications,
Tools Menu, .

:
List View, .. , Chart View

. -

1, 2009

- , - , , , .

, Platforms .
, , ,
. - ,
, - , , - .
, . , Inventory
, (..6), Services
, . , - . NEW - : , - .
, - , ,
, . - .
, - , , , - Windows
, . , Windows
Monitor (..4), Service OK. , Resources Configuration Properties , Edit service_name . - ,
, - Spooler, OK. , Indicators, - , , , - Monitor, , .
,
, - ,
, , -
. . ,
Metric Data (..5) , , Spooler -

19

Linux Format. . LC173025. : , email:


bobahsmtp.ru

8.

. - Windows, - Alert NEW Start, ,


(..7), - Stop Restart -- - .
. . Administration
Condition Set . - Availability - History.
, Views, , - , is !=(Not Equal to) 100%,
100%, , , - .
OK. OK .
, - , ,
, , - - , Map, , -, - - , Administration , Win32 ,
, platform. Live SNMP,
. - Exec (..8), , - , - . , VMware Xen,
, Notify HQ , - .
Users, - -
Notify - , , Other Recipients. , , , - - , , , , -
, - , , .
, - .
.

, , !
. Analyze Control , , - 1. Hyperic HQ http://
, - Alert Center
www.hyperic.com.
- - Event Center.
2. RHQ-Project http://
, - , www.rhq-project.org.

20

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Linux Format. . LC173025. : , email:
bobahsmtp.ru


.
,
. .

, , .
.
.
,
: Driver Package
Installer.
,
.
.

USB, FireWare ..

22


.


,
Driver Package Installer (DPInst).
.


INF-. , , ..
Windows INF-: SETUPAPI
ADVANCEDINF, DLL-, -

%SystemRoot%/
System32.
SETUPAPI setupapi.dll,
ADVANCEDINF advpack.dll.
SETUPAPI.
RUNDLL32.EXE. :
rundll32.exe DLL,Function arameters

:
n DLL .
setupapi.dll
advpack.dll.
n Function ,
, , , . -

Linux Format. . LC173025. : , email:


bobahsmtp.ru


: .
n Parameters , .

INF-, . .

SETUPAPI

Driver Package Installer (DPInst) ,


Microsoft, Microsoft
Windows Driver Install Frameworks (DIF).
DIF v 2.1. DPInst :
n Plug and Play (PnP) .
PnP-, dpinst.exe. /LM.
n
dpinst.xml. XML- . .
n .
/S /Q.
n
.
n .
n .

SETUPAPI :
n : , ;
n CAB-;
n , ;
n .
InstallHinfSection, unInstallHinfSection. 1 , HP_1200.INF.
1.
SETUPAPI
rundll32.exe setupapi,InstallHinfSection HP_1200_PPD 132

C:\HP_1200.INF

InstallHinfSection . INF-,
.
.
INF-.

ADVANCEDINF

Driver Package Installer

,
DPInst . DPInst , INF-
, .
DPInst.XML, DPInst.EXE. XML. .

ADVANCEDINF SETUPAPI, :
n
(Active
Setup);

n :
( );
<group> <search>.
n ,
;
<group> , n .
. <search>,
ADVANCEDINF - . .
SETUPAPI.
2 -
PostScript HP 1200. <group>
, -
. INF-, - DPInst.XML <group>,
, :
(. ).
n <package path = /> . path 2.
INF- .
SETUPAPI

rundll32.exe advpack,LaunchINFSection

C:\HP_1200.INF HP_1200_PPD 132


, , ,

1, 2009

0 128

1 129

2 130

3 131

4 132

23

Linux Format. . LC173025. : , email:


bobahsmtp.ru


n <installAllOrNone/> . /A DPInst.exe.
n <suppressAddRemovePrograms/>


, (. ). /SA DPInst.exe.
,
,
C:\hp1200\1200.inf, C:\hp3380\3380.inf,

C:\hp4100\4100.inf, .
XML-, 3.
<language>. code 3. XML-,
, , 00409 , 00419 ( 5).
<?xml version="1.0" ?>
<dpinst>
<group>
<package path="c:\hp1200\1200.inf " />
<package path="c:\hp3380\3380.inf " />
<package path="c:\hp4100\4100.inf " />
<group/>
</dpinst>

DPInst.exe , (/S)
(/LM):
DPInst .exe / S /LM


<search>
,
<search>. , ,
( 4).
4.
<search>
<subDirectory>*</subDirectory>
</search>

DPInst.exe . , . -

24

5. DPInst.XML
<dpinst>

<language code="00419">


...

</language>

<group>


...

<group/>
</dpinst>

<language> , .
, , .
, .
MSDN.

Driver Package Installer


.
.

,
. , ,
,
, .

Linux Format. . LC173025. : , email:


bobahsmtp.ru

bugtraq
ISC BIND

SAP GUI TabOne

: BIND 9.0 ; BIND 9.1 ; ActiveX-


BIND9.2 ; BIND 9.3.0, 9.3.1, 9.3.2, 9.3.3, 9.3.4, : SAP GUI 6.40 Patch 29, , 9.3.5, 9.3.6; BIND 9.4.0, 9.4.1, 9.4.2, 9.4.3; BIND 9.5.0, 9.5.1; ; SAP GUI 7.10, , .
BIND 9.6.0.
: .
: .
: -
: - , - TabOne ActiveX- (sizerone.ocx)
ISC BIND - . , OpenSSL- EVP_VerifyFinal() AddTab() DSA _do_verify(), DSA- , NSEC3DSA-. -
, DSA- NSEC3DSA- .
. - URL : www.sap.com.
DSA- NSEC3DSA-.
: 7.10 PL
URL : www.isc.org/software/bind.
, ActiveX-: 9.3.6-P1, 9.4.3P1, .
9.5.1-P1 9.6.0-P1 .
BitDefender Antivirus Scanner for Unices
DSA- NSEC3DSA-.
: BitDefender Antivirus Scanner for Unices 7.60825
.
Trillian
: Trillian 3.1.12.0.
: .
: .
:
: 1. - - PE-, XML- . - NeoLite ASProtect. - PE-
.
.
URL : www.bitdefender.com/PRODUCT-80-en2. - - BitDefender-Antivirus-Scanner-for-Unices.html.
XML-. - : .
.
Sun Solaris
3. - - : Sun Solaris 10.
XML-. - : .
: -
.
IPv4-.
URL : www.ceruleanstudios.com.
. : 3.1.12.0
.
IPv4, 127.0.0.1
blackhole
120011-14 (SPARC) 120012-14 (x86).
Symantec Mail Security for SMTP
URL : www.sun.com.
: Symantec Mail Security for SMTP 5.0.1 - : .
189, , .
: .
ClamAV
: - - : ClamAV 0.94.2.
. - : .
email- - : - , - cli_check_jpeg_exploit() . - libclamav/special.c. JPEG-
Filter Hub, - .
.
URL : www.symantec.com/enterprise/products/ URL : www.clamav.net.
overview.jsp?pcid=1008&pvid=845_1.
: 0.94.2
: 200 5.0.1 .
.

1, 2009

25

Linux Format. . LC173025. : , email:


bobahsmtp.ru


WindowsVista?

, - , Flip3D,
- .
/ Windows Vista.
, .
Microsoft
Aero Glass - , - - , . Aero Glass . - . - (
- , - )
, . - , - Windows Aero.
Windows Flip <alt>+
, .
Windows Vista.
Aero - <tab>,
- , - . Windows
, - . - Flip 3D <win>+<tab>,
Vista. - , - 3D.
- , -
, Flip3D
- , - . <Enter> .
Vista.
Aero - .
Windows Vista. . , Aero,
, - , - . - (. ). , - , , - Aero - , , , - . . , .
Windows Basic Aero (- 203 , , Aero Express .
- Aero Glass).
Home Basic
- Business, - Glass, :

26

Linux Format. . LC173025. : , email:


bobahsmtp.ru


n 64 1310720
(12801024);
n 128
1310720 2304000
(16001200);
n 25 6
2304000
(25601600).
Media
Center.

, (
).
, Vista Media Center. Microsoft Media Center
- [1].

64 . . 32
64 , .
64 32
.
[2].
Vista
Windows Vista Upgrade Advisor, . 32 . [3].

Vista

1, 2009

Windows Vista

Vista Starter

32
, Aero,
,
,
,
,
Media Center



-
. ,

Vista Home Basic

,
, 32
,

Vista Home Premium

Home Basic,
64-
Media Center

, ,

Vista Business

Home Premium,
Media Center,

Vista Enterprise

Media Center.
64

Vista Ultimate


Windows Vista

, Vista Upgrade Advisor Microsoft Core XML


Services 6.0 .NET Framework 2.0.
Microsoft.

,
, .
. , . ,

. ,

,
.
, ,
Vista DVD-, ,
,
, DVD-.
, . Product Key,
25.

. .

27

Linux Format. . LC173025. : , email:


bobahsmtp.ru

, ,
Microsoft, .
, ,
(, ),
.

, .
.
, , . , .

28

, . RAID-

, .

. , .
.
, ,

, Vista. Ask Me Later,
WSUS (Windows Server Update Services),
,
-.


,
. (Location). Microsoft
Public Location.
. , Windows Vista.
,
GUI.
Aero.
, .

:

( )
Windows Aero . ,

Linux Format. . LC173025. : , email:


bobahsmtp.ru


,
, Aero . , Aero.

Aero
, 32 ,
10 , Windows Vista, Windows Aero
. 32- .
(32 ) . ( 32 , ,
,
.) .

, 10 . . , . ,
.
,
Windows Vista.
Windows Aero
Windows Aero .
,
Windows Aero.

, , . . Aero.
,
. Aero
.
:
n HKCU\Software\Microsoft\Windows\DWM\Composition 1 (32-bit DWORD),
n H K C U \ S o f t w a r e \ M i c r o s o f t \ W i n d o w s \ D W M \
CompositionPolicy 2 (32-bit DWORD).

. ,
Parent Control ( ), User Account Control
(UAC, ), Windows Firewall, NAP (Network Access
Protection, ) .
, Windows
Vista.
1. http://www.microsoft.com/windows/compatibility/Browse.aspx?typ
e=Hardware&category=TV%20Devices&subcategory=TV%20Tun
ers Vista -.
2. http://technet.microsoft.com/ru-ru/windows/aa904820.aspx Windows Vista.
3. http://www.microsoft.com/windows/windows-vista/get/upgradeadvisor.aspx Windows Vista Upgrade Advisor.

:
net stop uxsms
net start uxsms

.
Aero .

Windows Vista? -

1, 2009

29

Linux Format. . LC173025. : , email:


bobahsmtp.ru

PPD-


Post Script- .
.

- - (.). . - : . 1200 , . , 4 - 300 dpi 600 dpi.




letter, 4. - PPD, . - .
: -

PostScript

30

PostScript PS-
, .

. 1
PS- Windows2K.

C:\Windows\System32\spool\drivers\w32x86.
1 INF-, PS- .
, .
GUI- . , , . GUI- (. [1]).

Linux Format. . LC173025. : , email:


bobahsmtp.ru


1. INF- PS-

2. 2 PPD-:

[Version]
Signature="$Windows CHICAGO$"
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
Provider="temp"

2. PPD-
*PPD-Adobe: "4.3"

[Manufacturer]
%Company%=firm

*% ======================================================
*% Printer Description File
*% Copyright 1992-2001 Hewlett-Packard Company
*%=======================================================
*% PPD for HP LaserJet 1200 Series
*%=======================================================

[firm]
"Product Name" = **********, unique_identifier
[**********]
CopyFiles=@*****.PPD,PSCRIPT_NT ; PPD-.
DataSection=PSCRIPT_DATA
DataFile=*****.PPD
Include=NTPRINT.INF
; NTPRINT.INF.
Needs=PSCRIPT.OEM
; PSCRIPT.

*% === PPD File Version Information ====


*FileVersion: "1.004"
*FormatVersion: "4.3"
*LanguageEncoding: ISOLatin1
*LanguageVersion: English
*PCFileName:
"HP1200_7.PPD"

[DestinationDirs]
DefaultDestDir=66000
[SourceDisksNames]
1 = "HP",,,""
[SourceDisksFiles]
HP1200.ppd = 1,,,,,,,11,3
[Strings]
Company = "Firm Name"

*% === Product Version Information ====


*ModelName: "HP LaserJet 1200 Series"
*ShortNickName: "HP LaserJet 1200 Series PS"
*NickName: "HP LaserJet 1200 Series PS"
*Product:
"(HP LaserJet 1200 Series)"
*Manufacturer: "HP"
*PSVersion: "(2014.108) 1"

PPD-?

, PostScript Printer Description PPD- . ,


ASCII. .
1. PS-

, , PS5UI.DLL
PostScript User Interface

, ,
PSCRIPT5.DLL
PostScript Printer Driver
PS-
.
PSCRIPT.NTF
Fonts
, ,

PostScript, PSCRIPT.HLP
Help
PS-
ADOBE.
*.INF
Information
-

*.PPD
PostScript Printer Description
: , ,
..
[2], PPD- [3].
2. PPD-

PPD-

PPD,
: , *. . *, *%.

:

*PPD-Adobe

4.3

PPD. 4.3,
09 1996

*FileVersion

1.004

*FormatVersion

4.3

PPD.
*PPD-Adobe

*LanguageEncoding

ISOLatin1, Cyrillic

, .
ISOLatin1, Cyrillic

*LanguageVersion

English, Russian

*Manufacturer

HP

*ModelName

HP LaserJet 1200 Series

*NickName

HP LaserJet 1200 Series PS

,
.
.

*ShortNickName

HP LaserJet 1200 Series PS

command (. [2]), value .

,
. *NickName
31-

*Product

(HP LaserJet 1200 Series)

.

: ,

PPD-

*PSVersion

(2014.108) 1

*PCFileName

HP1200_7.PPD

PPD- ( ). *PCFileName
8 3- (PPD).
2 , 6

*command:value

, -

1, 2009

31

Linux Format. . LC173025. : , email:


bobahsmtp.ru




, . :
n .
n .


PageSize. , ,
(. ). (. 3).
*?PageSize:, *End.
.

dict. 2 17 dict. , 17 . , 2 : A4Postcard
( ).
, :
2 dict.
Dup Put. :
Dup [x y] string Put

4.
*?PageSize: "
save
currentpagedevice /PageSize get aload pop
2 copy gt {exch} if
(Unknown)
2 dict
dup [595 842] (A4) put
dup [284 419] (Postcard) put
{ exch aload pop 4 index sub abs 5 le exch
5 index sub abs 5 le and
{exch pop exit} {pop} ifelse
} bind forall
= flush pop pop
restore
"
*End


PageSize PageRegion, , 5.
5.
*PageRegion string1/string2: "
<</PageSize [ y] /ImagingBBox null>> setpagedevice"
*End

string1 ,
string2 .
. x y .

y pt (point, ), string , - *DefaultPageSize, *DefaultPageRegion,


.
. , A4 210297. .
, , 2,83 (1 mm = 2,8346 pt). *DefaultPageSize. , 595842 pt (. 3). -
, 2 . ,
- (.3 (. 4).
6).
3.

6.

*?PageSize: "
save
currentpagedevice /PageSize get aload pop
2 copy gt {exch} if
(Unknown)
17 dict
dup [612 792] (Letter) put
dup [522 756] (Executive) put
dup [612 1008] (Legal) put
dup [595 842] (A4) put
dup [420 595] (A5) put
dup [297 420] (A6) put
dup [499 709] (ISOB5) put
dup [516 729] (B5) put
dup [612 936] (w612h936) put
dup [284 419] (Postcard) put
dup [419.5 567](DoublePostcard) put
dup [297 684] (Env10) put
dup [279 540] (EnvMonarch) put
dup [312 624] (EnvDL) put
dup [459 649] (EnvC5) put
dup [499 709] (EnvISOB5) put
dup [558 774] (w558h774) put
{ exch aload pop 4 index sub abs 5 le exch
5 index sub abs 5 le and
{exch pop exit} {pop} ifelse
} bind forall
= flush pop pop
restore
"
*End

*OpenUI *PageSize: PickOne


*OrderDependency: 30 AnySetup *PageSize
*DefaultPageSize: Letter
*PageSize Letter/Letter: "
<</PageSize [612 792] /ImagingBBox null>> setpagedevice"
*End

32


, ( )
.
1. . HP.
// , 12, 2008 . .44-48.
2. PostScript language reference, third edition ht tp://
www.adobe.com/products/postscript/pdfs/PLRM.pdf.
3. PostScript Printer Description File Format Specification http://
www.adobe.com/devnet/postscript/pdfs/5003.PPD_Spec_v4.3.pdf.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

bugtraq
Trend Micro HouseCall
ActiveX-


Microsoft SQL Server

: Trend Micro HouseCall ActiveX Control - : Microsoft SQL Server 2000 8.00.2050; Microsoft
6.6.0.1285; Trend Micro HouseCall Server SQL Server 2000 Desktop Engine (MSDE 2000); Microsoft
6.6.0.1285.
SQL Server 2005; Microsoft SQL Server 2005 Express
Edition9.2.3042.00.
: .
: - - : .
HouseCall ActiveX-- : -
(Housecall_ActiveX.dll). sp_replwritetovarbin().
-, - notifyOnLoadNative(), - , - .
.
URL : www.trendmicro.com.
URL : www.microsoft.com.
: - : .
.

OpenSSL

Samba

: OpenSSL 0.9.8j.
: .
: - , OpenSSL- , EVP_VerifyFinal(), DSA- ECDSA-. , , . , DSA ECDSA-.
URL : www.openssl.org.
: 0.9.8j
.

: Samba 3.0.29 3.2.4.


: .
: - trans, trans2
nttrans. smbd.
URL : www.samba.org.
: 3.2.5 3.0.33
.


ESET Smart Security
: ESET Smart Security 3.0.684.
: .
: -

IOCTL- epfw.sys.
IOCTL-
.
URL : w w w.eset.com/smar tsecurit y/
index.php.
: 3.0.684
.

FreeBSD
: FreeBSD 6.3, 6.4, 7.0.
: .
: -
netgraphbluetooth- .
.
URL : www.freebsd.org.
: .

1, 2009

IBM AIX
: IBM AIX 6.1.0, 6.1.1, 6.1.2.
: .
: 1. - /usr/sbin/ndp setuid-. .
netcd .
2. -
/usr/sbin/
autoconf6. . RBAC,
aix.network.config.tcpip.
3. - /usr/bin/enq. , /etc/qconfig .
4. - /usr/bin/crontab. , aix.system.config.cron, .
URL : www-03.ibm.com/systems/p/os/aix/v61/
index.html.
: .

33

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Windows XP Professional Edition
Windows 2000 Professional


,
?
.

- , , DNS Windows 2003, - , DNS FreeBSD.


Samba , - DHCP WINS,
Windows. - [1].
Samba 3.

DNS Windows 2003
.
. DNS,
. , FreeBSD , OLD ( Samba3) Samba 3 (- (, new.local ( Windows2003). - ).
, - [2]), Windows 2000 AD MS Windows 2003. - , IP- Professional Windows XP Professional Samba WINS DNS FreeBSD.
Edition.
netbios- ! - IP- .

- , - FreeBSD DNS Windows 2003 - DHCP. DHCP DNS-- -

34

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, .


.

,
Samba-.
, . , Windows- , .
: .


( 1.
).

, .
(, OLD) .


( ), . , C:\Documents and Settings\ivanov. ,
ivanov123.
new.local, ,
. 2.
ivanov,
ivanov.
-
, , -
- ivanov ivanov. , (. . 1).
regedit

WindowsXP
C:\Documents and Settings\ivanov.
( , -
. - regedit, Ok) C:\Documents and Settings\ regedt32 Windows2000. ivanov, ivanov123 - , HKEY_USERS. ivanov.

1, 2009

Windows XP

Windows XP

,
C:\Documents and
Settings\ivanov\NTUSER.DAT.
, Windows C:\Documents and Settings\
ivanov

.
, , 123.

35

Linux Format. . LC173025. : , email:


bobahsmtp.ru


n Lotus Notes 6.5 ( ),
,
C:\Documents and
Settings\All Users\Application Data\
Lotus ( ).
, .

3.

ivanov .
(.. 2). Windows 2000
, (. . 3).
ivanov. , ,
.

36

,
C:\Documents and Settings\ivanov

15-20 , ,

Windows 2000
20
! :
. n - http://
Skype ( Windows XP, www.samag.ru/forum.
Windows 2000 );
n - Internet 1. Windows
Explorer (Mozilla Firefox
h t t p : / / h o m e . e u n e t . n o /~ p n o r d a h l /
), ntpasswd.
- 2. Samba http://argo-uln.
;
blogspot.com/2006/08/samba-3-pdc-ldapn Outlook
freebsd-61.html.
Express;
3 PDC LDAP FreeBSD 6.1.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Active Directory
4


Active Directory,
.
Active Directory.

,
(group type) ,
, , .
, : Security
() Distribution ( . - ).

- (Group scope).
; - , , - - : , .
. , - Active Directory, - , Active Directory .
.


,
,
.
(security
group) , : .

. :
(.1).

1, 2009


: . ,
,
Active Directory. ,
.
.

MMC- Active

Directory Users and Computers


New Group ,
. ,
, Active Directory distinguishedName.
(. .1). ,
(PreWindows2000) WindowsNT
(. 1).
,
. ( Group).
Active Directory cn.
name , , cn. .
, WindowsNT
Group name (PreWindows2000). Active Directory sAMAccountName.
cn sAMAccountName , -

37

Linux Format. . LC173025. : , email:


bobahsmtp.ru


. , .

. (groupType= -2147483646).

(. 2). Active
Directory groupType.

1.


Active Directory

Group name

cn, name

String

Group name
(Pre-Windows 2000)

sAMAccountname

String

,
Windows NT

Group scope

groupType

Radio Button

(VBScript),
, . 1 ,

. 3.

1.

1.

set RootDSE = GetObject("LDAP://RootDSE")

Domain = rootDSE.Get("defaultNamingContext")
Set objUsers = GetObject("LDAP://OU=WorkGroup," & Domain)
Set objNewUser = objUsers.Create("group", "cn=Test")
objNewUser.Put "sAMAccountName", "Test"
objNewUser.Put "groupType", "-2147483646"

objNewUser.SetInfo

!
groupType,
, -2147483646, .
.
RDN- (relative
distinguished name, ) RootDSE. WorkSpace,
Active Directory,
Create(), . ( objectType),
cn = .
. RDN , .
RDN- 255 ,
Active Directory . cn 64 . RDN . [1].


-
, , ( ).
,
( distinguishedName). , , delete (. .2).
2. groupType

Global Security Group

-2147483648

Global Distribution Group

Local Security Group

-2147483644

Local Distribution Group

BuiltIn Group

-2147483643

Universal Distribution Group

Universal Security Group

-2147483640


:
, .

38

2.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

3.

n = Test


sAMAccountName = Test
WindowsNT
Active
groupType = -2147483646

Directory. distinguishedName = CN=Test,


distinguishedName.
OU=WorkSpace,DC=Island,DC=ru
,
.
Test, distinguishedName. ( cn) GetObject() . , , , .
, 2.
, setInfo()
Active Directory .

set RootDSE = GetObject("LDAP://RootDSE")

Domain = rootDSE.Get("defaultNamingContext")

Set objUsers = GetObject("LDAP://OU=WorkGroup," & Domain)
Add (. 4), Remove (. objUsers.delete "group", "cn=Test"
Set objUsers = nothing
4).


:
n ;
n ;
n .
, -, Members (..3).



. Member, LDAP- (.3).
, cn. 3.
3.
( )
path =
Set objGroup = GetObject("LDAP:// " & path)
temp = ""
For Each obj In objGroup.member
temp = temp + obj + vbNewLine
Next
MsgBox temp

4.
path =
objPath=
Set objGroup = GetObject("LDAP:// " & path)
objGroup.Add("LDAP:// " & objPath)
4.
path =
objPath=
Set objGroup = GetObject("LDAP:// " & path)
objGroup.Remove("LDAP:// " & objPath)


, ,
, . .
, .
1. Object Naming http://www.microsoft.com/technet/prodtechnol/
windows2000serv/reskit/distrib/dsbb_act_kjpw.mspx?mfr=true.

3.
( )
path =
Set objGroup = GetObject("LDAP:// " & path)
For Each obj In objGroup.member

temp = temp + GetObject("LDAP:// " &

obj.cn) + vbNewLine
Next
MsgBox temp


, .

1, 2009

3. Members

39

Linux Format. . LC173025. : , email:


bobahsmtp.ru



. , ,

. ,
, , .
40

Linux Format. . LC173025. : , email:


bobahsmtp.ru

,
. , , , - GIT ( :
.
n , , - OS Linux)
, - , - Mercurial,
.
, . .
- . , .
. - n . -
,
-
- , .
- n . . , . , , - RCS . , - - . Mercurial .
, ( SVN Apache, Bind ..).
, - , . , - ,
.
.
.
n !
,
, , - -
, . - (remote) , ! .
, . - - , , - :
.
n
n - !
- , , ! ,
- .
.
. , ,
RCS (Revision Control System). - ,
.
,
n -... 80- . - . ,
, - - .
.
, , n - , , - .
.
- ,
, - .
, , .
n , ,
. , CVS (Concurrent
-
Versions System) - ,
,
SVN (Subversion). ? , , n , , ..
-
. - .
,
RCS : , ,

- , , - .
- (*,v),

1, 2009

41

Linux Format. . LC173025. : , email:


bobahsmtp.ru

1. RCS

SVN, , , . .

( , !) (.snv). ,
RCS (. . 2).
, , .
-
, (.hg Mercurial). (/)
, .
, (. . 3).

2. Subversion

,
. ,
RCS.
.

.
,
, .
. 1.

42

,
, ? .
RCS ,
, .
, .
, , ! ,
, , .
, ( ,
, ), 90%
. 10% , (
RCS , ,

).
.

. , .
. . , ,
.
! , (checkout)
, . ,
.
, .

. ,
Access Control Lists (ACL ,
). .
, ,
,
.

, . , RCS . ,
.
,
,
/etc/shadow. . -
, , .

.
etckeeper (http://joey.kitenet.net/code/
etckeeper)
Debian
( commit) -

Linux Format. . LC173025. : , email:


bobahsmtp.ru


. - .
, etckeeper cGit, Mercurial Bazar.
,
- CVS SVN.
,

- TortoiseHG (http://tortoisehg.sourceforge.
net) MSWindows, , Internet Explorer ( ( shadow - group ). - ).
, , Mercurial , shadow -
, - , .

.
- ,
- hglock ( . - ). . , etckeeper http://primtech.ru/files/
.
hglock. ,
. .
.
- .
( PHP JAVA )
( Windows .
Solaris Z/OS).
,
- . - , , .
.
, . , ,
(, - .

,
, - ,
), - RCS.
.
,
- .
.
Mercurial -
.
, Mercurial - , Subversion - :

1, 2009

3. Mercurial

-, ,
.
, , . , . ,
(PAM,
LDAP, SSH... ).
,
, .
,
. named.conf, nginx.conf, crontab
( , ,
cron,

), , (firewall)
..
-, ,
.

43

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, ,
.
, RCS
UNIX-.

, .
,
,
. (root).
,
, . (effective id) , (realid)
. hglock ,
(login), . Mercurial
,
~/.hgrc. , ,
( su ). root.
, Solaris.
, Mercurial
.
$ hg --version
Mercurial Distributed SCM (version 0.9.5)
. . .


:
$ id
uid=100(john) gid=1(other)

$ echo >~/.hgrc<<EOF
> [ui]
> editor = vim
> fallbackencoding = UTF-8
> username = John Doe <john@example.com>
EOF

:
$ su
Password:

# id
uid=0(root) gid=0(root)

, :

44

# who am i
john

pts/2

Nov 20 18:00

(172.30.0.215)

. /etc, :
# hg init /


. , , (, ssh), :
.
:
# chmod 700 /.gh
# ls -ld /.hg
john

pts/2

Nov 20 18:00

(172.30.0.215)

, ,
/.hg/store/data . , /etc/inet/hosts
/.hg/store/data/etc/inet/hosts.i.
:
# cp hglock /usr/bin/
# cat >>/.hg/hgrc<<EOF
>
>
>
>

[hooks]
port-commit = hglock -C
post-add = hglock -A
EOF

, ,
.
. , .
# echo `^` >/.hgignore

. , Solaris /etc/hosts /etc/inet/hosts.


# hg add /etc/inet/hosts
# hg add /usr/local/apache2/conf/httpd.conf
# hg add /var/spool/cron/crontabs/root

, :
# hg status
A etc/inet/hosts
A usr/local/apache2/conf/httpd.conf
A var/spool/cron/crontabs/root

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, :
# cat /.hg/locksfile

etc/inet/hosts:john:15:47 2008.11.20
usr/local/apache2/conf/httpd.conf:john:15:47 2008.11.20
var/spool/cron/crontabs/root:john:15:47 2008.11.20

. :
# hg commit -m "Init"

:
# cat /.hg/locksfile

.
,
:
# hg locate

etc/inet/hosts
usr/local/apache2/conf/httpd.conf
var/spool/cron/crontabs/root

.
, ,
:
# hg root

. ,
.
(, ),
.
. /etc/hosts, :
# hglock /etc/inet/hosts

- , :
# hglock /etc/inet/hosts
File already locked by other_user at 19:00 2008.11.20.

hosts:
# cd /etc/inet
# sed e "s/oldalias/newalias/" hosts > /tmp/1
# mv /tmp/1 hosts

hg status:
# hg status
M etc/inet/hosts

. hglock
, ,
.
.
:
# cd /etc/inet
# hg log hosts
changeset:
tag:
user:
date:
summary:

1:3d8a608232b9
tip
John Doe <john@example.com>
Thu Nov 20 00:46:46 2008 +0300
first change

changeset:
user:
date:
summary:

0:9fe2667c2ab3
John Doe <john@example.com>
Thu Nov 20 00:44:37 2008 +0300
Init.

first change
(changeset) 1.
, .
# hg diff -r 0 -r 1

diff -r 9fe2667c2ab3 -r 3d8a608232b9 hosts


--- a/hosts
Thu Nov 20 00:44:37 2008 +0300
+++ b/hosts
Thu Nov 20 00:46:46 2008 +0300
@@ -2,4 +2,4 @@
# that require network functionality will fail.
127.0.0.1
localhost.localdomain
localhost
::1 localhost6.localdomain6
localhost6
-10.32.0.69 oldalias
+10.32.0.69 newalias

, 10.32.0.69
oldalias 10.32.0.69 newalias.
. , ,
.
. .
# rm hosts
# hg log hosts
changeset:
tag:
user:
date:
summary:

1:3d8a608232b9
tip
John Doe <john@example.com>
Thu Nov 20 00:46:46 2008 +0300
first change

changeset:
user:
date:
summary:

0:9fe2667c2ab3
John Doe <john@example.com>
Thu Nov 20 00:44:37 2008 +0300
Init.

# hg cat -r 1 hosts > hosts


# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1
localhost.localdomain
localhost
::1
localhost6.localdomain6
localhost6
10.32.0.69 newalias

, commit.
# hg commit m "first change" /etc/inet/hosts

1, 2009

. . , .

45

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Ubuntu Linux
.
nUbuntu [1],
.


, ,
2003.
LiveCD-,
KNOPPIX. , -
, , -

46

- . .
,
, - .
,
Whoppix ( WHAX), KNOPPIX-NSM, PHLAK, Auditor Security Linux, Hakin9 Live . - .


, , (Hakin9 Live) , , .
.
, Auditor Security
, , . - Linux WHAX - , - BackTrack[2]. - Samurai [3], -

Linux Format. . LC173025. : , email:


bobahsmtp.ru


.
Linux USB-
, , , .
securitydistro.com. ,
, , , .

.
, BackTrack ,
nUbuntu
(penetration test), , , - .
, -
, - ? SecurityFocus, , PacketStorm, Metaspl0it Framework2/3 ,
.
.
SLAX.
Samurai, Debian. Ubuntu 6.06, web pen-testing environment, Ubuntu .
-.
grml [5], - Debian, - Alpha- 8.10.


- nUbuntu KDE GNOME - Fluxbox,
.
- OpenOffice.org, , Ubuntu . - . , , 430.
, Protech ONE nUbuntu
(Network Ubuntu). Protech ONE
nUbuntu , ( 2007 ) .
, LiveCD
Ubuntu . ,
.
, nUbuntu
nUbuntu - , 2005 . - .
, nUbuntu
LiveCD- - Ubuntu (
LiveCD-), - . , -

1, 2009


BackTrack 3 : VirtualBox
VMware.
LiveCD
- , .
, .

.
, nUbuntu nubuntu.
,
,
sudo, Ubuntu.

(Nmap, )
.
Fluxbox, startx.
,
:
n VIM, Gvim
GNU/Nano;
n XChat, irssi,
gFTP;
n
RDesktop VNC Viewer;

47

Linux Format. . LC173025. : , email:


bobahsmtp.ru


n Thunar.
- Mozilla Firefox 3.0.3 , HTTP Cookies: Access Me, SQL
Inject Me, XSS Me, HackBar, Tamper
Data, User Agent Switcher . - Midnight
Commander - links/lynx.
nUbuntu . -
, ,
,
.
- FastTrack nUbuntu
8.10 ,
ubiquity
, - Honeypot- Nepenthes, . .
nUbuntu, , Ubuntu.
apt-get. Install USB - BackTrack.
Exploits Metasploit Framework 3.1, :
, Could not open /cdrom/.disk/info
. Please run this application on a Ubuntu live system|

BackTrack, , GUI Metasploit, or mount a Ubuntu live ISO to /cdrom


.

. , Exploit Tree. FastTrack, -
. , ( ReL1K
, - SecureState), Fluxbox . ,
nUbuntu.
- .
Security Tools, - ~/tools/exploits/fasttrack 13 . fast-track.py, .
~/Tools ( 150), , .
Ubuntu (Nmap, Amap, Wireshark), /usr/bin.
List
of Tools included in nUbuntu 8.10, WiKi - , nUbuntu ,
. , :
. n Nmap, Amap, Nessus, Nikto, w3af, wapiti;
n Ettercap, Wireshark, DSniff, SSHow, MailSnarf, , ,
.
URLSnarf;
n ARPSpoof, DNSSpoof;
n Bluetooth Wi-Fi Bluetooth Audit, Blue Snarfer, 1. nUbuntu http://www.nubuntu.org.
2. BackTrack http://www.remote-exploit.org/
ObexFTP, Kismet, Wicrawl, coWPAtty;
backtrack.html.
n (fuzzers) BED (Bruteforce Exploit Detector), CIRT 3. Samurai http://samurai.inguardians.com.
4. Secur[IT]y Distro http://securitydistro.com.
Fuzzer, ZZUF;
5. grml http://grml.org.
n Cisco Asleap, Cisco Explorer, Cisco Auditing Tools.

48

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Lustre FS.

II


,
Lustre.

(. 11 2008.)
Lustre.
Lustre (RAID, replication), - .
,
.
High-Availability Linux Project (Linux
HA) Distributed Replicated Block Device (DRBD).


, DRBD. Linux HA.

DRBD
-
DRBD. , Master, .

DRBD
CentOS,
.
DRBD ( 8.2.7
http://www.drbd.org, :
tar -xzvf drbd-8.2.7.tgz
make KDIR=/usr/src/linux
make tools
make install
make install-tools

KDIR
Linux.

1, 2009


Master/Slave.
,
.

DRBD

oss1-a oss1-b. /etc/
drbd.conf :
# ()
resource r0 {
#
protocol
C;
#
startup { wfc-timeout 0; degr-wfc-timeout
120; }
#
disk { on-io-error detach; }
#
# Slave Master
syncer { rate 10M; }
# oss1-a
on oss1-a1.domain.com {

# DRBD

device
/dev/drbd1;

# ,

# DRBD

disk
/dev/hda7;

# IP-

address
10.40.10.10:7791;

# , DRBD.

#

# , .

meta-disk internal;
}
}

DRBD
oss1-b:
on oss1-b.domain.com
{

device
/dev/drbd1;

disk
/dev/sda7;

address
10.40.10.11:7791;

meta-disk /internal;
}

oss1-b.domain.com /etc.

49

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Linux HA

oss1-a.domain.com

master-

10.40.10.12/25/eth0

IP-,

drbddisk::r0

Drbddisk ,
/usr/local/etc/ha.d/resource.d/
r0 ( DRBD)

Filesystem::/dev/drbd1::/mnt/ost1::lustre

. :
/dev/drbd1 drbd-
/mnt/ost1
lustre

DRBD
DRBD drbd :
/etc/init.d/drbd start


. :
drbdadm create-md r0

:
drbdadm attach r0

DRBD :
drbdadm connect r0

oss1-a:
drbdadm -- --overwrite-data-of-peer primary r0


, .
,
oss1-a:
drbdadm adjust r0

/proc/drbd, .
oss1-a oss1-b Primary/Secondary:
cat /proc/drbd
version: 8.2.7 (api:88/proto:86-88)
GIT-hash: xxxx build by root@oss1-a1
1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--ns:140 nr:0 dw:668 dr:1186 al:5 bm:15 lo:0 pe:0 ua:0 ap:0 oos:0

/dev/drbd1 Lustre:
mkfs.lustre --reformat --ost --fsname=webstorage

--mgsnode= mds.domain.com@tcp0 /dev/drbd1

50

Linux HA : Perl LibNet,


libgcrypt, gnutls, libgpg-error. , . , : CONFIG_CONNECTOR ( Device Drivers)
CONFIG_CRYPTO_HMAC ( Cryptographic options).

Linux HA
http://
linux-ha.org. Linux HA, , , :
tar -xvf STABLE-2.1.4.tar
cd Heartbeat-STABLE-2-1-STABLE-2.1.4
./ConfigureMe configure
make
make install


/usr/local/etc/ha.d.
hacluster haclient :
adduser hacluster
groupadd haclient

. master- , Linux HA /dev/drbd1 Slave-


Master. drbd,
Linux HA.
scripts Linux HA:
cp /usr/src/drbd-8.2.7/scripts/drbddisk

/usr/local/etc/ha.d/resource.d/

Linux HA
Linux HA :
n ha.cf ;
n haresources ;
n authkeys .


/usr/local/etc/ha.d/ha.cf.
:
# ,
#
udpport 694
# .
# broadcast etho
bcast eth0
# XML .
#
crm no
#
node oss1-a.domain.com
node oss1-b.domain.com
#
keepalive 1
deadtime 3
hopfudge 1
# failover
auto_failback on

Linux Format. . LC173025. : , email:


bobahsmtp.ru


# syslog -
use_logd on


/usr/local/etc/ha.d/haresources , slave-
master-.
:
n master-;
n -IP;
n ;
n , ( OSS,
Lustre).
:
oss1-a.domain.com 10.40.10.12/25/eth0 drbddisk::r0

Filesystem::/dev/drbd1::/mnt/ost1::lustre

authkeys
authkeys /usr/local/etc/had.d/ , Slave Master .
:
auth 1
1 sha1 your_password_here

:
n 1 , ;
n sha1 ;
n your_password_here .
:

n sha1 SHA1- ( );
n md5 MD5 ( );
n crc .
:
auth 1
1 md5 my_god_password_nobody_will_know

, root:
chmod 600 /etc/ha.d/authkeys


Linux HA
,
. Linux HA oss1-a oss1-b:
/etc/init.d/heartbeat start

, Linux HA /dev/
drbd1 /mnt/ost1:

1, 2009


mount | grep drbd
/dev/drbd1 on /mnt/ost1 type lustre (rw)

MDS -
:
Connection restored to service webstor-webstorage using nid xx.xx.xx.xx@tcp.

10.40.10.12 IP ( ).

Failover
oss1-a, oss1-b. , , IP
. DRBD Master,
Lustre :
mount | grep drbd
/dev/drbd1 on /mnt/ost1 type lustre (rw)

- MDS
:
Lustre: : Connection restored to service
webstorage-OST0001 using nid 10.40.10.12@tcp.

, MDS
OSS.
. Linux HA STONITH, .

, Serial Attached Network (SAN).
, .



,
DRBD Linux HA .
:
chkconfig drbd on
chkconfig heartbeat on

.
1. http://wiki.lustre.org.
2. http://gazette.linux.ru.net/rus/articles/clusters.html.
3. http://xgu.ru/wiki/DRBD.

51

Linux Format. . LC173025. : , email:


bobahsmtp.ru

:
, 1C, wine Etersoft


- Linux ,
1: 7.7 .
, .
,
Open Source 1. ,
Etersoft .
52

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Linux.
,
.
. Open Office , ,
Linux , . , .

Linux ,
, , , , , on-line- , . , - , , 1, , .
- Linux [1,2],
,
. 1 , . , : ,
, .
1: 7.7 ( 1).
8 , 7.7 , , . , : , 8-10 , . 1: 7.7 .

1: 7.7 Linux
1 Linux,
. , - . Linux Fedora8. -, Linux.
wine, yum 1.1.9.
# yum install wine

11 :
================================================================================
Package
.

Repository
Size
================================================================================
Installing:
wine
i386
1.1.9-2.fc8
updates-newkey
23 k
Installing for dependencies:
wine-capi
i386
1.1.9-2.fc8
updates-newkey
27 k

1, 2009

1. winetricks
wine-cms
wine-core
wine-desktop
wine-esd
wine-jack
wine-ldap
wine-nas
wine-tools
wine-twain

i386
i386
i386
i386
i386
i386
i386
i386
i386

1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8
1.1.9-2.fc8

updates-newkey
updates-newkey
updates-newkey
updates-newkey
updates-newkey
updates-newkey
updates-newkey
updates-newkey
updates-newkey

42
11
26
37
39
91
25
626
48

k
M
k
k
k
k
k
k
k

Transaction Summary
================================================================================
Install
11 Package(s)

1: - , .
:
$ pwd
/home/labirint/.wine/drive_c/Program Files/1Cv77/BIN

$ wine ./1cv7s.exe
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\Program Files\\1Cv77\\BIN\\Type32.dll") not found
err:module:import_dll Library Type32.dll (which is needed by
L"C:\\Program Files\\1Cv77\\BIN\\Frame.dll") not found
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\Program Files\\1Cv77\\BIN\\Frame.dll") not found
err:module:import_dll Library Frame.dll (which is needed by
L"C:\\Program Files\\1Cv77\\BIN\\1cv7s.exe") not found
...
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\Program Files\\1Cv77\\BIN\\1cv7s.exe") not found
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\Program Files\\1Cv77\\BIN\\1cv7s.exe" failed, status c0000135

,
MFC42. , winetricks [3].
:
$ wget http://kegel.com/wine/winetricks
$ sh ./winetricks

: , cabextract, , :
yum install cabextrac t

53

Linux Format. . LC173025. : , email:


bobahsmtp.ru

2. 1

3. Resource Browser

from rc file value "((GString*) 0x9c594a0)" of type `GString'


Setting Windows version to win98
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
set-winver.reg
Executing wine /home/labirint/.winetrickscache/DCOM98.EXE
fixme:setupapi:SETUPX_CreateStandardLDDs LDID_SRCPATH: what exactly
do we have to do here ?
fixme:setupapi:GenInstall16 unsupported flag: GENINSTALL_DO_REGSRCPATH
fixme:setupapi:vcpUICallbackProc16 (0x5a60, 0705, 0000, 00000000,
003452ac) semi-stub
...
fixme:setupapi:GenInstall16 unsupported flag: GENINSTALL_DO_CFGAUTO
fixme:rpc:DllRegisterServer (): stub
Using native,builtin override for following DLLs: ole32 oleaut32
rpcrt4
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
override-dll.reg
Using builtin override for following DLLs when running services.exe:
ole32 oleaut32 rpcrt4
...
Clearing Windows version back to default
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
unset-winver.reg
Install of dcom98 done
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params
32f9ac,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\
temp\\IXP001.TMP\\comcat.dll" -> L"C:\\windows\\system32\\comcat.dll"
Executing cabextract /home/labirint/.winetrickscache/vcredist.exe
Extracting cabinet: /home/labirint/.winetrickscache/vcredist.exe
extracting VCRedist.inf
extracting PreSetup.exe
extracting 50comupd.exe
extracting asycfilt.dll
extracting atla.dll
extracting comcat.dll
extracting mfc42.dll
extracting mfc42u.dll
extracting msvcirt.dll
extracting msvcp60.dll
extracting msvcrt.dll
extracting oleaut32.dll
extracting olepro32.dll
extracting stdole2.tlb
extracting atlu.dll
extracting ADVPACK.DLL
extracting W95INF32.DLL
extracting W95INF16.DLL
All done, no errors.
Install of vcrun6 done
winetricks done.

4. 1049\ZLIB_DATA\1189
Resource Browser

~/.wine/drive_c/Program Files/1Cv77/BIN
1.

, $ wine ./1cv7s.exe
, , (. . 1).
, dcom98 vcrun6 . , , , (. . 2).
DCOM98, .
, .
: DCOM98 , , - , ( : http://www.microsoft.com/com/ ) , dcom/dcom98/eula.asp, , , Windows98. - .
DCOM98,
[4,5]
Wine@Etersoft, .
no_splash_show,
- exe-. ,
:
, , .
$ sh ./winetricks
, ,
Resource Hacker [15] Far [6] cGtk-Message: (for origin information, set GTK_DEBUG): failed to
retrieve property `GtkTreeView::odd-row-color' of type `GdkColor'
Resource Browser [7].

54

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, resource_
browser %System Drive%\Program Files\Far\
Plugins frb100b5.zip[7].
Far, 1crcrus.dll
<F11>, Resource Browser
(..3) .
1049\ZLIB_DATA\1189
(.. 4). 1C,
ZIP.
: 1: 7.7. .
,
, . www.1c.ru .

.
, 1 .
, .
Wine@Etersoft.

. , .

1 ,

(. . 5),
wine .
SQL-
, .
.


SQL-
SQL-, 1.

SQL... (. . 6), ,
SQL-, ,
(..7).

. CIFS-
192.168.0.1.
/etc/fstab:
//192.168.0.1/base_1c /base_1c cifs
auto,rw,username=1c,password=xxx,uid=500,gid=500

0 0

500 UID , 1. id, /etc/passwd.


mount, , :
#mount | grep 1c

1, 2009

5.

6.
SQL...

7. SQL-, ,

...
//192.168.0.1/base_1c on /base_1c type cifs (rw,mand)

,
, CIFS- c , 1
etercifs
Etersoft [9].
:
$ wget http://updates.etersoft.ru/pub/Etersoft/

WINE@Etersoft/1.0.9/CIFS/Fedora/8/

etercifs-4.0.0-eter2fedora.noarch.rpm
# rpm -ihv etercifs-4.0.0-eter2fedora.noarch.rpm
...
######################################## [100%]
1:etercifs
############################## [100%]
Etersoft CIFS module...
[PASSED]


(, gcc, ):
# /etc/rc.d/init.d/etercifs build
Building for 2.6.26.6-49.fc8 Linux kernel
(headers in /lib/modules/2.6.26.6-49.fc8/build)

55

Linux Format. . LC173025. : , email:


bobahsmtp.ru


/usr/bin/gcc
make: Entering directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
...
make: Leaving directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
make: Entering directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
cifsfs.o
Building for 2.6.26.6-49.fc8 Linux kernel
(headers in /lib/modules/2.6.26.6-49.fc8/build)
/usr/bin/gcc
make: Entering directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
make: Leaving directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
make: Entering directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
cifsfs.o
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
cifssmb.o
...
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
cifs_spnego.o
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
dns_resolve.o
CC [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
cifs_dfs_ref.o
LD [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
etercifs.o
Building modules, stage 2.
MODPOST 1 modules
CC
/tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
etercifs.mod.o
LD [M] /tmp/Etercifs.VTDm4513/kernel-source-etercifs-2.6.26-1.53/
etercifs.ko
make: Leaving directory `/usr/src/kernels/2.6.26.6-49.fc8-i686'
Copying built module to /lib/modules/2.6.26.6-49.fc8/kernel/fs/cifs

: VTDm4513 .
, AMCk6167 - .
1, cifs, etercifs. . , , .

[Server1c]
host = 192.168.0.1
port = 1433
tds version = 8.0
client charset = WINDOWS-1251

unixODBC.
tds.driver.template:
[FreeTDS]
Description=FreeTDS for MSSQL
Driver=/usr/lib/libtdsodbc.so.0

tds.datasource.template:
[serv]
Driver
Description
Trace
Servername
Database

= FreeTDS
= 1C_base
= No
= Server1c
= base_1c


:
# odbcinst -i -d -f tds.driver.template

(!) ,
, (root) :

ERROR: Module cifs is in use

# umount /base_1c
# rmmod cifs
# /etc/rc.d/init.d/etercifs start
Loading CIFS kernel module...

$ odbcinst -i -s -f tds.datasource.template
[ DONE ]

# lsmod |grep cifs


227060 0

, ,
CIFS , /etc/fstab:
# mount -t cifs -a

, chkconfig :
# chkconfig etercifs on

56

SQL-,
freetds ( . [1,2]). /etc/
freetds.conf :

odbcinst: Driver installed. Usage count increased to 1.


Target directory is /etc

211381 1

# rmmod cifs

etercifs

$ ln -s /base_1c d:

# lsmod |grep cifs


cifs

~/.wine/dosdevices
, , , d: wine :

.
: - , , . isql, 1. [1,2].
~/.odbc.ini
SQL- 1. serv.
IP- ,
Etersoft , IP-. , IP
/etc/hosts, :
192.168.0.1

serv

Linux Format. . LC173025. : , email:


bobahsmtp.ru


:
$ ping -c3 serv

ping
IP- ICMP- IP-.
1 ~/.wine/drive_c/Program Files/1Cv77/BIN, :
$ wine ./1cv7s.exe

d: OK.
, :
Call from 0x603f2a90 to unimplemented function odbc32.dll.SQLDriverConnectA,
aborting
wine: Unimplemented function odbc32.dll.SQLDriverConnectA called at address
0x603f2a90 (thread 002d), starting debugger...
Unhandled exception: unimplemented function odbc32.dll.SQLDriverConnectA
called in 32-bit code (0x603f2b12).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:603f2b12 ESP:0032f3f0 EBP:0032f454 EFLAGS:00200202( - 00
- - I1)
EAX:603dc8e5 EBX:60470820 ECX:00000000 EDX:023fd920
ESI:023fd920 EDI:7caec710

, , odbc32. winetricks MDAC 2.8:


$ sh ./winetricks
Gtk-Message: (for origin information, set GTK_DEBUG): failed to
retrieve property `GtkTreeView::odd-row-color' of type `GdkColor'
from rc file value "((GString*) 0x98eb4a0)" of type `GString'
Using native,builtin override for following DLLs: odbc32 odbccp32
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
override-dll.reg
Setting Windows version to win98
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
set-winver.reg
Executing wine /home/labirint/.winetrickscache/mdac28/MDAC_TYP.EXE
err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional
destination
...

9. 1: Linux Fedora 8

1, 2009

8. MDAC 2.8
fixme:setupapi:SetupAddInstallSectionToDiskSpaceListA Stub
...
fixme:advpack:set_ldids Need to support changing paths - default
will be used
fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet
"C:\\windows\\temp\\IXP001.TMP\\msvcrt.CAB"
fixme:advpack:set_ldids Need to support changing paths - default
will be used
fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet
"C:\\windows\\temp\\IXP001.TMP\\mtxfiles.CAB"
...
"C:\\windows\\temp\\IXP001.TMP\\SQLOLDB.CAB"
fixme:advpack:set_ldids Need to support changing paths - default
will be used
fixme:setupapi:extract_cabinet_file awful hack: extracting cabinet
"C:\\windows\\temp\\IXP001.TMP\\JETFILES.CAB"
Clearing Windows version back to default
Executing wine regedit /home/labirint/.wine/drive_c/winetrickstmp/
unset-winver.reg
Install of mdac28 done
winetricks done.



(. . 8). ,
(Iaccept...) .
: MDAC_TYP.EXE
mdaceula.rtf , ,
. , , !
MDAC 2.8 1 ...... , 1 ! (. . 9.)
, . ,
MDAC 2.8 ,
. ODBC
(. . 10).
. BDE
SHAREDMEMLOCATION,
9000[14] (. .11).

57

Linux Format. . LC173025. : , email:


bobahsmtp.ru

10. MDAC 2.8


- - ODBC

11. BDE dministrator


SHAREDMEMLOCATION, 9000

12. ,

C:\Windows\System32\odbcad32.exe
-. , , (. . 12).

(. . 13).
, - , 1 . ,
.

Linux, (
)
Windows.
, Windows, 1
Linux . (. . 14).
1 Linux , . , cifs,
, etercifs.
.
1 wine 1.1.9
, , wine.
, ,
Linux (
Windows),
wine 1,
. (. . 15).
, [10], , .
, WINE@Etersoft. winediag ( , , ).

WINE@Etersoft SQL
, , WINE@Etersoft SQL . wine :
# yum remove wine wine-core
...
Removed: wine.i386 0:1.1.9-2.fc8 wine-core.i386 0:1.1.9-2.fc8
Dependency Removed: wine-capi.i386 0:1.1.9-2.fc8 wine-cms.i386
0:1.1.9-2.fc8 wine-desktop.i386 0:1.1.9-2.fc8 wine-esd.i386
0:1.1.9-2.fc8 wine-jack.i386 0:1.1.9-2.fc8 wine-ldap.i386
0:1.1.9-2.fc8 wine-nas.i386 0:1.1.9-2.fc8 wine-tools.i386
0:1.1.9-2.fc8 wine-twain.i386 0:1.1.9-2.fc8
Complete!

# rpm -ihv wine-1.0.9-eter37fedora.i586.rpm



wine-etersoft-sql-1.0.9-eter15fedora.i586.rpm

13.

58

libwine-1.0.9-eter37fedora.i586.rpm
...
######################################## [100%]
1:libwine
############################## [ 33%]

Linux Format. . LC173025. : , email:


bobahsmtp.ru


groupadd: wine
groupadd: wineadmin
2:wine
############################## [ 67%]
WINE: Registering binary handler for Windows program: [ DONE ]
3:wine-etersoft-sql
############# ################ [100%]
Running etersafed...
[ DONE ]

:
wine ~/.wine
.
, WINE@
Etersoft SQL , 1.0.9 -.
1 - . 1 .
-
Windows, freetds,
unixODBC, BDE . odbcad32.exe
SHAREDMEMLOCATION (..11) MDAC 2.8.
. 1
, .
, 1 - , , . . Windows- Linux,
.
, WINE@Etersoft SQL ,
. , - ,
wine, SQL- 1.
wine, ,
, ,
wine [11]. 1
- ,
, 1 .
, ,
Red Hat Fedora, ,
, .

Word

MSOffice , , . ,
-.
-, -
, , , , ,
xml-.
1 , - . ,
, , .dot- .doc- ,
Word (..16),
(. . 17).
.
Linux .

.
unioffice [12]. (, COM-), MSOffice
OpenOffice.
, ( 0.4)
, Exel. , - Word . ,
.
Etersoft, .
, (
) , ,
, 1 , , ,
<F11>, 1, ,
, .
err , , ,
:
()
= "0";
()<>""
("

MS Word...");
Word=("Word.Application");
Word.Documents.Add();
Word.Selection.GoTo(-1,,, "");
Word.Selection.Delete(2,1);
.....
Word.Selection.GoTo(-1,,, "2");
Word.Selection.Delete(2,1);


1 Linux, . ,
, 1:. 7.7
Windows MSOffice,
.
1 OpenOffice
.
14. 1:

1, 2009

15.

59

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Word.Selection.TypeText((
(1_,"15.2,")) +
" ");
//Word.Selection.TypeText
((1_) + " ");
Word.Visible=1;

(" Word !");


;

, , - , Word.


, . 1 . 1
. V7Mail (v7plus.dll),
. 1
, .
, : V7Mail c Mozilla Thunderbird ,
.
V7Mail
Outlook Outlook Express. ,
MAPI-
, Simple MAPI.
, Mozilla Thunderbird
MAPI .

16. Word

,
, :
V7Mail MAPI ROMmail,
SMTP .
1,
, , SMTP-,
Sent,
IMAP, , IMAP- Dovecot, Mozilla
Thunderbird, MAPI.
,
. MTA Sendmail,
, 1, SMTP-. , .

, 1 Linux, ,
.
1. . - Windows
Linux. // , 5, 2008 .
.4249.
2. . , : -, wine,
Etersoft. // , 9, 2008 .
. 44-49.
3. winetricks http://wiki.winehq.org/winetricks.
4. 1 http://www.itland.ru/forum/
index.php?showtopic=5223.
5. 1 http://forum.windowsfaq.ru/
archive/index.php/t-67859.html.
6. Far http://farmanager.com.
7. Resource Browser ( EXE- DLL-) http://plugring.farmanager.com/downld/
files/frb100b5.zip.
8. http://
forum.ubuntu.ru/index.php?topic=34421.15.
9. http://www.etersoft.ru.
10.
WINE@Etersoft http://www.etersoft.ru/content/view/102/83.
11.
eterwine http://freesource.info/wiki/WINE, http://winehq.org.ru.
12. UniOffice@Etersoft, COM- MS Office
http://wiki.etersoft.ru/UniOffice.
13. 1C http://love1c.kiev.ua/prog/
mail.htm.
14. - ht t p: // b u g s.ete r sof t .r u /
show_bug.cgi?id=1946.
15. Resource Hacker, , , , 32- http://www.angusj.com/resourcehacker.

17. Word

60

Linux Format. . LC173025. : , email:


bobahsmtp.ru



,
.
.

,
17 . . ,
,
, ,
, . .

....

( mosnalog.ru) ,

1, 2009

, - . , - , - .
DVD- .
- ,
, - . ?

, -
- VPN-,
- . , , , ,
https - ,
2814789, -
, - , - , , -
-- . -

61

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Linux

, -
. , ( ) -.
Java- -[14].
, -

,
Linux : , - (), --, , , Faktura.ru, 24 ( Inter-Pro v4), ( ), (
Inter-Pro v4) [15]. , -, 2008 -IP/
Linux, .

, , Linux
, ,
,
,
.
, ,

- 3.0. ,

Linux[6]. ,
, - (
) Linux.
,
Linux , .
, ,
GUI Linux
. .

Linux, [7, 8], Linux [11], ,
. 10 2009
[8, 9],
.
, , ,
?

, . , - . , , , , 7 .
7000 ,
.
3500,
- . - , !
,
.
,
, - . , - , ,
, .
:
n - [1];
Linux,
n [2];
n - [3];
,
. , n [4].
, , : , , , ...
, Linux?

- , ,
9000 . . ,
, 14 ,
( -
), - Linux, . - :
( ) , - - mosnalog.ru
. ,
. - Windows- , - . , - .
20000- ( - - : mosnalog.ru www.mosnalog.ru.
, 10), - , , 20 1000 - .
, DNS- 500 - . - . , , , -

62

Linux Format. . LC173025. : , email:


bobahsmtp.ru




Linux?

Linux,
. - .

. , ,
www.r77.nalog.ru. ,
,
-
.
,
Linux ,
(. ).
Linux, ,
, , ,

FreeBSD. , , ,
. ,

[12] , -


Touch Memory (iButton),
Linux 1-Wire. USB, PC/SC. . , .


. 4.00[13].

, , , .
, , ,
Linux, Windows.

- .

. ,

.
,
http://samag.ru/forum .

1. - http://
kontur-agent.ru, http://real-soft.ru/cgi-bin/
h.pl?kontur.
2.
http://ereport.sbis.ru/
podkl/podkluchenie.
3. - http://
telecom.garant-corp.ru.
4. http://www.taxcom.ru.
5.
http://www.robotech.ru/articles/detail.
php?id=48.
6. http://www.cryptopro.ru/cryptopro/forum2/
default.aspx?g=posts&t=87.
7. http://freecode.pspo.
perm.ru/glossary/index.html, http://linux.
armd.ru/ru/news/project_news/index.
php?id110=101459.
8. 2008
Linux
... http://www.cnews.ru/news/
line/index.shtml?2008/11/06/326563.
9.

http://
linux.armd.ru/ru/news/gosspo/index.
php?id110=101480.
10. http://
www.rario.ru.
11. A LT L i n u x D e s k to p
Professional
http://cnews.ru/news/top/index.
shtml?2008/08/01/310364.
12.
http://www.r77.
nalog.ru/index.php?topic=sb77.
13.
. 4.00
ht tp: // w w w.nalo g.ru /do c ument.
php?id=25597&topic=nal_otch_400.
14. http://www.bifit.com/ru/technologies/
cryptography/index.html.
15. - , Linux http://www.etersoft.ru/
news/82.

1, 2009

63

Linux Format. . LC173025. : , email:


bobahsmtp.ru


1: 8


1 ,
1: 8.
,
.

- , 1 1: 8 .
.
,
, .

n
( );

n .

. -

. :
n ;
n ;
n ;

64

1.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

1
(..1). , ,
.

, ,
.
.
. 1 ,

. . , .



, ,
dbf-, csv- xls-.

:


MSExcel. 1: 8.
, ,
. ... MS Excel

(. . 2).
.


( ).
, . -

1, 2009

.
. 3 . ,
2.
,
,
.

: - (. . 3)
, , . . - - . ,
-
. , . 3, - , - .
.
, .
1
- 1: 8 : - .
, - - . - , .3:
- .
-
, , IT- :.
. - .
(, ..), -
- XML
( ). - , , - 1: . - 8.

3. ,

65

Linux Format. . LC173025. : , email:


bobahsmtp.ru

4.

. , , , .

,
, ,
. XML
, 2.



1: 8. , - .
, :
, , .
,
, . .
.
1, , ,
, , .
, , , .
, , . -

66

,
. - - - .
1C.


,
,
1: 8 - .

-
. - :

, ,
, ..
.
,
- , -
.
1:
.


- , .
1: 8 .
:
. -
- 1: 8.1.
- - .
, .


, - - . - ,
.

,
:
.
n Microsoft SQL Server;
n Oracle;

n IBM DB2;

( n PostgreSQL;
n MySQL.
),



1: 8 - :
- n , . ,
1.6;

n ,
, 10.3;
. - n
. 9 2007 .
, 1.2.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

1

. , ,
.

5.


1: 8
, (, , , ).

(..4).
.
.

6.
,

7.
,


. ,
, .

, , : , , ,
,
.

8.

(. . 6) , , . 7.
. 8 .


. 1: 8
- . , - ( ) .
- .
:
. ,
1: 8 - n ,
.
,
n (..5).
.

, . 6.
-
- , 1
.
, , - .
,
.
, - 1
- 1: 8.
.

1, 2009

67

Linux Format. . LC173025. : , email:


bobahsmtp.ru


Metasploit Framework


, ...
,
Metasploit Framework.
68

Linux Format. . LC173025. : , email:


bobahsmtp.ru


...
. , , . .

, ,
. , . , , ,
, .
. ,
- .
, .
. , , .
,
,
,
. .
, ,
, ,
.
, , , .

1. Framework


?
,
,
, . ,
. , .

1, 2009

2. Metasploit Framework

,
, , , , .

,
Linux,
OpenOf fice Mozilla
Firefox (

69

Linux Format. . LC173025. : , email:


bobahsmtp.ru


n IE -,
, ;
n IE, , ;
n , IE, - ,

.

3. Metasploit Framework,

4. GUI Metasploit Framework


: Windows, MSOffice IE).
, -
.
,
( ), ,
.
,
,

Open Source
, , , .

70

, , ,
,
- .
,
.
, !

?
,

,
IE.
, [1,.88]:

.
,
- ,

?
.


, , , - , .

,
. ,
. . .
Nessus, Shadow Security
Scanner, nmap, XSpider - ,
.
, ,
-
( )
, ? , ,
( ) -

Linux Format. . LC173025. : , email:


bobahsmtp.ru


, , .
IE
Metasploit Framework.

, . - , -
.
:
XXX, ,
format :.
, ,
,
.

The Metasploit Project


[2],
Metasploit LLC, ,
( ),

, .


,
.

, .
Framework
(. . 1), ,

.
Download
framework-3.2.tar.gz.


(
Windows). ,
.
Linux GUI-.

Fedora10.
, . ,
,
,
.
(Fedora8,9), .

Ruby :
n ruby-1.8.6.287-2.fc10.i386.rpm;
n ruby-libs-1.8.6.287-2.fc10.i386.rpm;
n ruby-gtk2-0.18.0-2.fc10.i386.rpm;
n ruby-libglade2-0.18.0-2.fc10.i386.
rpm;
n ruby-atk-0.18.0-2.fc10.i386.rpm;
n ruby-cairo-1.8.0-1.fc10.i386.rpm;
n ruby-gdkpixbuf2-0.18.0-2.fc10.i386.
5. :
rpm;
) ; )
n ruby-glib2-0.18.0-2.fc10.i386.rpm;

n ruby-gnome2- 0.18.0 -2.fc10.i386.
:
rpm;
n ruby-gnomecanvas2-0.18.0-2.fc10.
rpm -ihv *.rpm
i386.rpm;
n ruby-libart2-0.18.0-2.fc10.i386.rpm;
:
n ruby-pango-0.18.0-2.fc10.i386.rpm.

MetasploitFramework
CLI (
),
.
GUI
( ), -

1, 2009

6. MS06-067

71

Linux Format. . LC173025. : , email:


bobahsmtp.ru


yum install ...

,
.

framework3.2.tar.gz - ,
msfgui.

7. windows/exec

8.

9.

72

(root) , (, 80-, TCP).


(. . 2),
(. . 3)
(..4). .
, ( Metasploit Framework
), , , ,
. .
,
Windows2003 IE 6.0 (c. .5). , , , -
,
, ,
. , , !
:
. ,
. , popup .
( , .), - .
, , , , (
, .),
.
, ,
.
-
,
. , , ,
, .

Microsoft Security Bulletin MS06-067 [3] (..6).
forward
windows/exec, (. .7), forward
.
8081 c:\windows\system32\calc.exe
(. .8).
: 80- ,
httpd-, , , :
# service httpd stop

Linux Format. . LC173025. : , email:


bobahsmtp.ru


:
# /etc/rc.d/init.d/httpd stop


dport 8081 -j ACCEPT
# iptables -I OUTPUT-o eth0 -p tcp dport 1024:65535

sport 8081 -j ACCEPT

:
, . 8081, .
(. . 9) (jobs) (. . 10).
Output
.
, :
# iptables -I INPUT -i eth0 -p tcp sport 1024:65535

10.

12:28:08 - Initialized the Metasploit Framework GUI.


12:45:38 - ms06_067_keyframe [*] Launching exploit windows/browser/ms06_067_keyframe...
12:45:39 - ms06_067_keyframe [*] Using URL: http://0.0.0.0:8081/
12:45:39 - ms06_067_keyframe [*] Local IP: http://127.0.0.1:8081/
12:45:39 - ms06_067_keyframe [*] Server started.
12:46:04 - ms06_067_keyframe [*] Sending Internet Explorer Daxctle.OCX KeyFrame Method
Heap Buffer Overflow Vulnerability to 192.168.0.3:1603...
12:46:28 - [*] Stopping exploit: windows/browser/ms06_067_keyframe
12:46:28 - ms06_067_keyframe [*] Server stopped.

(. . 11).

, , , , . , () , ,
, ,
, ,
\.
,
, . , - , . ,
, , .

.

?

, .
, / , , !

11. ,

1, 2009

1. . . UNIX. .: ,
2002, ISBN 5-8206-0030-4.
2 The Metasploit Project,
,
http://metasploit.com.
3. Microsoft Security Bulletin
MS06-067 http://www.microsoft.com/
technet /security/Bulletin/MS06 - 067.
mspx.

73

Linux Format. . LC173025. : , email:


bobahsmtp.ru

JQuery: JavaScript


WEB 2.0 .
-?

WEB 2.0? ,
. ,
-, JQuery.

-
WEB2.0, WEB2.0. , -- . , -
, , - , . - - - , , , - HTML CSS
- , - . : , , -
, . .
, -- JavaScript. - - JS-,
- ,
. - . - , , AJAX. , - , - , ,

74

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
-. ( ). , - (Michal Wojciechowski)[4].
. - [5], , -
JQuery.
<head>, .
, , JQuery :
, (<html>
, Prototype, Mootools ExtJS) <head>
, JQuery
<meta http-equiv="Content-Type" content="text/html;

charset=windows-1251" />
:
<title>Jquery</title>
n (15 );
<script src="js/jquery-1.2.6.js"></script>
<script src="js/jquery.imgareaselect-0.6.1.js"></script>
n .
,
, -. Microsoft
Visual Studio.

. , (namespacing).
JavaScript
window. ,
. JQuery
,
jQuery. , .


JQuery BarCamp -
(John Resig) 2006 .
-. JavaScript
DOM HTML-. :
n DOM, XPath
;
n ;
n ;
n AJAX-.
CSS-, XPath, , .
,
[1], -. -
<head>:

<script language="JavaScript" type="text/javascript">


var $x1, $y1, $x2, $y2, $w, $h;
function selectChange(img, selection)
{
$x1.text(selection.x1);
$y1.text(selection.y1);
$x2.text(selection.x2);
$y2.text(selection.y2);
$w.text(selection.width);
$h.text(selection.height);
}
$(document).ready(function(){
$x1 = $('#x1');
$y1 = $('#y1');
$x2 = $('#x2');
$y2 = $('#y2');
$w = $('#w');
$h = $('#h');
});

$(window).load(function(){
$('img#flower').imgAreaSelect({ selectionOpacity: 0,

onSelectChange: selectChange });
});
</script>
</head>
<body>
<div style="float: left;">
<img id="flower" src="flower.jpg" />
</div>
<div style="float: left; margin-left: 10px;">
<p style="background: #eee; border: solid 1px #ddd;

margin: 0; padding: 10px;">
<b> :</b><br />
<b>X<sub>1</sub>:</b> <span id="x1"></span><br />
<b>Y<sub>1</sub>:</b> <span id="y1"></span><br />
<b>X<sub>2</sub>:</b> <span id="x2"></span><br />
<b>Y<sub>2</sub>:</b> <span id="y2"></span><br />
<br />
<b> :</b><br />
<b>Width:</b> <span id="w"></span><br />
<b>Height:</b> <span id="h"></span>
</p>
</div>
</div>
</body>
</html>

<head>
<script type="text/javascript"

src=" /jquery.js"></script>
</head>

.
imgAreaSelect, MIT GPL

1, 2009

1. imgAreaSelect

75

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
,
. .1.
, .
, JQuery
.
, .

$
, JQuery jQuery. $, .
//:
jQuery('div.panel');
// :
$('div.panel');

. , , , . , , , Prototype,
$? , JQuery :
jQuery.noConflict();

$
Prototype. :
(function($) {
// $ jQuery
})(jQuery);

$,
.


JavaScript window.onload. , . ,
, , ,
.
JQuery , ready().
$(document).ready(function() {
//
});

76

, , , window.onload.


JQuery , CSS XPath. DOM CSS, XPath.
XPath (XML Path Language) XML-. HTML, , ,
XHTML, XML, , ,
XPath HTML-. , jQuery,
XPath
CSS
. , .
class="block":
$('.block');

p id="plain":
$('p#plain');

div
id="content":
$('div#content a:visible');

class="orders":
$('table.orders tr:odd');

name="email":
$('input[@name=email]');

( , http://);
$('a[@href^="http://"]');

p, :
$('p[a]');

span, p, div
id="container":
$('div#container p/span');

, .

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-

, jQuery, .
, DOM, , lenght, .
, JQuery,
, .
, [3],
.
div id="block"
300 :
$('div#block').width(300);

p class="title":

, , $, ,
:
$('p')[0].className = "myclass";

,
- , each():
$('p').each(
function(){
//
}
);

each() , ,
this,
.

(
)

$('p.title').css('color', '#ff0000');

2 CSS- :
$('li:odd').css({color: 'white', backgroundColor: 'black'});

external
( , http://), target="_blank":
$('a[@href^="http://"]').addClass('external').

attr('target', '_blank');\

span
alert() ( HTML-):
$('span').each(function(el){alert($(this).text())});


!:
$('a').html(' !');

, JQuery , , .
div :

JQuery . . .
:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;

charset=windows-1251" />
<title>Jquery</title>
<style type="text/css">
#run{

border: solid 1px #000000;

background-color: #8080ff;

width: 100px;

height: 100px;

position: absolute;

top: 40px;

left: 20px;
}
</style>
<script src="js/jquery-1.2.6.js"></script>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){
$('a').click(function(){


$('div#run').
slideUp('slow').
slideDown('slow').
animate({opacity: 'hide', left: '+=400'},



500).
animate({opacity: 'show', left: '-=400'},



1000);

});

var width = $('div').width();

src
img :
var src = $('img').attr('src');

h1 :
var color = $('h1').css('color');

1, 2009

2.

77

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
}
);
</script>
</head>
<body>
<a href="#">Run!</a>
<div id="run"></div>
</body>
</html>

,
(. .2).
, div id="run"
, , :
n slideUp ;
n slideDown ;
n animate .
, . , .3.


JQuery, animate(). . , :
animate(params, speed, easing, callback);

n params ,
{: };

n speed ,
;

n easing , (easein , easeout );


n callback , ,
.
animate , , JQuery. ,
, . , :
for(var i = 0; i < 10; i++){
$('mydiv').animate({opacity: 'hide'}, 300);
$('mydiv').animate({opacity: 'show'}, 300);
}

. , -

, ,
, .
:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;

charset=windows-1251" />
<title>jQuery</title>
<style type="text/css">
.block{

height: 100px;

width: 100px;

border: solid 1px #000000;

background-color: #8080ff;

margin: 5px;
}
#button{

border: solid 1px #808080;

background-color: #dfdfdf;

height: 30px;

width: 100px;

margin: 5px;

text-align: center;

cursor: pointer;

font-family: Arial;
}
</style>
<script src="js/jquery-1.2.6.js"

type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#button').click(function(){


$('#block1').
animate({opacity: 'hide'}, 500).
animate({opacity: 'show'}, 1000);


$('#block2').
animate({opacity: 'hide'}, 500).
animate({opacity: 'show'}, 1000);

});
});
</script>
</head>
<body>
<div id="button">Go</div>
<div class="block" id="block1"></div>
<div class="block" id="block2"></div> </body>
</html>

'#block1'
'#block2' animate(), .
, Flash. , , (, ), , : , drag-drop
.
jQuery . , .

3.

78

. ,
JQuery.
API .

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
, , . . ,
.
, , myplugin. JavaScript
jquery.myplugin.js. , $, fn.
:
jQuery.fn.myplugin = function()
{
alert(" !");
return this;
};

:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;

charset=windows-1251" />
<title>jQuery</title>
<script src="js/jquery-1.2.6.js"

type="text/javascript"></script>
<script src="js/jquery.myplugin.js"

type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(
function()
{

$("#mydiv").myplugin();
}
);
</script>
</head>
<body>
<div id="mydiv"></div>
</body>
</html>

! ,
return this. , . . ,
, ,
:
$("#mydiv"). myplugin(
{
key: "action",
value: "test"
}
);

extend:
$.extend(target, property1, ..., propertyN)

:
n target ;
n property1 propertyN , .
,
,
.
:

1, 2009

jQuery.fn.myplugin = function(options)
{
//
var settings = {default: " !", value: ""};
//
settings = jQuery.extend(settings, options);
//
if(settings.value == "")
alert(" : " +


settings.default);
else

alert(" : " + settings.value);
return this;
};

, :
$("#mydiv").myplugin({value: " "});

,
.

AJAX
WEB 2.0
- , . , AJAX , JQuery
. , API
AJAX.
AJAX - ,
PHP. AJAX JQuery post() get():
$.post(url[, params[, callback]])
$.get(url[, params[, callback]])

n url , ;

n params ,
{: };

n callback , .
,
: POST GET . , POST- test.php
action id onGetAjax :
$.post(
'/test.php',
{
action: 'news',
id: 5
},
onGetAjaxs
);
function onGetAjax(data)
{
// ,
alert(data);
}

79

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
, , , , GETPOST-.
, , AJAX. AJAX HTTP HTTP_X_
REQUESTED_WITH XmlHTTPRequest.
PHP :
<?php
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')
{
//
}
?>

AJAX, , load():
load(url);

n url .
-
. .
, test.php:
<?php
echo ' ';
?>

n params {: };
n callback .
, .
test.php:
<?php
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest')
{
echo '{param: '.$_REQUEST['param'].', response:

" "}';
}
?>

:
$(document).ready(function(){

$.getJSON('test.php', {param: 10}, onGetAjax);

function onGetAjax(data)

{
alert(data.param + ' ' + data.response);

}
});

eval() onGetAjax().
,
JQuery, getScript().
JavaScript
. , jstest.js:
$('a').css('color', '#ff0000');

:
$.getScript('jstest.js');

:
$('div#mydiv').load('test.php');

div id="mydiv"
, , test.php, , .
AJAX
JSON. {1: 1, 2: 2}, JavaScript
. JSON:
{
"firstName": "",
"lastName": "",
"address": "streetAddress": " ., 101, .101",
"phoneNumbers": "812 123-1234"
}

JQuery getJSON():
getJSON(url, params, callback)

n url ;

80

,
,
JQuery. [3], - [6],
. JQuery , , , , , , API
,
AJAX, .
1. http://jquery.com JQuery.
2. http://docs.jquery.com/License .
3. http://docs.jquery.com .
4. http://odyniec.net .
5. http://odyniec.net/projects/imgareaselect/imgareaselect-0.6.1.zip
imgAreaSelect
6. http://www.visualjquery.com -
JQuery.

Linux Format. . LC173025. : , email:


bobahsmtp.ru

bugtraq

Sun Java JDK JRE
: Java Web Start 1.x; Java Web Start 5.x; Java Web
Start 6.x; Sun Java JDK 1.5.x; Sun Java JDK 1.6.x; Sun Java JRE
1.3.x; Sun Java JRE 1.4.x; Sun Java JRE 1.5.x/5.x; Sun Java JRE
1.6.x/6.x; Sun Java SDK 1.3.x; Sun Java SDK 1.4.x.
: .
: 1. - , Java
Runtime Environment (JRE)
. JAR-
.
2. -
Java AWT . , ConvolveOp, .
3. -
GIF- Java Web Start.
GIF- .
4. TrueType-.
.
5. - JRE,

.
6. -
Java Web Start-. ,
,
.
7. - , Java Web Start- Java Web Start- .
8. - Java Web Start,
JNLP- (, java.home, java.ext.dirs user.home).
9. - Java Web Start
Java-, HTTP- .
10. - JRE-. .
11. - Java Web Start
BasicService, .
12. - ,
JavaUpdate -

1, 2009

. DNS-
.
13. - Main-Class- JAR-.

JAR- .
14. - . Java-
, .
15. JRE.

Pack200- JAR-
.
16. - ,
UTF8
shortest.
URI .
17. - JRE,
.
18. - RSA-.
RSA- .
19. - JRE Kerberos. .
20. -
JAX-WS- JAXB JRE-. Java- , .
21. -
ZIP-. ZIP- .
22. - , ,
, .
23. -
TrueType-. TrueType- .
URL : java.sun.com.
: .

81

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-

WinBinder PHP.
GUI- 2


GUI-
. PHP , , , PHPGTK.
, PHP-GTK ,
WinBinder.
82

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-
?
WinBinder PHP.
, , . PHP , -, . , , . ,
PHP-GTK, PHP-Qt WinBinder,
.

WinBinder
, 1.
WinBinder. PHP
WinBinder
. PHP Windows-- .
. WinBinder - , , Windows,
Microsoft Windows, - ,
( - , bamcompile), ,
PHP-, - ( ,
, - wbSelect, wbCheck ..).
, , .
WinBinder DLL-, - , PHP,
PHP- - Windows API Zend Engine, . .1 PHP. , wb_, , wb_set_value(),
.
.
WinBinder WinBinder
. Windows-, ,
, - Windows API-. callback-, , ,
PHP-. wb_set_image().
, - :
.
bool wb_set_image (int wbobject, mixed source,
WinBinder
int transparentcolor, int index, int param)
, .
.
, API. Windows API - ,
PHP. - DLL- , - ( Windows API , index). API. ,
, , .
Windows- .
, Windows , , Windows API, progress-bar, scroll-bar .. - , PHP-.

, . - WinBinder ,
(. ).

WinBinder Scroll bars
SendMessage(hCtrl, SBM_SETPOS, (WPARAM)dwValue, TRUE);
,
Track
bars
SendMessage(hCtrl, TBM_SETPOS, TRUE, (LPARAM)(LONG)dwValue);
,
Progress bars
SendMessage(hCtrl, PBM_SETPOS, (WPARAM)dwValue, 0);
. API- Up/down controls
SendMessage(hCtrl, UDM_SETPOS, 0, (LPARAM)MAKELONG((short)dwValue, 0));
wbSetValue(),

1, 2009

83

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-

2.

, PHP - . WinBinder
, , .
Windows API-, ,
Windows, .
. , , - . .

,
!
, , WinBinder, .
http://
winbinder.org. , ,
. PHP-GTK, PHP. ? ? . ,WinBinder , PHP-GTK,
. WinBinder ,
PHP-.
WinBinder , eXvision.
miniPHP Studio. , PHP-, .
bamcompile
(http://www.bambalam.se/bamcompile).
PHP exe-.
UPX (Ultimate Packer for eXecutables
, ).
, PHP. , , - . .
miniPHP Studio
, ,
DLL- PHP.

84

http://exvision.net. . 2 ,
. . Project New, , Samag. MAIN. . , , . , , .
. (, , ),
.
. ? , ! , WinBinder. Show message (. . 2).
PHP-GTK, ,
, . WinBinder
, .
(WinBinder Form Editor). , . .
-.
File: Export PHP Code. , , mainform.php. .
,
mainform.php
( MAIN). :
<?php
/********************************************************
WINBINDER - form editor PHP file (generated automatically)
********************************************************/
// Control identifiers
if(!defined('IDC_PUSHBUTTON1002'))

define('IDC_PUSHBUTTON1002', 1002);
// Create window
$winmain = wb_create_window(null, AppWindow,

'www.samag.ru', WBC_CENTER, WBC_CENTER, 317, 179,

0x00000000, 0);
// Insert controls
wb_create_control($winmain, PushButton, 'Show message',

105, 65, 90, 25, IDC_PUSHBUTTON1002, 0x00000000,

0, 0);
// End controls
?>

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-
, , .
,
wb_init() .
-
Windows. :
// Main Window's processor
function main_events_handler($Sender, $id)
{

switch($id)

{

case IDC_PUSHBUTTON1002:

wb_message_box($Sender,

"Hello world!",

"My first test programm");

break;

case IDCLOSE:

wb_destroy_window($Sender);

break;

}
}

:
wb_set_handler($winmain, "main_events_handler");

wb_main_loop(), . .
Preview project. , ,
. miniPHP Studio
, , . .
, . , . ,
. , , .
, .

(. . 3):
<?php
wb_init();
/********************************************************
WINBINDER - form editor PHP file (generated automatically)
********************************************************/
// Control identifiers
if(!defined('IDC_PUSHBUTTON1002'))

define('IDC_PUSHBUTTON1002', 1002);

{

switch($id)

{

case IDC_PUSHBUTTON1002:

wb_message_box($Sender,

"Hello world!",

"My first test programm");

break;

case IDCLOSE:

wb_destroy_window($Sender);

break;

}
}
?>

. , wb_init(). IDC_PUSHBUTTON1002, 1002. . WinBinder


,
, .
www.samag.ru.
wb_set_handler($winmain,
"main_events_handler").
. - .
switch. IDC_PUSHBUTTON1002 IDCLOSE.
. ,
. , ,
wb_main_loop(). .
Windows.

,
.


WinBinder. ,
. , .
-,
. -

// Create window
$winmain = wb_create_window(null, AppWindow,

'www.samag.ru', WBC_CENTER, WBC_CENTER, 317, 179,

0x00000000, 0);
wb_set_handler($winmain, "main_events_handler");
// Insert controls
wb_create_control($winmain, PushButton, 'Show message',

105, 65, 90, 25, IDC_PUSHBUTTON1002, 0x00000000,

0, 0);
// End controls
wb_main_loop();
// Main Window's processor
function main_events_handler($Sender, $id)

1, 2009

3.

85

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-

4.

-,
.
:
<?php
class Debug
{

public static $dumpFile = 'dump.log';






public static function var_dump()


{
$args = func_get_args();
ob_start();
call_user_func_array('var_dump', $args);
error_log(ob_get_clean(), 3, self::$dumpFile);
}


public static function var_export()

{

$args = func_get_args();

error_log(var_export($args,true), 3,

self::$dumpFile);

}
}
?>

Import a PHP
Script. debug.php .

WinBinder
, WinBinder . , ,
. PHP- . res://.
:
"res:///RESOURCETYPE/RESOURCENAME"

. , debug.php, DEBUG, :
include "res:///PHP/DEBUG";

, , var_dump()
var_export(), .
, .
debug.php - , . - .

86

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-
.
.


, HTML . (. . 4).
. WinBinder. :
<?php
class WBMain
{

public static $signalsBind = array();

public static $components = array();



public static function main()


{
wb_init();
include "res:///PHP/MAINFORMFORM";

self::$signalsBind =
array
(
IDCLOSE => 'close'
, IDC_PUSHBUTTON1004 => 'pushButton1'
, IDC_PUSHBUTTON1005 => 'pushButton2'
);

wb_set_handler($winmain,
'WBMain::callSignalHandler');
wb_main_loop();


public


{

if




}

static function
callSignalHandler($Window, $signal)
(isset(self::$signalsBind[$signal]) &&
is_callable($foo = 'WBMain::signal_' .
self::$signalsBind[$signal]))
call_user_func($foo, $Window);

public static function signal_pushButton1($Window)


{
wb_message_box($Window, __METHOD__, '');
}

public static function signal_pushButton2($Window)


{
wb_message_box($Window, __METHOD__, '');
}

public static function signal_close($Window)


{
wb_destroy_window($Window);
}

}
WBMain::main();
?>

,
. callSignalHandler(), ,
, , , switch
. , , , signal_pushButton1 signal_pushButton2 . , -

1, 2009

. , .
, .
. .
preg_match:

public static function signal_pushButton1($Window)

{

preg_match

(

wb_get_text(self::$components

[IDC_RTFEDITBOX1002]),

wb_get_text(self::$components

[IDC_RTFEDITBOX1001]),

$arrayResults

);

self::setResult($arrayResults);

preg_match_all:

public static function signal_pushButton2($Window)

{

preg_match_all

(

wb_get_text(self::$components

[IDC_RTFEDITBOX1002]),

wb_get_text(self::$components

[IDC_RTFEDITBOX1001]),

$arrayResults

);

self::setResult($arrayResults);

setResult().
,
. , .
:

public static function setResult(array $arrayResults)

{

$result =

'<html><head><title>PCRETester</title>

</head><body>'

. highlight_string

(

"<?php\n\n"

. var_export($arrayResults,true)

,true

)

. '</body></html>'

;

static $file;
if (!$file) $file = getcwd() . '/render.tmp';

$fp = fopen($file,'w+');
fwrite($fp, $result);
fclose($fp);

wb_set_location(self::$components
[IDC_HTMLCONTROL1003], $file);


HTML . ,
HTMLControl, . 5 (..5). - -

87

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-

5.

- . WinBinder
,
.
, .

WinBinder
WinBinder ,
. ,

. SQLIte. , GD. ,
. ICQ-, , PHP, .
. FTP-. . , , .
WinBinder #/C++ Java,
- . , WinBinder.
WinAPI, -

88

/
wb_peek() wb_poke(). ,
.
, . , :
<?php
$string = "Test string";
$addr = wb_get_address($string);
$peek = wb_peek($addr);
Debug::var_dump( $peek );
wb_poke($addr, "Replace");
$peek = wb_peek($addr);
Debug::var_dump($peek, $string);
?>

- :
string(11) "Test string"
string(11) "Replacering"
string(11) "Replacering"

wb_get_adress(), wb_peek() , wb_poke().

Linux Format. . LC173025. : , email:


bobahsmtp.ru

web-
WinBinder , WinASM Studio (
Windows
DOS, ) (. . 6).
WinBinder . , . , parse_rc(), PHP- . :
<?php
$fp = fopen('myform.rc', 'rb');
$resource = fread($fp, file_size('myform.rc'));
fclose($fp);
$native_php_resource = parse_rc($resource, '$mainwin',

null, 'PopupWindow');
eval($native_php_resource);
?>

6. , WinASM Studio,
Winbinder

, WinASM Studio. - .
http://winbinder.org/manual/ , , PHP- , , , ,
functions/auxiliary/parse_rc.html.
WinBinder - , ,
. PHP-GTK,
db_. : http:// . GTK ,
winbinder.org/manual/reference/functions_database.html.
, . PHPGTK.
Windows ? . -
. , , - Windows.
:
<?php

WinBinder . Windows. -$wallpaper = wb_get_registry_key('HKCU',



'Control Panel\\Desktop', 'Wallpaper');
*.wav-. , , ?>
. ,
. , WinBinder
Windows API, ,

Winbinder (wb_play_sound()), (wb_find_file()). Windows. ,
COM- Windows, - ( , ,
. , - PHP-GTK).
Skype-, SkypeAPI. ,
.
, :
PHP, <?php
PHP .
WinBinder
$Skype = new COM('SKYPEAPI.Access')
if ( !$Skype )
, , {
Windows
wb_message_box($Window, "ERROR! Can not create

SKYPEAPILib.Access object!", "ERROR!");
. , WinBinder PECL-

exit(1024);
http://pecl.php.net/package/WinBinder.
}
$Com->Connect();
$data_array = $Com->GetFriendList();
?>

, . , ,

1, 2009

1. WinBinder ht tp: //
winbinder.org.
2. miniPHP Studio http://exvision.net.
3. WinBinder PECL http://pecl.php.net/package/
WinBinder.

89

Linux Format. . LC173025. : , email:


bobahsmtp.ru


,
SQL-. ,
SQL. ,
?


.
SQL-
( PHP5+
MySQL5 mysqli):
/* ,
*
*/
$countryCode = 'RU';
$result = mysqli_query ($db, "SELECT Cities.name

FROM Countries, Cities WHERE Cities.countryId =

Countries.id AND Countries.code =

'".mysqli_real_escape_string($db, $countryCode)."'");

. , SQL--

90

.
().
(SELECT Cities.name FROM
Countries, Cities WHERE Cities.countryId = Countries.id AND
Countries.code = 'RU') getCities,
(countryCode char(2)).
:
DELIMITER $$
CREATE PROCEDURE `getCities`(countryCode char(2))
BEGIN
SELECT Cities.name FROM Countries, Cities

WHERE Cities.countryId = Countries.id

AND Countries.code = countryCode;
END$$
DELIMITER ;

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
.
getCities
:
CALL `getCities`('RU');

getCities PHP- :
/* ,
*
*/
$countryCode = 'RU';
mysqli_multi_query($db, "CALL getCities

('".mysqli_real_escape_string

($db, $countryCode)."');");


, SQL- . , :
n - PHP + MySQL, MySQL 5
;
n ,
,
;
n

( ).

n . , ,
. . , , , .
n . : ,
, , ,
, DDL-. .
n . SQL, ,
. ( / ). , .

1, 2009

n .
, , // .
SQL-, , .
,
(
) .
n . :

SQL-;
SQL-
(.. );
, SQL-,
.
, :
,
, ;
,

,
,
;
, SQL-, .
n . SQL-injection. , , .

, . , , , . ,
.
n . , , , ,
.
n . , , . .

91

Linux Format. . LC173025. : , email:


bobahsmtp.ru

-
n . - DBaccess ( PHP5 c mysqli , ( ).
, .
.

n -

, MySQL5):
<?php
class DBConnection {

private $db = null;

public function __construct($dbName, $host, $port,

$login, $password, $charset) {

$this->db = new mysqli($host, $login,

$password, $dbName, $port);

$this->db->set_charset($charset);

}

public function __call($storeProcedureName, $params) {

$quotedParams = array();

foreach($params as $param)
{

array_push($quotedParams, $param ===

null ? 'NULL' : '\''.$this->db->

escape_string($param).'\'');

}

$sql = 'CALL `'.$storeProcedureName.'`

('.implode(',', $quotedParams).');';

$this->db->multi_query($sql);

$results = array();

do {

if ($result = $this->db->store_result()) {

$rows = array();

while ($row = $result->fetch_assoc()) {

array_push($rows, $row);

}

$result->close();

array_push($results, $rows);

}

} while ($this->db->more_results() &&

$this->db->next_result());

return($results);

}
}
?>

(//)
. ( HTML) .
n .

.
n . , , ( |),
.
n SQL- (

DBaccess getCities,
), -
, $db>getCities(RU);.
, __call() ( PHP5), SQLinjection.
: ,
,
__call($metodName, $params)

( ).
,
,
, , $db->loadUser($email,
, - $password);.
DBaccess .
, , , - ,
:
, . , <?php

include 'DBaccess.php';
.
//
$db = new DBaccess('main_db' , 'localhost', 3306,

'login', 'password', 'utf8');
: http://www.vipidn.com/
// GetCities
// RU
dbaccess.zip.
$result = $db->getCities('RU');
// ( )
var_dump($result);
?>


getCities RU ( ) DBaccess. , , SQL.

92

1. DBaccess http://www.
vipidn.com/dbaccess.zip.
2. __call() http://ru2.php.net/
manual/ru/language.oop5.overloading.php.
3. mysqli http://ru2.php.net/manual/ru/
ref.mysqli.php.
4. Good and Evil in the Garden
of Stored Procedures (Jeremy D. Miller) http://codebetter.com/
blogs/jeremy.miller/archive/2005/07/05/130093.aspx.

Linux Format. . LC173025. : , email:


bobahsmtp.ru



, , 31
2008, , ( ),
: , , , , , - , Windows ...
. ,
22:40, ! , : ? : - , OK, , , , ...
- ?
.
???
, , , OK, , !
, ,
BackUp ! , POS- , !
(1.01.2009) , . , , ( ): ?
, , , , . : , ? ! :
? ! -:
,
...
, ( )...
P.S.:
1. ,
, (,
, , )?
2. , ...
, !

ViRuZzz


4- .
. , (, , ) , ,
. , . . 2 .
, , , , 20
. , , , ,
. -

1, 2009

,
. 14.00 .
, , 10 , . , ...
35, 150 , ? - ? ?

. , , , , -, UPS. ( , , ) .
, .
, . , , .
. .
, . . ,
, ? () . . ,

, , . , ,
, .
. .
, . , 3 .
. . . -
, . . -, -, . , .
.
. ??? :
. 19" , . UPS .
? : , ... , : , . ,
- , .
.
, . . 19"
, 15". , ,
,
.
,
. . . , .
, , ?

MInoy


http://sysadmin.mail.ru

93

Linux Format. . LC173025. : , email:


bobahsmtp.ru

2009

n -

.
n

, ,
,
(, ,
, ,
), .



,
: (495) 6288253
(.120)
: subscribe@samag.ru.



94







Linux Format. . LC173025. : , email:


bobahsmtp.ru

2009

n
: 20780, 81655


n
: 88099, 87836



n
:
- (495) 500-00-60,

(495) 787-34-47
-
- (343) 375-62-74
www.linuxcenter.ru
n
On-line
http://www.arzi.ru
http://www.gazety.ru
http://www.presscafe.ru

:
n

(370102, . , . , 21)

n

(220050, . , - . , 10)

n
Davriy nashrlar Davriy nashrlar (7000029, . , . , 5/3, 33)
n

(375005, . , . , .2) - (375002, . ,
. , 22)
n

( 380019, . , . , 29)
(380060, . , - , 42)
n

(-2012, . , . , 134)
(D-3300,
. , . , 17)
- Editil Periodice
(-2012, . , . , 134)
n
:

KSS, ./ (044)464-0220

:
*
20780
+
2008

**
81655

*
88099
+
2008

**
87836





***

**

1, 2009

95

Linux Format. . LC173025. : , email:


bobahsmtp.ru


1(74), , 2009





chief@samag.ru


sekretar@samag.ru


Open Source







./: (495) 628-8253
(. 120)
relama@samag.ru

maker@samag.ru



:

(495) 628-8253 (. 120)
107045, . ,
, 4/2, .1
./: (495) 628-8253
: www.samag.ru

,
?
?


AYTCOPCEP.
,
,
.
. ,

.
,
10. ,
,
.
AYTCOPCEP ,
... ,
,,!
AYTCOPCEP .

13


17000 .

,
(
77-12542 24 2002 .).

.
.
. .

96

Linux Format. . LC173025. : , email:


bobahsmtp.ru

Оценить