elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


  Mostrar Temas
Páginas: [1]
1  Programación / Scripting / ejecutar Comando linux con "System" que requiera de respuesta en: 21 Octubre 2013, 18:01 pm
Pues eso..necesito ejecutar un comando con "system" en linux. Dicho comando necesita respuesta por parte del usuario (introducir varios datos y pulsar "intro").

Necesito saber si existe alguna manera de ejecutar el comando system y poder introducirle de alguna manera los datos que solicitará el programa ejecutado.. por ejemplo:

system ("programa1");

consola # programa 1 ejecutándose...

introduzca su nombre: <<< aquí es donde mi programa introduciría el nombre y pulsaría intro.

De verdad que estaría dispuesto a pagar a alguien porque me ayudara!!!
2  Programación / Scripting / [Perl] Problema al instalar módulo en Linux en: 19 Septiembre 2013, 16:28 pm
Pues nada..intento instalar de manera manual y con cpan el módulo Crypt::OpenSSL::CA pero me el siguiente error (a ver si a alguien se le ocurre qué puede ser y me daría una alegría) (He puesto en negrita lo más significativo)

Código:
Checking OpenSSL version number...

Writing Makefile for Crypt::OpenSSL::CA::ExtractVersionNumberProblem
Writing MYMETA.yml
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp  -typemap "/usr/share/perl/5.14/ExtUtils/typemap"   ExtractVersionNumberProblem.xs > ExtractVersionNumberProblem.xsc && mv ExtractVersionNumberProblem.xsc ExtractVersionNumberProblem.c
cc -c  -I"/home/dany/Escritorio/Crypt-OpenSSL-CA-0.23" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl/5.14/CORE"   ExtractVersionNumberProblem.c
ExtractVersionNumberProblem.xs:5:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
make: *** [ExtractVersionNumberProblem.o] Error 1
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp  -typemap "/usr/share/perl/5.14/ExtUtils/typemap"   ExtractVersionNumber.xs > ExtractVersionNumber.xsc && mv ExtractVersionNumber.xsc ExtractVersionNumber.c
cc -c  -I"/home/dany/Escritorio/Crypt-OpenSSL-CA-0.23" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl/5.14/CORE"   ExtractVersionNumber.c

Código:
ExtractVersionNumber.xs:5:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
make: *** [ExtractVersionNumber.o] Error 1

Código:
A problem was encountered while attempting to compile and install your Inline
C code. The command that failed was:
  make > out.make 2>&1

The build directory was:
/home/dany/Escritorio/Crypt-OpenSSL-CA-0.23/_Inline/build/Crypt/OpenSSL/CA/ExtractVersionNumber

To debug the problem, cd to the build directory, and inspect the output files.

 at (eval 59) line 10.
...propagated at /usr/local/share/perl/5.14.2/Inline/C.pm line 772.
BEGIN failed--compilation aborted at (eval 59) line 25.


Compiling and linking a test OpenSSL program failed; please examine
the errors above.  You may have to install OpenSSL's development kit
according to your distribution's instructions.

Maybe you could try re-running Build.PL with appropriate values for
--openssl-cflags and --openssl-ldflags, for instance:

  perl Build.PL --openssl-cflags=-I/usr/local/lib/openssl/include \
        --openssl-libs=-L/usr/local/lib/openssl/lib

Hint: don't sprinkle spaces where not necessary, as they are known to
confuse the GNU linker!



[MOD]: Usa las etiquetas para insertar código, no las de negrita.
3  Programación / Desarrollo Web / Editar estilo de plugin Contact Form 7 con tema CSS en: 27 Mayo 2013, 22:02 pm
Pues eso!...me he comprado un tema de CSS para formularios, pensando que se explicaría de alguna manera cómo incrustarlo dentro del plugin Contact Form 7 de Wordpress..peeero..me he encontrado con una carpeta que contiene archivos .js .. archivo de imagen .png  y archivos .css ..

Me imagino que no será una cosa muy complicada..pero, alguien me podría dar una pincela de qué debería de hacer para poder incrustar este tema dentro del plugin?

Un millón de gracias de antemano! ;-)
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines