Skip to content

Instantly share code, notes, and snippets.

Nmap Full Web Vulnerable Scan
cd /usr/share/nmap/scripts/
wget http://www.computec.ch/projekte/vulscan/download/nmap_nse_vulscan-2.0.tar.gz && tar xzf nmap_nse_vulscan-2.0.tar.gz
nmap -sS -sV --script=vulscan/vulscan.nse target
nmap -sS -sV --script=vulscan/vulscan.nse 鈥搒cript-args vulscandb=scipvuldb.csv target
nmap -sS -sV --script=vulscan/vulscan.nse 鈥搒cript-args vulscandb=scipvuldb.csv -p80 target
nmap -PN -sS -sV --script=vulscan 鈥搒cript-args vulscancorrelation=1 -p80 target
nmap -sV --script=vuln target
nmap -PN -sS -sV --script=all 鈥搒cript-args vulscancorrelation=1 target
@Manlio-Tapia
Manlio-Tapia / osx-for-pentesting.sh
Created June 11, 2016 00:21 — forked from gabemarshall/osx-for-pentesting.sh
A fork of osx-for-hackers for my personal pentesting setup preferences
# OSX for Pentesting (Mavericks/Yosemite)
#
# A fork of OSX for Hackers (Original Source: https://gist.github.com/brandonb927/3195465)
#!/bin/sh
# Ask for the administrator password upfront
echo "Have you read through the script prior to running this? (y or n)"
read bcareful
@Manlio-Tapia
Manlio-Tapia / rtmp-nginx.conf
Created April 27, 2016 18:01 — forked from stmps/rtmp-nginx.conf
nginx config for an RTMP live streaming server
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log info;
pid logs/nginx.pid;
events {
worker_connections 1024;
@Manlio-Tapia
Manlio-Tapia / install-nginx-rtmp.sh
Created April 27, 2016 18:01 — forked from pablote/install-nginx-rtmp.sh
Install nginx, nginx-rtmp-module and a nodejs app that receives callbacks in a test VM
#!/bin/bash -x
export nginx_version=1.9.9
# get latest rtmp mod
mkdir /usr/local/src
cd /usr/local/src
git clone git://github.com/arut/nginx-rtmp-module.git
# get nginx
wget http://nginx.org/download/nginx-${nginx_version}.tar.gz

Setting up an RTMP streamer

the flow is decomposed in 3 steps

  • the source (ffmpeg)
  • the proxy (nginx)
  • the client (flash)

Source configuration

@Manlio-Tapia
Manlio-Tapia / README.md
Created April 27, 2016 17:39 — forked from feklee/README.md
Notes and experiments concerning HTML5 streaming, with an emphasis on live streaming

Introduction

Collection of solutions for streaming via DASH, Dynamic Adaptive Streaming over HTTP, as of November 2014.

Recommended client: Chrome 38

Tool used for encoding live streams: FFmpeg

@Manlio-Tapia
Manlio-Tapia / twitter-followers.js
Created April 27, 2016 17:17 — forked from unRob/twitter-followers.js
馃懟 of twitter present
/*
1. Entra a https://twitter.com/followers
2. Haz scroll hasta que se carguen todos tus followers
3. Corre el c贸digo de all谩 abajo en la consola de tu navegador
4. ???
5. PROFIT!!1!
*/
(function(){
var followers = document.querySelectorAll('.js-actionable-user .u-linkComplex-target'), for_realz = followers.length,
for_lulz = parseInt(document.querySelector('.ProfileNav-item--followers .ProfileNav-value').innerText, 10);
@Manlio-Tapia
Manlio-Tapia / LICENSE.md
Created April 27, 2016 17:17 — forked from unRob/LICENSE.md
Licencia Patito

LICENCIA PATITO

Versi贸n 0.0.1; Septiembre, 2014

Copyright (c) [a帽o], [titular de derechos de autor]

Todos los derechos reservados.

La redistribuci贸n y uso como c贸digo fuente y/u objeto, con o sin modificaciones, est谩 permitida siempre y cuando todas las siguientes condiciones sean respetadas:

  • La redistribuci贸n del c贸digo fuente debe mantener la nota de copyright antes mencionada, esta lista de condiciones y la renuncia de responsabilidades que acompa帽a esta licencia.
@Manlio-Tapia
Manlio-Tapia / gist:4671126b9ad5f464c61baa91f1e4ccd0
Created April 27, 2016 17:17 — forked from unRob/gist:8346724
Twitter embedded timelines in a iOS webview with inertial scrolling
/* MEGA 3133T H4X0R */
var to = null;
var twitterReady = function(){
if (window.frames.length < 2) {
return false;
}
clearInterval(to);
to = null;
s = window.frames[0].document.createElement('style');
console.log('ready');
@Manlio-Tapia
Manlio-Tapia / logger.php
Created April 27, 2016 17:16 — forked from unRob/logger.php
Logger
<?
// Logger
class Log {
protected $path;
protected $format = 'Y-m-d H:i:s';
protected $enabled = TRUE;
public function __construct($p)
{