コード例 #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
ファイル: basechatter.py プロジェクト: thorlund/pwntools
    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
ファイル: shellcode_helper.py プロジェクト: 7h3rAm/pwntools
def no_support(name, os, arch):
    pwn.bug("OS/arch combination (%s, %s) is not supported for %s" % (os, arch, name))
コード例 #4
0
ファイル: basechatter.py プロジェクト: thorlund/pwntools
 def _send(self, *dat):
     pwn.bug('This should be implemented in the sub-class')
コード例 #5
0
ファイル: basechatter.py プロジェクト: thorlund/pwntools
 def close(self):
     pwn.bug('This should be implemented in the sub-class')
コード例 #6
0
ファイル: basechatter.py プロジェクト: thorlund/pwntools
 def connected(self):
     pwn.bug('This should be implemented in the sub-class')
コード例 #7
0
ファイル: basechatter.py プロジェクト: thorlund/pwntools
 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
ファイル: shellcode_helper.py プロジェクト: yudevan/pwntools
def no_support(name, os, arch):
    pwn.bug("OS/arch combination (%s, %s) is not supported for %s" %
            (os, arch, name))