This file contains hidden or 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 -*- | |
import urllib2 | |
import urllib | |
import json | |
import time | |
import socket | |
public_dic={} | |
public_dic["login_email"]="" #replace your email |
This file contains hidden or 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 | |
## openssl genrsa -out key.pem 1024 | |
## openssl rsa -in key.pem -pubout -outform PEM -out pubkey.pem | |
## openssl rsa -in key.pem -pubout -outform DER -out pubkey.der | |
function hextobin($hexstr) | |
{ | |
$n = strlen($hexstr); | |
$sbin=""; |