Skip to content

Instantly share code, notes, and snippets.

View membrive's full-sized avatar

Fernando Membrive Guillén membrive

View GitHub Profile
@membrive
membrive / pcapySniffer.py
Created August 31, 2017 13:51
A very simple python-pcapy example for monitor mode WiFi sniffing
#!/usr/bin/python
#
# A very simple python-pcapy example for monitor mode WiFi sniffing.
#
# Usage example:
# $ python pcapySniffer.py mon0
import pcapy
import sys
import os
@membrive
membrive / bp.py
Created August 31, 2017 13:44
Script to check the value of a market in Bittrex.
#!/usr/bin/env python3
import json
import requests
import sys
if len(sys.argv) <= 1:
print('Usage: bp [market]')
exit(1)
@membrive
membrive / myip.sh
Created August 31, 2017 13:40
Check Ipify to know your public IP
#!/bin/bash
ip=$(curl -s https://api.ipify.org)
echo "Current public IP address: $ip"