Skip to content

Instantly share code, notes, and snippets.

@ssebastianj
ssebastianj / owasp-top-10-proactive-controls-2016-summary.md
Created August 3, 2016 12:34
OWASP Top 10 Controls 2016 Summary

OWASP Top 10 Proactive Controls 2016

Ordered by order of importance, with control number 1 being the most important.

  1. Verify for security early and often.
  2. Parameterize queries.
  3. Encode data.
  4. Validate all inputs.
  5. Implement identity and authentication controls.
  6. Implemente appropiate access controls.
@ssebastianj
ssebastianj / argentina_en_python_nea.md
Last active June 2, 2016 00:33
Argentina En Python: NEA

Sprint

Un sprint consiste en juntarse a programar con el objetivo de empujar un proyecto ya existente y trabajar en equipo para arreglar la mayor cantidad de bugs posible o agregar alguna funcionalidad. Es un evento informal del que cualquiera puede participar sin tener conocimiento alguno. La idea es ayudarnos entre todos y programar en equipo.

Fecha tentativa Lugar
17 de Enero de 2015 Café Martínez (Güemes 425)

Lugares tentativos (llamar para confirmar):

Setup

Servidores DNS de Google IP
Primario 8.8.8.8
Secundario 8.8.4.4
Servidores DNS de Arnet IP
Primario 200.45.191.35
#!/usr/bin/env python
#! -*- coding: utf-8 -*-
from __future__ import print_function
msg = "71 75 65 20 61 6c 20 70 65 64 6f 20 65 73 74 61 73 20 70 61 72 61 20 64 65 73 63 69 66 72 61 72 20 65 73 74 6f 21 20 6a 61 6a 61 6a 61 6a"
for car in msg.split():
print(chr(int(car, 16)))
@ssebastianj
ssebastianj / blink_options.sh
Last active December 11, 2015 20:28
Beginning with Ash (Busybox). This is a "Quick & Dirty" (yep, I'm "learning") script for blinking QSS LED when it reaches every "min" value on "/etc/config/system" file. Firmware: OpenWRT | Gargoyle. Hardware: TP-LINK WR1043ND (with little changes it can be ported to another routers).
@ssebastianj
ssebastianj / seguimiento_correo_oca.py
Created January 28, 2013 12:18
Dado un código de seguimiento, obtiene los detalles del envío mediante OCA©.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Sebastián J. Seba
import requests
from BeautifulSoup import BeautifulSoup
def get_tracking_info(tracking_code):
var mensaje = '01000110 01100101 01101100 01101001 01111010 00100000 01100011 01110101 01101101 01110000 01101100 01100101 00100000 01110011 01100101 01100010 01100001';
console.log(mensaje.split(' ').map(function(e) { return String.fromCharCode(parseInt(e, 2)); }).join(''));
# -*- coding: utf-8 -*-
from django.shortcuts import redirect
def redirect_if_logged(f=None, redirect_to_url=None):
def _decorator(view_func):
def _wrapped_view(request, *args, **kwargs):
if request.user.is_authenticated():
redirect_url = redirect_to_url