This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/env python | |
#!/ -*- coding: utf-8 -*- | |
# Acts as a proxy for the requests, that's all, but instead of proxify them performs a redirection | |
# Redirection is set to http://anti-captcha.com/in.php | |
import os | |
import traceback | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/env python | |
# -*- coding: utf-8 -*- | |
# autor: erm3nda at gmail | |
# website: erm3nda.github.io | |
# searchs for content inside an image, then compares to a string, example, looking for cat inside a picture (PetFinder) | |
# if geany: Geany (f5) ads custom params when executes file, remove them if you don't wanna see errors or play yourself with term | |
import os, sys, re | |
import selenium, base64, time | |
from selenium import webdriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#! -*- coding: utf-8 -*- | |
# TODO: fix ip_firefox() and ip_socket() functions | |
# NOTE: Note that PhantomJS is blazing fast to being a fully javascript capable browser who makes the connection. | |
print "" | |
import sys, json, time, selenium, urllib, urllib2, urllib3, requests, socket | |
from selenium import webdriver | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# sample url: http://vozme.com/speech/es-fm/5d/5d40a31e1164b793c6200780c5dafb5e.mp3 | |
# set a random filename for wget tmp data (html output) | |
# used 3:-33 instead 1:-32 to avoid $1 argument clash | |
tmpfile=/tmp/`< /dev/urandom tr -dc A-Za-z0-9 | head -c${2:-33}`.txt | |
tmpaudio=/tmp/`< /dev/urandom tr -dc A-Za-z0-9 | head -c${2:-33}`.mp3 | |
# argument checking for $1 ("use quoted text") | |
if [ -z "$1" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* database.php | |
* | |
* Database access | |
* | |
* @category Data scrapper | |
* @package Blizzard | |
* @author erm3nda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_message(cursor): | |
return ( | |
cursor.getString(cursor.getColumnIndex('_id')), | |
cursor.getString(cursor.getColumnIndex('address')), | |
cursor.getString(cursor.getColumnIndex('body'))) | |
def fetch_messages(lastindex): | |
if platform == 'android': | |
uriSms = Uri.parse('content://sms') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/user/local/env python | |
# -*- coding:utf8 -*- | |
import os | |
import platform | |
filename = "registros" | |
if not os.path.isfile(filename): | |
open(filename, "w+").close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# OpenVPN road warrior installer for Debian, Ubuntu and CentOS | |
# This script will work on Debian, Ubuntu, CentOS and probably other distros | |
# of the same families, although no support is offered for them. It isn't | |
# bulletproof but it will probably work if you simply want to setup a VPN on | |
# your Debian/Ubuntu/CentOS box. It has been designed to be as unobtrusive and | |
# universal as possible. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from sys import argv,exit | |
import urllib2 | |
import urllib | |
import json | |
print '\033[1;32m[+]\033[0m Reverse ip lookup by MMxM' | |
if(len(argv) != 2): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2013-07-11 | |
# | |
# _______________| netspeed : check download speed via command line. | |
# | |
# Usage: netspeed [tokyo, london, usw, use, east, west, URL] | |
# ^default U.S. west coast. | |
# [ -speed_KB/sec ] | |
# ^negation activates the Mbps converter. | |
# |