Skip to content

Instantly share code, notes, and snippets.

Jordano Moscoso Xosmond

Block or report user

Report or block Xosmond

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Xosmond /
Created Apr 4, 2016 — forked from takeshixx/
OpenSSL heartbeat PoC with STARTTLS support.
#!/usr/bin/env python2
Author: takeshix <>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
import sys,struct,socket
from argparse import ArgumentParser
Xosmond / DateFormat.js
Last active Apr 4, 2016 — forked from eralston/DateFormat.js
Date Format 1.2.3 by Steven Levithan <> - A date formatting library for JavaScript
View DateFormat.js
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <>
* MIT license
* Includes enhancements by Scott Trenda <>
* and Kris Kowal <>
* Accepts a date, a mask, or a date and a mask.
* Returns a formatted version of the given date.
Xosmond / gist:0656fa5f378c007c3e0e1ce48fffb008
Created Jun 10, 2016 — forked from joho/gist:3735740
PostgreSQL 9.2 upgrade steps
View gist:0656fa5f378c007c3e0e1ce48fffb008
Steps to install and run PostgreSQL 9.2 using Homebrew (Mac OS X)
(if you aren't using version 9.1.5, change line 6 with the correct version)
1. launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
2. mv /usr/local/var/postgres /usr/local/var/postgres91
3. brew update
4. brew upgrade postgresql
5. initdb /usr/local/var/postgres -E utf8
6. pg_upgrade -b /usr/local/Cellar/postgresql/9.1.5/bin -B /usr/local/Cellar/postgresql/9.2.0/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres
7. cp /usr/local/Cellar/postgresql/9.2.0/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
Xosmond /
Created Jul 2, 2016 — forked from kgrz/
Possible workaround for installing nokogiri 1.6.8 on OSX with brewed libxml2 2.9.4


The following commands fail on OSX:

gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2


Xosmond / Dockerfile
Created Jul 9, 2016
Docker from Codelitt
View Dockerfile
FROM codelittinc/ruby:2.2
MAINTAINER Codelitt, Inc.
# Mount any shared volumes from host to container @ /share
VOLUME ["/share"]
# Install dependencies
RUN apt-get update \
View SHODAN Filters
» city
» country
nginx city:"San Diego" country:US
» geo
Devices within a 50km radius of San Diego (32.8,-117): geo:32.8,-117,50
» hostname
"Server: gws" hostname:google
» net
» os
View capybara cheat sheet
=Clicking links and buttons=
click_link('Link Text')
click('Link Text') # Click either a link or a button
click('Button Value')
Xosmond / Vultr-add-dockercompose
Last active Mar 31, 2017 — forked from dmp1ce/vultr-ubuntu-15.04-configure
Configure Ubuntu 15.04 for docker-compose and decompose on
View Vultr-add-dockercompose
# To run from shell:
# bash <(curl -sSL
do_config() {
# Make sure to run as root
user="$(id -un 2>/dev/null || true)"
if [ "$user" != 'root' ]; then
Xosmond / circleci.rb
Last active Jul 9, 2017
Circleci script for Touchbar with BTT
View circleci.rb
#!/usr/bin/env ruby
require 'net/http'
require 'json'
require 'time'
# Replace YOUR_API_KEY with your Circleci API key
# Change this to ['repository/name', 'repository/name2'] if you want to filter only specific projects
You can’t perform that action at this time.