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
from StringIO import StringIO | |
import gzip, BeautifulSoup, sys, urllib2, urllib | |
main_url = "http://lirik.kapanlagi.com" | |
def buka(url): | |
request = urllib2.Request(url) | |
request.add_header('Accept-encoding', 'gzip') | |
response = urllib2.urlopen(request) | |
if response.info().get('Content-Encoding') == 'gzip': | |
buf = StringIO( response.read()) |
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
# PS: | |
# - Extract your own kaskus oauth consumer_key & consumer_secret frm native app. Ref: http://seriot.ch/abusing_twitter_api.php#3 | |
# - No public doc found, but here i attach an api sample sniffed from mitmproxy | |
import urllib, urllib2 | |
import time | |
import oauth.oauth as oauth | |
import string | |
import random | |
import sys, json |
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
# this tools will help you to generate a twitter tokens for bulk twitter accounts using PIN-based authorization twitter app. | |
# eg: Twitter for Iphone | |
# todo: save your bulk twitter accounts to pasukan.txt, line separated each account. | |
# format: username:password | |
# - Revealing Twitter for iPhone consumer key & secret - Ref: http://seriot.ch/abusing_twitter_api.php#3 | |
import os | |
dirname, filename = os.path.split(os.path.abspath(__file__)) |
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
Best paired with these JS: | |
http://www.jesseweisbeck.com/crossword/ | |
Usage: crossword.py [options] | |
Options: | |
-h, --help show this help message and exit | |
-r ROWS, --rows=ROWS Set row height | |
-c COLUMNS, --columns=COLUMNS | |
Set column width |
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
from __future__ import absolute_import | |
import os | |
from subprocess import Popen, PIPE | |
import datetime | |
import time | |
from celery import Celery | |
from celery import states | |
from os.path import dirname, join |
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 | |
# scrape all leaked bitcoin private keys into a tab separated text | |
# <private key>\t<bitcoin_address> | |
# | |
# support autoresume. just add these line into your cron : * * * * bash bitcoinkey.sh | |
# results stored on keys.txt | |
if [ ! -f last.page ]; then prev=`echo 0`; else prev=`cat last.page`; fi; | |
if [ -z $1 ]; then akhir=`echo 10`; else akhir=`echo $1`; fi; | |
abis=$(($prev+$akhir)) |
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
pip install selenium | |
python namecheap.py <namecheap_account> <namecheap_password> <domain> |
OlderNewer