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/python | |
### Simple RegExp-Driven URL Extractor (20141012.0118) by IceDragon | |
# | |
import re, sys, os | |
RE_ANCHOR_DQUOTES = re.compile('<a [^>]*href="([^"]*)"[^>]*>') | |
RE_ANCHOR_SQUOTES = re.compile("<a [^>]*href=s([^']*)s[^>]*>") |
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
###--# PhotoBucket URL Extractor 0.1 [20140730-2207] | |
# | |
# This script retrieves a library/album page from a given URL using urllib2 and | |
# extracts all the URLs to the full images featured in that page. The URLs are | |
# printed to stdout and can later be redirected through the shell. | |
# | |
# Author: IceDragon <icedragon at quickfox org> | |
import urllib2 | |
import re |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Gyazo Image Extractor</title> | |
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<script> | |
var AUTOUPDATE_TIMEOUT = null; | |
function getImageUrl(input) { | |
var result = ""; |
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
#include <string.h> | |
#include <sys/mman.h> | |
int main(void) { | |
char rawr[] = "Rawr!\n"; | |
char bytecode[] = { | |
0x60, // pusha | |
0xb8, 0x04, 0x00, 0x00, 0x00, // mov eax, 4 | |
0xbb, 0x01, 0x00, 0x00, 0x00, // mov ebx, 1 | |
0xb9, /* for rawr */ 0,0,0,0, // mov ecx, 0 |
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
#!/system/xbin/bash | |
# This script helps block access to specific addresses via an Android phone. | |
# NOTE: This script must be run as root! | |
# | |
# Author: IceDragon <[email protected]> | |
hosts=" | |
mobileads.msn.com | |
track.mobiyield.com | |
" |
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
;;; Cellphone Permutation Generator v1.0 | |
; | |
; This is part of the Israeli cellphone permutation generator. This file | |
; implements the _start() function and provides a couple of functions, among | |
; which there's the generator. | |
; | |
; print(int fd, char* str) | |
; Prints a string to STDOUT | |
; | |
; int generate(int prefixDigit, char* filename) |
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
###--# MetroDan Bus Tracker / Announcer 0.5.1a | |
# (c) 2013-2014 by IceDragon - All rights reserved | |
# | |
# This script Polls MetroDan "real-time" bus website and keeps the user | |
# informed of the buses they are interested in via Speech To Text. | |
# | |
# This script is still work-in-progress. | |
# | |
# Author: IceDragon <icedragon at quickfox org> | |
# |
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
/** | |
* Polynom validator diagnostics class | |
* | |
* This class is responsible for checking the polynom validator, bringing up | |
* potentially suspicious polynoms that have either passed or failed, but | |
* possibly shouldn't have. | |
* | |
* Since the probability to hit those is very small, out of 1000 tests, the | |
* user will only have to check a few of those to make sure those random | |
* polynom strings are, indeed, valid (or invalid). |
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 | |
### | |
# A small script that recursively crawls a URL and fetches e-mail addresses from | |
# all the pages it can find. Written for a friend studying BASH for his Systems | |
# Engineering degree. | |
# | |
# Author: IceDragon <[email protected]> | |
# Contact: http://www.icerealm.org/contact | |
# |
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
## | |
# Path Compare Utility (20120729) | |
# | |
# A script example to help sort through different porn collections and weed out | |
# duplicate files between them! | |
# | |
# Syntax: python path-compare.py <target_path> <src_path> [src_path] [src_path] ... | |
# | |
# NOTE: There are some functions here that aren't used in main(). I left them | |
# there to be used through ipython or some other interactive shell. |
OlderNewer