예제 #1
0
    def _recv(self, numb):
        '''The semantics of recv is that it should return up to numb-bytes as soon as any bytes are available.
        If no bytes are available within self.timeout seconds, it should return the empty string.

        In the event that further communication is impossible (such as a closed socket) a suitable exception should be raised.
        '''
        pwn.bug('This should be implemented in the sub-class')
예제 #2
0
    def _recv(self, numb):
        '''The semantics of recv is that it should return up to numb-bytes as soon as any bytes are available.
        If no bytes are available within self.timeout seconds, it should return the empty string.

        In the event that further communication is impossible (such as a closed socket) a suitable exception should be raised.
        '''
        pwn.bug('This should be implemented in the sub-class')
예제 #3
0
def no_support(name, os, arch):
    pwn.bug("OS/arch combination (%s, %s) is not supported for %s" % (os, arch, name))
예제 #4
0
 def _send(self, *dat):
     pwn.bug('This should be implemented in the sub-class')
예제 #5
0
 def close(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #6
0
 def connected(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #7
0
 def fileno(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #8
0
 def _send(self, *dat):
     pwn.bug('This should be implemented in the sub-class')
예제 #9
0
 def close(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #10
0
 def connected(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #11
0
 def fileno(self):
     pwn.bug('This should be implemented in the sub-class')
예제 #12
0
def no_support(name, os, arch):
    pwn.bug("OS/arch combination (%s, %s) is not supported for %s" %
            (os, arch, name))