Skip to content

Instantly share code, notes, and snippets.

View bvolpato's full-sized avatar
:shipit:
ship it

Bruno Volpato bvolpato

:shipit:
ship it
View GitHub Profile
@bvolpato
bvolpato / mvn.sh
Created March 17, 2016 21:57
Generate Maven Report with Dependencies Info
mvn project-info-reports:dependencies
@bvolpato
bvolpato / spoof.sh
Last active March 17, 2016 21:59
Spoof MAC Address Mac OS X
$ git clone https://github.com/feross/SpoofMAC.git
$ cd SpoofMAC
$ python setup.py install
$ cd scripts
$ python spoof-mac.py list
- "Ethernet" on device "en0" with MAC address 3C:07:54:55:71:41
- "FireWire" on device "fw0" with MAC address A4:B1:97:FF:FE:9E
- "Wi-Fi" on device "en1" with MAC address 68:A8:6D:1B:FE:E4 currently set to 00:E0:B8:1B:FE:E4
$ python spoof-mac.py set 00:00:00:00:00 en1 # or whatever mac address you want
@bvolpato
bvolpato / capture.sh
Created March 18, 2016 00:04 — forked from abahgat/capture.sh
Capture a screenshot of a window via command line
screencapture -iW /path/to/output.png
@bvolpato
bvolpato / keybase.md
Last active March 18, 2016 17:59
keybase.md

Keybase proof

I hereby claim:

  • I am brunocvcunha on github.
  • I am brunocvcunha (https://keybase.io/brunocvcunha) on keybase.
  • I have a public key whose fingerprint is C244 3A1E 9144 92AC A5F3 111F ACDB BDD4 324B 84C1

To claim this, I am signing this object:

BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5wcIkHbsBmiVyE 61C6ziUKZER9AnP LwMO2r5oY2t8P47 6pTf4SL4iYzeiBf 70yR5gptaMYGaeB Y1UR3PDZfSqmFRl Af0DOKxNqhCz70Z yvpTN2aCAN6DIOY SSZtUdCfK3vAccS OCCY39tqstHSvRK cjQEUJCiWx2x5f4 1nYCM9u0xwdJsHe PD20BkQcDU4hY4L CbJXGBTI4hJaQwA aKyxG7TwLg3B9o0 ifnZ8miDddJjhcj 14FOW4jMWi0EKo9 yUALfvxzv6QTRFB G9oga11focRkQ8n VOVuHeBaA9UxMW3 agKon8uHclzgt0b YqILPXpE3Ez8TxL t6hvmpdfti4XljP mDzqOtJxkdk2Nq4 4QaO8G8uzCCO0au qTQ4CqQ5KaE2VMJ JOyiZ2VbHgHoYu0 VU. END KEYBASE SALTPACK SIGNED MESSAGE.
@bvolpato
bvolpato / synflood.py
Created March 24, 2016 15:08
synflood.py
#!/usr/bin/env python
#########################################
#
# SYNflood - A multithreaded SYN Flooder
# author: arthurnn
#
#
#########################################
import socket, random, sys, threading
from scapy.all import *
@bvolpato
bvolpato / dropkick.sh
Created March 31, 2016 01:55
Turn off spy cams in airbnb rentals
#!/bin/bash
#
# DROPKICK.SH
#
# Detect and Disconnect the DropCam and Withings devices some people are using to
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh:
#
# http://julianoliver.com/output/log_2014-05-30_20-52
#
# This script was named by Adam Harvey (http://ahprojects.com), who also
@bvolpato
bvolpato / mvn.sh
Created April 1, 2016 17:23
release
mvn release:prepare
mvn release:perform
@bvolpato
bvolpato / mvn.sh
Created April 1, 2016 17:25
detailed report on dependencies
mvn project-info-reports:dependencies
@bvolpato
bvolpato / cmd.sh
Created April 1, 2016 20:35
Open and Join Hangouts
# Open and Join Hangout automatically on Mac OS X + Google Chrome :)
# It's good to join standup every day automatically with Automator.
open "https://plus.google.com/hangouts/_/domain.com/user?authuser=<email_to_join_with>"
osascript -e "
tell application \"Google Chrome\"
execute front window's active tab javascript \"!function(){function e(e){var t=document.createElement('script');t.setAttribute('src','https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js'),t.addEventListener('load',function(){var t=document.createElement('script');t.textContent='('+e.toString()+')();',document.body.appendChild(t)},!1),document.body.appendChild(t)}function t(){function e(e,t){evt=document.createEvent('MouseEvents'),evt.initMouseEvent(t,!0,!0,document.defaultView,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(evt)}function n(t){e(t,'mouseover'),e(t,'mousedown'),e(t,'mouseup'),e(t,'mouseout')}var o=30;\$('div[role=button]').each(function(e,t){0>=o||\$(t).html().indexOf('Join')>=0&&(n(t),o=0)}),o-- >0&&setTimeout