Files
ServerSync/lib/paramiko/__pycache__/proxy.cpython-314.pyc

51 lines
5.1 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
u<10>i(<00><00><><00>^RIt^RIt^RIt^RIHt^RIt^RItRRutt^RIt^RI
H t ^RI H t !RR] 4tR# ]d t ] tRt A L'Rt A ii;i)<07>N)<01>select)<01>ProxyCommandFailure)<01>ClosingContextManagerc<00>ba<00>]tRt^'toRtRtRtRtRt] R4t
] R4t Rt R t VtR
#) <0B> ProxyCommanda<64>
Wraps a subprocess running ProxyCommand-driven programs.
This class implements a the socket-like interface needed by the
`.Transport` and `.Packetizer` classes. Using this class instead of a
regular socket makes it possible to talk with a Popen'd command that will
proxy traffic between the client and a server hosted in another machine.
Instances of this class may be used as context managers.
c <0C><00>\f\h\P!V4Vn\P
!VP\P \P \P ^R7VnRVnR#)z<>
Create a new CommandProxy instance. The instance created by this
class can be passed as an argument to the `.Transport` class.
:param str command_line:
the command that should be executed and used as the proxy.
N)<04>stdin<69>stdout<75>stderr<72>bufsize) <09>
subprocess<EFBFBD>subprocess_import_error<6F>shlex<65>split<69>cmd<6D>Popen<65>PIPE<50>process<73>timeout)<02>self<6C> command_lines&&<26>5/tmp/pip-target-zhdecbcm/lib/python/paramiko/proxy.py<70>__init__<5F>ProxyCommand.__init__3sZ<00><00> <16> <1D>)<29> )<29><18>;<3B>;<3B>|<7C>,<2C><04><08>!<21>'<27>'<27> <10>H<EFBFBD>H<EFBFBD><1C>/<2F>/<2F><1D>?<3F>?<3F><1D>?<3F>?<3F><15> 
<EFBFBD><04> <0C><1C><04> <0C>c <0C><><00>VPPPV4\T4# \d5p\ RP TP 4TP4hRp?ii;i)z<>
Write the content received from the SSH client to the standard
input of the forked command.
:param str content: string to be sent to the forked command
<EFBFBD> N) rr <00>write<74>IOErrorr<00>joinr<00>strerror<6F>len)r<00>content<6E>es&& r<00>send<6E>ProxyCommand.sendGs`<00><00> F<01> <10>L<EFBFBD>L<EFBFBD> <1E> <1E> $<24> $<24>W<EFBFBD> -<2D><13>7<EFBFBD>|<7C><1B><> <17> F<01>
&<26>c<EFBFBD>h<EFBFBD>h<EFBFBD>t<EFBFBD>x<EFBFBD>x<EFBFBD>&8<>!<21>*<2A>*<2A>E<> E<><45>  F<01>s<00>%2<00> A1<03>/A,<03>,A1c <0C>4<00>Rp\P!4p\V4V8Ed RpVPeU\P!4V,
pWPP8<>d\P!4hVPV,
p\ VP
P ...V4wrgpV'gK<>V^,VP
P 8XgK<>V\P!VP
P P4V\V4,
4, pEKV# \PdX'dTu#h\d5p \RPTP4T P4hRp ? ii;i)z<>
Read from the standard output of the forked program.
:param int size: how many chars should be read
:return: the string of bytes read, which may be shorter than requested
rNr)<0F>timer"r<00>socketrrr
<00>os<6F>read<61>filenorrr rr!)
r<00>size<7A>buffer<65>start<72>select_timeout<75>elapsed<65>r<>w<>xr$s
&& r<00>recv<63>ProxyCommand.recvXs'<00><00> F<01><18>F<EFBFBD><18>I<EFBFBD>I<EFBFBD>K<EFBFBD>E<EFBFBD><15>f<EFBFBD>+<2B><04>$<24>!%<25><0E><17><<3C><<3C>+<2B>"<22>i<EFBFBD>i<EFBFBD>k<EFBFBD>E<EFBFBD>1<>G<EFBFBD><1E>,<2C>,<2C>.<2E>$<24>n<EFBFBD>n<EFBFBD>.<2E>.<2E>%)<29>\<5C>\<5C>G<EFBFBD>%;<3B>N<EFBFBD> <20>$<24>,<2C>,<2C>"5<>"5<>!6<><02>B<EFBFBD><0E>O<><07><01>a<EFBFBD><14>1<EFBFBD><11>1<EFBFBD><14><14><1C><1C>!4<>!4<>4<><1A>b<EFBFBD>g<EFBFBD>g<EFBFBD><1C> <0C> <0C>+<2B>+<2B>2<>2<>4<>d<EFBFBD>S<EFBFBD><16>[<5B>6H<36><16><16>F<EFBFBD><1A>M<EFBFBD><4D><15>~<7E>~<7E> <12><15><1D> <0A> <11><16> F<01>%<25>c<EFBFBD>h<EFBFBD>h<EFBFBD>t<EFBFBD>x<EFBFBD>x<EFBFBD>&8<>!<21>*<2A>*<2A>E<> E<><45> F<01>s7<00>B7D7<00>>D7<00>"AD7<00>7F<03>F<03> F<03>"F<03>#/F<03>Fc<08>x<00>\P!VPP\P
4R#<00>N)r*<00>killr<00>pid<69>signal<61>SIGTERM<52>rs&r<00>close<73>ProxyCommand.closeys<00><00>
<EFBFBD><07><07><04> <0C> <0C> <20> <20>&<26>.<2E>.<2E>1rc<08>2<00>VPPRJ#r8)r<00>
returncoder=s&r<00>closed<65>ProxyCommand.closed|s<00><00><13>|<7C>|<7C>&<26>&<26>d<EFBFBD>2<>2rc<08><00>VP#r8)rBr=s&r<00>_closed<65>ProxyCommand._closed<65>s<00><00><14>{<7B>{<7B>rc<08><00>WnR#r8)r)rrs&&r<00>
settimeout<EFBFBD>ProxyCommand.settimeout<75>s<00><00><1E> r)rrrN)<0F>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__rr%r5r><00>propertyrBrErH<00>__static_attributes__<5F>__classdictcell__)<01> __classdict__s@rrr'sR<00><><00><00> <08><1C>(<1C>"F<01>B2<><0E>3<><0E>3<><0E><1B><0E><1B><1F>rr)r*rr;rr)r(r r<00> ImportErrorr$<00>paramiko.ssh_exceptionr<00> paramiko.utilrr<00>rr<00><module>rWs_<00><01>(
<EFBFBD> <0C> <0A><19> <0A> <0B>'+<2B>D<EFBFBD>#<23>
<EFBFBD> #<23> <20><15>7<>/<2F>_<1F>(<28>_<1F><><13> <20><1F><1B><> <20>s<00>><00>A<03>A <03> A