Skip to content

Instantly share code, notes, and snippets.

View danielrobleM's full-sized avatar
🏠
Working from home

Daniel Roble danielrobleM

🏠
Working from home
View GitHub Profile
router.get('/',function(req,res){
res.render('login');
});
router.get('/login',function(req,res){
res.render('login');
});
@danielrobleM
danielrobleM / tarea2SeguridadProfesor.sh
Created April 28, 2014 05:33
Tarea de Seguridad Profesor 2
#!/bin/bash
#Daniel Roble - Cristobal zuñiga
# Se ha utilizado john-1.7.9-jumbo-7.
# se debe ejecutar este bash en un directorio donde se encuentre la carpeta de john y este este instalado previamente.
# Este Bash, permite encontrar la contraseña del usuario 112,utilizando Hydra, luego descarga los archivos disponibles para ese usuario, en una carpeta
# llamado zip, luego con JTR descifra las claves y descomprime los archivos en el directorio donde se ejecuto el bash.
# Despues se eliminan todos los archivos,excepto los pdf descargados.
# Por consola se muestran las claves de JTR de el zip y en ultima instancia del(los) pdf.
# El diccionario utilizado se encuentra disponible en :http://cl.ly/text/2i3K2W3s2y1d
if [ -e john-1.7.9-jumbo-7/run/john.pot ]; then
@danielrobleM
danielrobleM / sistema1.m
Created October 13, 2013 06:28
Tarea ayu. Sistema
%% Ejercicio A
%Función del ejercicio
clear all;
t=-10:0.1:10;
f1=2*(t.*t)-3*t+6;%f(t)
plot(t,f1,'b','LineWidth', 2,'linesmooth','on'),title ('F(t)=2t^2-3t+6', 'FontName', 'Times', 'Fontsize', 15),xlabel ('t', 'FontName', 'Times', 'Fontsize', 14);
grid on;
clear all;
%%
% --------Encontrando La función PAR ---------
@danielrobleM
danielrobleM / Sistemas.m
Last active December 25, 2015 03:49
Tarea nº 3 Señales y sistemas
%%
%Seccion 1
%Se Dibuja la grafica de la funcion a la cual se solicta aplicar operaciones
interval=[-3:1:14];
Function=[0,0,0,0,1,2,3,4,5,4,3,2,1,1,0,0,0,0];
stem(interval,Function);
grid on