Re: Strano problema con ssh -addendum

Gelpi Andrea <[email protected]>
Newsgroups gmane.comp.security.italian
Message-ID <[email protected]>
Il 26/11/2016 22:20, Dario Lombardo ha scritto:
> Proverei ad indagare l'uso di pipe in PHP. Nei due esempi che riporti in
> uno c'e' e nell'altro no. 
> In questi casi di sotto-shell, spesso la redirezione su pipe non e'
> immediatamente trasportabile da un linguaggio ad un altro (da bash a
> php, ad es).
> Ciao
> Dario.
> 

A dir il vero è evidente che il problema è inviare da php comandi dentro
ssh che contengono la pipe.
Inviare comandi da php con dentro la pipe funziona perfettamente.

Il problema è quindi se php lancia tramite proc_open ssh che a sua volta
lancia due comandi in pipe fra loro.

-- 
Gelpi ing. Andrea
--------------------------------------------------------------
It took the computing power of three C-64s to fly to the Moon.
It takes a 486 to run Windows 95. Something is wrong here.
--------------------------------------------------------------
________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.