Skip to content

Instantly share code, notes, and snippets.

View jesusprubio's full-sized avatar
🏴‍☠️

Jesús Rubio jesusprubio

🏴‍☠️
View GitHub Profile
@jesusprubio
jesusprubio / gist:4972662
Last active December 13, 2015 20:48
Bash script to scan IP ranges from a text file with sipvicious. NOTES: http://nicerosniunos.blogspot.com.es/2012/02/scanning-world-with-sipvicious.html
#!/bin/bash
# Bash script to scan IP ranges from a text file with sipvicious.
#
# Use: ./scanRange.sh
#
# Copyright (c) Jesús Pérez
# Licensed under GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html
SVMAP="/home/baguira/Installed/sipvicious/svmap.py"
@jesusprubio
jesusprubio / gist:4972639
Created February 17, 2013 18:21
Simple node.js UDP client written in CoffeScript which connects to an UDP server, sends a message, waits for a response, prints it and finally closes the connection.
##
# Simple node.js UDP client written in CoffeScript which
# connects to an UDP server, sends a message, waits for a
# response, prints it and finally closes the connection.
#
# Copyright (c) Jesús Pérez
# Licensed under GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html
##
dgram = require "dgram"
@jesusprubio
jesusprubio / gist:4066845
Last active March 15, 2023 11:47
Kamailio.cfg with SIP over websockets support included.NOTE: For GRUU support change (line 363): modparam("registrar", "gruu_enabled", 1)
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v4.1 - default configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.