From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Epiphanov Sergei To: Sisyphus Subject: Re: [sisyphus] Re: Q: perl security, CPAN security Date: Tue, 28 Jun 2005 11:51:46 +0400 User-Agent: KMail/1.8.1 References: <20050626090644.GB31585@solemn.turbinal.org> <200506271714.34636.serpiph@nikiet.ru> <20050627132852.GN31585@solemn.turbinal.org> In-Reply-To: <20050627132852.GN31585@solemn.turbinal.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Disposition: inline Message-Id: <200506281151.46897.serpiph@nikiet.ru> Content-Transfer-Encoding: quoted-printable X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 07:49:56 -0000 Archived-At: List-Archive: =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 27 =E9=C0=CE=D8 2005 17:28 Alexey = Tourbin =CE=C1=D0=C9=D3=C1=CC: > > # Execute the command passed as an argument > > # _without_ interpolating variables (Perl does it by default) > > sub direct_command { > > =9A return `$_[0]`; > > } > > =F3=D5=C4=D1 =D0=CF =CB=CF=CD=CD=C5=CE=D4=C1=D2=C9=C0, =DC=D4=CF=D4 =D3= =CB=D2=C9=D0=D4 =D5=CD=C5=C5=D4 =DA=C1=CE=C9=CD=C1=D4=D8=D3=D1 =DE=C5=CD-= =D4=CF =CF=DE=C5=CE=D8 =D3=D4=D2=C1=CE=CE=D9=CD. > > =E9 =DE=D4=CF =D5 =D7=C1=D3 =C7=CF=D7=CF=D2=C9=D4 `printenv ENV'? =9A=E9= =CC=C9 =CB=D4=CF =D4=C1=CD ENV =DC=CB=D3=D0=CF=D2=D4=C9=D2=D5=C5=D4? =E1 =C6=C9=DB=D4 =C5=C7=CF =DA=CE=C1=C5=D4. =E1 =DE=D4=CF =DC=D4=CF =DA=C1= =CB=CF=CD=C1=CE=C4=C1: printenv? =ED=CF=D6=C5=D4: # perl -e 'print $ENV{ENV},"\n";' /root/.bashrc # =F7 =DC=D4=CF=CD =D3=CB=D2=C9=D0=D4=C5 =D4=C1=CB=CF=C5 =CE=C1=CD=C5=DB=C1= =CE=CF, =DE=D4=CF =DE=A3=D2=D4 =CE=CF=C7=D5 =D3=CC=CF=CD=C9=D4. =F7 =D3=C1= =CD=CF=CD =D3=CB=D2=C9=D0=D4=C5 =D7=D9=DA=CF=D7=D9=20 =C6=D5=CE=CB=C3=C9=C9 direct_command =CE=C1=D7=CF=D2=CF=DE=C5=CE=D9 =C4=CF= =C2=C5=DA=CF=C2=D2=C1=DA=C9=D1. =E5=D3=CC=C9 =C9=CE=D4=C5=D2=C5=D3=CE=CF= , =D4=CF =CD=CF=D6=C5=D4=C5=20 =D3=C1=CD=C9 =D3=CB=C1=DE=C1=D4=D8 =D3 =D3=C1=CA=D4=C1 vmware =C9=CC=C9 =C5= =C7=CF (245=CB=E2) =D0=D2=C9=DB=CC=C0 =F7=C1=CD. =EB=D2=CF=CD=C5 =D4=CF=C7= =CF, =C5=DD=A3 =C5=D3=D4=D8=20 vmware-uninstall.pl (=D4=CF=D6=C5 =CF=D4 =D2=D5=D4=C1) =C9 vmware-mount.p= l (=CD=CF=D6=C5=D4 =C9 =CF=D4=20 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1). =E1 =D5=DE=C9=D4=D9=D7=C1=D1, =DE=D4= =CF =D3=C1=CD=C1 vmware =D2=C1=C2=CF=D4=C1=C5=D4 =CF=D4 root... --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E5=D0=C9=C6=C1=CE=CF=D7 =F3=C5=D2=C7=C5= =CA