First of all, you need get installed VirtualBox and Vagrant
If you use Ubuntu 14.04 you can get both of them executing:
sudo apt-get install vagrant virtualbox
# add the ubuntu sources | |
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list | |
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 | |
#install the oracle java7 | |
apt-get update | |
apt-get install oracle-java7-installer | |
#update alternatives | |
update-alternatives --config java |
Ponente: Roberto Peña ([email protected]) Responsable seguridad de Aconsait, seguridad orientada a Banca. Su twitter @wolfinside
Experiencia en seguridad en organismo de ministerio de defensa Orientación de la charla con caracter práctico. Auditoria de seguridad de caja negra En la charla nos centraremos en atacar para hacer daño humano, físico y digital
Exploids en su blog para tirar wordpress [@jorgewebsec][https://twitter.com/JorgeWebsec]
borrar meta que pueda decir CMS, tersión, etc si se usa un CMS.
#!/bin/bash | |
POS=2 | |
LEN=16 | |
SECONDS_MAX=10 | |
while true; do | |
str1=$( echo -n `date +\"%s\"` | md5sum | md5sum ) |
# -* coding: utf-8 *- | |
import json | |
import traceback | |
import falcon | |
class Resource(object): | |
def __init__(self): |
#!python | |
# -*- coding: utf-8 -*- | |
import importlib | |
import os | |
from timeit import default_timer as timer | |
import logging | |
from my_module import config | |
class benchmark(object): |
from usefull_decorators import command_decorator | |
logger = logging.getLogger('Command') | |
logger.setLevel(logging.DEBUG) | |
logger.addHandler(logging.StreamHandler()) | |
# decorator needs a logger object | |
@command_decorator(logger) | |
def f_example(a): | |
print("managing proces... with args: %s" %(a)) |
import datetime | |
import json | |
PROJECT = 'sparta' | |
KIBANA_URL = 'http://elastic:9200/{}-'.format(PROJECT) | |
def send_to_kibana(): | |
headers = {'Content-Type': 'application/json', | |
'Accept': 'text/plain'} | |
today = data['out'].strftime('%Y.%m.%d') |
def foo_function(a: int, b: int) -> int: | |
return a + b | |
# First ussage example | |
result_a = foo_function(4, 10) | |
type(result_a) | |
>>> int | |
print(result_a) | |
>>> 14 |