(self, other: str = None)
| 926 | f'Real-IP: {spoof}\r\n') |
| 927 | |
| 928 | def generate_payload(self, other: str = None) -> bytes: |
| 929 | return str.encode((self._payload + |
| 930 | f"Host: {self._target.authority}\r\n" + |
| 931 | self.randHeadercontent + |
| 932 | (other if other else "") + |
| 933 | "\r\n")) |
| 934 | |
| 935 | def open_connection(self, host=None) -> socket: |
| 936 | if self._proxies: |