I hereby claim:
- I am AkechiSatori on github.
- I am satorimoe (https://keybase.io/satorimoe) on keybase.
- I have a public key whose fingerprint is 9437 3533 F374 B319 AA1B 41C5 FAF1 B82C 0919 8C83
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
function fake_email_generate($type = 'random', $length = 'random', $custom_domain = null) { | |
if ($length == 'random') { | |
$length = rand(1, 16); | |
} | |
$domain = [ | |
'google' => [ | |
'gmail.com', | |
], | |
'tencent' => [ |
<?php | |
class JSON { | |
public static function Decode($string, $return_array = false, $depth = 512, $options = 0) { | |
$res = json_decode($string, $return_array, $depth, $options); | |
if (json_last_error() !== JSON_ERROR_NONE) { | |
throw new Exception(json_last_error(), json_last_error_msg()); | |
} | |
return $res; | |
} | |
public static function Encode($array, $options = 0, $depth = 512) { |
#save as /etc/chatscripts/sim900 | |
ABORT "BUSY" | |
ABORT "VOICE" | |
ABORT "NO CARRIER" | |
ABORT "NO DIALTONE" | |
ABORT "NO DIAL TONE" | |
ABORT "NO ANSWER" | |
ABORT "DELAYED" | |
REPORT "CONNECT" | |
TIMEOUT 6 |
tls = require('tls'); | |
// callback for when secure connection established | |
function connected(stream) { | |
if (stream) { | |
// socket connected | |
stream.write("GET / HTTP/1.0\n\rHost: encrypted.google.com:443\n\r\n\r"); | |
} else { | |
console.log("Connection failed"); | |
} |
import java.util.Base64; | |
class Main { | |
public static String key = "Encrypt"; | |
public static void main(String[] args) { | |
if (args[0].equals("decrypt")) { | |
System.out.println(decrypt(args[1]));; | |
}else{ | |
System.out.println(encrypt(args[1])); |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
__author__ = 'qyh' | |
__date__ = '2018/10/16 9:22' | |
import binascii | |
from importlib.resources import path | |
from ntpath import join | |
import struct | |
import base64 |