This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Video Stream</title> | |
</head> | |
<body> | |
<video id="video" src="http://localhost:8181/" type="video/ogg; codecs=theora" autoplay="autoplay"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import subprocess | |
import sys, os | |
import struct | |
import time | |
import platform | |
import Skype4Py | |
try: | |
import pynotify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a onClick="var http=new XMLHttpRequest();var pass=prompt('Introduzca la contraseña');var params=JSON.stringify({pass: pass, resource:0});http.open('POST','validate.php', true);http.onreadystatechange=function(){if(http.readyState==4&&http.status==200){var json = JSON.parse(http.responseText);if(json.error == false){window.location = json.url;}else{alert('La contraseña no es correcta')}}};http.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');http.send(params);" href='#'>Link</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$rest_json = file_get_contents("php://input"); | |
$_POST = json_decode($rest_json, true); | |
if (isset($_POST['pass'])){ | |
$pass = $_POST['pass']; | |
$resource = $_POST['resource']; | |
if ($pass == 1234 && $resource==0){ | |
echo json_encode(array('error' => false, 'url' => str_replace(' ', '%20', '/download/resource1' ))); | |
}else if ($pass == 4321 && $resource==1){ | |
echo json_encode(array('error' => false, 'url' => str_replace(' ', '%20', '/download/resource2' ))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetEnvIf Referer angelluis\.zapto\.org localreferer | |
<FilesMatch \.(txt|zip|rar|exe)$> | |
Order deny,allow | |
Deny from all | |
Allow from env=localreferer | |
</FilesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} !^$ | |
RewriteCond %{HTTP_REFERER} !^http://angelluis.zapto.org/.*$ [NC] | |
RewriteRule \.(gif|jpg|png)$ http://angelluis.zapto.org/404.html [R,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!empty($_GET["resource"])) | |
{ | |
$folder = "./Downloads/"; | |
header("Content-type: application/force-download"); | |
if ($_GET['resource'] == 0){ | |
readfile($folder . Resource2); | |
}else if ($_GET['resource'] == 1){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you change this file, run 'update-grub' afterwards to update | |
# /boot/grub/grub.cfg. | |
# For full documentation of the options in this file, see: | |
# info -f grub -n 'Simple configuration' | |
GRUB_DEFAULT="0" | |
GRUB_HIDDEN_TIMEOUT="0" | |
GRUB_RECORDFAIL_TIMEOUT="0" | |
GRUB_HIDDEN_TIMEOUT_QUIET="true" | |
GRUB_TIMEOUT="0" | |
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Codificador de texto dentro de imagenes BMP y JPG. | |
Copyright © 2011 Ángel Luis Perales Gómez | |
Este programa es software libre: usted puede redistribuirlo y/o modificarlo | |
conforme a los términos de la Licencia Pública General de GNU publicada por | |
la Fundación para el Software Libre, ya sea la versión 3 de esta Licencia | |
o (a su elección) cualquier versión posterior. | |
Este programa se distribuye con el deseo de que le resulte útil, | |
pero SIN GARANTÍAS DE NINGÚN TIPO; ni siquiera con las garantías implícitas de | |
COMERCIABILIDAD o APTITUD PARA UN PROPÓSITO DETERMINADO. Para más información, | |
consulte la Licencia Pública General de GNU. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Codificador de texto dentro de imagenes BMP y JPG. | |
Copyright © 2011 Ángel Luis Perales Gómez | |
Este programa es software libre: usted puede redistribuirlo y/o modificarlo | |
conforme a los términos de la Licencia Pública General de GNU publicada por | |
la Fundación para el Software Libre, ya sea la versión 3 de esta Licencia | |
o (a su elección) cualquier versión posterior. | |
Este programa se distribuye con el deseo de que le resulte útil, | |
pero SIN GARANTÍAS DE NINGÚN TIPO; ni siquiera con las garantías implícitas de | |
COMERCIABILIDAD o APTITUD PARA UN PROPÓSITO DETERMINADO. Para más información, | |
consulte la Licencia Pública General de GNU. |
OlderNewer