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 | |
import os | |
import subprocess | |
from signal import * | |
import re | |
import getpass | |
import urllib2 | |
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/bin/bash | |
NAME=CustomDns | |
cat > $NAME.java <<EOF | |
import java.net.*; | |
import java.io.*; | |
class $NAME { | |
public static void main(String[] args) throws Exception { | |
System.setProperty("sun.net.spi.nameservice.nameservers", "127.0.0.1,114.114.114.114"); | |
//System.setProperty("sun.net.spi.nameservice.provider.1", "dns,sun"); |
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
begin 777 portal.bin | |
M(R!796QC;VUE#0H-"B,C($ME>0T*#0I24T$@4'5B;&EC($ME>3H@*$XL(#<I | |
M#0I.(#T@,C,S("H@30T*32!I<R!T:&4@9W)E871E<W0@9F]U<BUD:6=I="!P | |
M<FEM92!T:&%T(&UA:V5S($X@96YD('=I=&@@,C,S#0H-"B,C($5N8W)Y<'1E | |
M9"!!=61I="!142!G<F]U<"!N=6UB97(-"@T*5&AE($%U9&ET(%%1(&=R;W5P | |
M(&YU;6)E<B!I<R!E;F-R>7!T960@=VET:"!T:&4@*BI24T$@4'5B;&EC($ME | |
M>2HJ+@T*#0I@8&`-"D-/3D-!5"A$14-265!4*#$Y-S,W,BDN=&]3=')I;F<H | |
M*2P@1$5#4EE05"@S,S,P-SDI+G1O4W1R:6YG*"DI#0I@8&`-"@T*(R!#05!4 | |
M0TA!#0I5<V4@=&AI<R!G:7-T(')E=FES:6]N(&`W9#(S939E.3DY-&)B-F9A | |
M93@W-&1A8C,U930V9F0W-6(Y9&0Q-6)E8"!R97-U;'0@87,@0T%05$-(02X- |
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
diff -puNrb openwrt/target/linux/mr-mips/base-files/etc/hotplug2-init.rules openwrt-new/target/linux/mr-mips/base-files/etc/hotplug2-init.rules | |
--- openwrt/target/linux/mr-mips/base-files/etc/hotplug2-init.rules 1970-01-01 01:00:00.000000000 +0100 | |
+++ openwrt-new/target/linux/mr-mips/base-files/etc/hotplug2-init.rules 2014-01-09 14:06:32.000000000 +0000 | |
@@ -0,0 +1,8 @@ | |
+$include /etc/hotplug2-common.rules | |
+ | |
+DEVICENAME ~~ (hvc) { | |
+ nothrottle | |
+ makedev /dev/%DEVICENAME% 0666 | |
+ next |
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
// Copyright 2016 Zealic | |
// gcc -std=c99 -o love-letter love-letter.c && ./love-letter | |
#include <stdio.h> | |
#include <time.h> | |
#define UNTIL(n) ((rand() %('U'+1-'I'))+'I')!= 'U' | |
#define THOSE_DAY_ARE_GONE(x) srand(time(NULL)); | |
#define SAY(u) printf ( "\u2764 %s\n" , u); | |
#include /* You into my life */<stdlib.h> | |
#define/* Great ❤ Romance */ BEGIN { |
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
import sys | |
import base64 | |
text = sys.stdin.read() | |
data = base64.b64decode(text) | |
decrypted = "" | |
for i in range(len(data)): | |
decrypted += chr(ord(data[i]) >> 1) |