Necesitamos tener previamente corriendo Tor en la maquina:
- Instalamos Nodejs en el server remoto
Necesitamos tener previamente corriendo Tor en la maquina:
docker pull osminogin/tor-simpledocker run -p 127.0.0.1:9050:9050 --name tor osminogin/tor-simplecurl https://check.torproject.org #Inseguro
curl https://ipinfo.io/ip # Ip pública de salida# Verificamos la versión de Ubuntu
# lsb_release -c or cat /etc/debian_version
# Pasos para Ubuntu 18.04 (Bionic)| // npm install jimp | |
| const Jimp = require('jimp'); | |
| function reverseString(str) { | |
| return str.split("").reverse().join(""); | |
| } | |
| function dec2bin(dec){ | |
| return (dec >>> 0).toString(2); | |
| } |
| # curl -L https://gist.githubusercontent.com/ulisesGascon/88a5dff0b5aafc395b131b6089068788/raw/fictizia_setup.sh | bash | |
| # Install xcode | |
| xcode-select --install | |
| # install homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Code! | |
| brew install git |
mongo (abre la terminal)show dbs (muestra bases de datos)use formula-uc3m-realtime (uso esta base de datos)show collections (muestra las tablas)db.datas.find()(muestra los datos de la tabla)it para continuar| // Ejecutar en http://yeoman.io/generators/ | |
| let md = ""; | |
| function generateMd(dataItem){ | |
| md += `**:top: ${dataItem}**\n` | |
| const datos = document.querySelectorAll(".list > tr"); | |
| datos.forEach(dato => { | |
| const linkSelector = dato.querySelector("a"); | |
| const nameSelector = dato.querySelector(".name"); | |
| const descripcionSelector = dato.querySelector(".description"); | |
| var usefulldata; |
| console.log("Hola") |
| http://blog.emtmadrid.es/2014/05/14/disponible-la-api-de-tiempo-real-rest-json-en-version-beta-de-emt-madrid/ | |
| idCliente: EMT.SERVICIOS.EMTJSONBETA | |
| passKey: 4F4EEB75-A822-41E3-817B-AB301D5DA321 |
| # define your target | |
| export TARGET = brannon.online | |
| # perform a whois lookup | |
| whois $TARGET | |
| # do a dns lookup | |
| nslookup $TARGET | |
| # here we find that 34.201.87.194 is the | |
| # true IP address of the $TARGET |