Skip to content

Instantly share code, notes, and snippets.

I'm still working on my masterpiece

Mahdi Perfect mahdi13

I'm still working on my masterpiece
Block or report user

Report or block mahdi13

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import json
import requests
Created by @mahdi13
The RPC HTTP API client of viabtc exchange server (
View perfect-token.bytecode
"linkReferences": {},
"object": "606060405234156200001057600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040805190810160405280600381526020017f5052460000000000000000000000000000000000000000000000000000000000815250600290805190602001906200009d929190620001f6565b506040805190810160405280600d81526020017f5065726665637420546f6b656e0000000000000000000000000000000000000081525060039080519060200190620000eb929190620001f6565b506012600460006101000a81548160ff021916908360ff1602179055506a52b7d2dcc80cd2e400000060058190555060055460066000736884b21c7823748481db007c7eed00054ba9f70773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550736884b21c7823748481db007c7eed00054ba9f70773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60055460405180828152602001915050604051809
mahdi13 / gist:61729ac2e0236520dbc25ead7753cb98
Created Jan 23, 2018
open-ethereum-pool mining software commands
View gist:61729ac2e0236520dbc25ead7753cb98
# Claymore
./ethdcrminer64 -epool -ewal 0xb9bb0781f80132c08f5bcf933d8d9c7cb9c37d69 -eworker zeusGPU -epsw x -mode 1 -ftime 10 -allpools 1 -esm 0
# Ethminer
./ethminer -F -G
View pptpd-ip-routs
sudo iptables -I INPUT -p tcp --dport 1723 -m state --state NEW -j ACCEPT
sudo iptables -I INPUT -p gre -j ACCEPT
sudo iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -s -j TCPMSS --clamp-mss-to-pmtu
sudo iptables-save
mahdi13 /
Last active Dec 3, 2017
Some kind of transparent proxy to implement `singleton` beautifully
Some kind of transparent proxy to implement `singleton` beautifully.
Thanks to:
* @pylover
* (again @pylover!)
mahdi13 /
Created Aug 6, 2017 — forked from pylover/
Python script to make layer 3 VPN using openssh
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
SSH VPN using pure python and openssh-client/server
Server configurations:
* Enable ip forwarding. (linux: /etc/sysctl.conf)
* Enable tunnel in openssh server config file: $ echo "PermitTunnel yes" >> /etc/ssh/sshd_config
You can’t perform that action at this time.