code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
package com.trilead.ssh2.log; import com.trilead.ssh2.DebugLogger; /** * Logger - a very simple logger, mainly used during development. * Is not based on log4j (to reduce external dependencies). * However, if needed, something like log4j could easily be * hooked in. * <p> * For speed reasons, the st...
zzsuper001-linuxshell
src/com/trilead/ssh2/log/Logger.java
Java
asf20
1,195
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthInfoRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthInfoRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthInfoRequest { byte[] payload; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthInfoRequest.java
Java
asf20
1,671
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPublicKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestPublicKey.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthRequestPublicKey { byte...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthRequestPublicKey.java
Java
asf20
1,653
package com.trilead.ssh2.packets; /** * PacketGlobalAuthAgent. * * @author Kenny Root, kenny@the-b.org * @version $Id$ */ public class PacketChannelAuthAgentReq { byte[] payload; public int recipientChannelID; public PacketChannelAuthAgentReq(int recipientChannelID) { this.recipientChannelID = recipientCh...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java
Java
asf20
663
package com.trilead.ssh2.packets; /** * PacketUserauthRequestInteractive. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestInteractive.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthRequestInteractive { byte[] payload; String ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthRequestInteractive.java
Java
asf20
1,045
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketIgnore. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketIgnore.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketIgnore { byte[] payload; byte[] data; public void setData...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketIgnore.java
Java
asf20
1,169
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelOpenConfirmation. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelOpenConfirmation.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketChannelOpenConfirmation { byte[] ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketChannelOpenConfirmation.java
Java
asf20
1,889
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelOpenFailure. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelOpenFailure.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketChannelOpenFailure { byte[] payload; pu...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketChannelOpenFailure.java
Java
asf20
1,778
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketOpenSessionChannel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketOpenSessionChannel.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketOpenSessionChannel { byte[] payload; in...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketOpenSessionChannel.java
Java
asf20
1,578
package com.trilead.ssh2.packets; import com.trilead.ssh2.DHGexParameters; /** * PacketKexDhGexRequestOld. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexRequestOld.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDhGexRequestOld { byte[] ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDhGexRequestOld.java
Java
asf20
690
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; import com.trilead.ssh2.util.Tokenizer; /** * TypesReader. * * @author Christian Plattner, plattner@trilead.com * @version $Id: TypesReader.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class T...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/TypesReader.java
Java
asf20
3,904
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPassword. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestNone.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthRequestNone { byte[] payload;...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthRequestNone.java
Java
asf20
1,576
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthBanner. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthFailure.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthFailure { byte[] payload; String[] a...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthFailure.java
Java
asf20
1,328
package com.trilead.ssh2.packets; import java.io.UnsupportedEncodingException; import java.math.BigInteger; /** * TypesWriter. * * @author Christian Plattner, plattner@trilead.com * @version $Id: TypesWriter.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class TypesWriter { byte arr[]; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/TypesWriter.java
Java
asf20
3,273
package com.trilead.ssh2.packets; /** * PacketGlobalTrileadPing. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalTrileadPing.java,v 1.1 2008/03/03 07:01:36 cplattne Exp $ */ public class PacketGlobalTrileadPing { byte[] payload; public PacketGlobalTrileadPing() ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketGlobalTrileadPing.java
Java
asf20
612
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPassword. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestPassword.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthRequestPassword { byte[] ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthRequestPassword.java
Java
asf20
1,736
package com.trilead.ssh2.packets; import java.io.IOException; import java.security.SecureRandom; import com.trilead.ssh2.compression.CompressionFactory; import com.trilead.ssh2.crypto.CryptoWishList; import com.trilead.ssh2.transport.KexParameters; /** * PacketKexInit. * * @author Christian Platt...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexInit.java
Java
asf20
4,829
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDhGexGroup. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexGroup.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDhGexGroup { byte[...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDhGexGroup.java
Java
asf20
1,067
package com.trilead.ssh2.packets; /** * PacketSessionStartShell. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionStartShell.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionStartShell { byte[] payload; public int recipientChannelID; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionStartShell.java
Java
asf20
828
package com.trilead.ssh2.packets; import com.trilead.ssh2.DHGexParameters; /** * PacketKexDhGexRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDhGexRequest { byte[] payload; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDhGexRequest.java
Java
asf20
822
package com.trilead.ssh2.packets; import java.math.BigInteger; /** * PacketKexDHInit. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDHInit.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDHInit { byte[] payload; BigInteger e; public Pac...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDHInit.java
Java
asf20
603
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDhGexReply. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexReply.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDhGexReply { byt...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDhGexReply.java
Java
asf20
1,180
package com.trilead.ssh2.packets; /** * Packets. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Packets.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class Packets { public static final int SSH_MSG_DISCONNECT = 1; public static final int SSH_MSG_IGNORE = 2; public...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/Packets.java
Java
asf20
5,945
package com.trilead.ssh2.packets; /** * PacketChannelTrileadPing. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelTrileadPing.java,v 1.1 2008/03/03 07:01:36 * cplattne Exp $ */ public class PacketChannelTrileadPing { byte[] payload; public int recipie...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketChannelTrileadPing.java
Java
asf20
769
package com.trilead.ssh2.packets; /** * PacketSessionExecCommand. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionExecCommand.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionExecCommand { byte[] payload; public int recipientChannelID; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionExecCommand.java
Java
asf20
929
package com.trilead.ssh2.packets; /** * PacketUserauthInfoResponse. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthInfoResponse.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthInfoResponse { byte[] payload; String[] responses; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthInfoResponse.java
Java
asf20
757
package com.trilead.ssh2.packets; /** * PacketGlobalCancelForwardRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalCancelForwardRequest.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketGlobalCancelForwardRequest { byte[] payload...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketGlobalCancelForwardRequest.java
Java
asf20
962
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelWindowAdjust. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelWindowAdjust.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketChannelWindowAdjust { byte[] payload; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketChannelWindowAdjust.java
Java
asf20
1,493
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketServiceRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketServiceRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketServiceRequest { byte[] payload; String service...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketServiceRequest.java
Java
asf20
1,239
package com.trilead.ssh2.packets; /** * PacketSessionX11Request. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionX11Request.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionX11Request { byte[] payload; public int recipientChannelID; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionX11Request.java
Java
asf20
1,461
package com.trilead.ssh2.packets; /** * PacketOpenDirectTCPIPChannel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketOpenDirectTCPIPChannel.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketOpenDirectTCPIPChannel { byte[] payload; int channelID; in...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketOpenDirectTCPIPChannel.java
Java
asf20
1,490
package com.trilead.ssh2.packets; /** * PacketGlobalForwardRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalForwardRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketGlobalForwardRequest { byte[] payload; public boolean wantReply;...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketGlobalForwardRequest.java
Java
asf20
921
package com.trilead.ssh2.packets; import java.math.BigInteger; /** * PacketKexDhGexInit. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexInit.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDhGexInit { byte[] payload; BigInteger e; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDhGexInit.java
Java
asf20
620
package com.trilead.ssh2.packets; public class PacketSessionPtyResize { byte[] payload; public int recipientChannelID; public int width; public int height; public int pixelWidth; public int pixelHeight; public PacketSessionPtyResize(int recipientChannelID, int width, int height, int pixelWidth, int pixelHeigh...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionPtyResize.java
Java
asf20
912
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketDisconnect. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketDisconnect.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class PacketDisconnect { byte[] payload; int reason; String des...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketDisconnect.java
Java
asf20
1,267
package com.trilead.ssh2.packets; /** * PacketSessionSubsystemRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionSubsystemRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionSubsystemRequest { byte[] payload; public int recip...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionSubsystemRequest.java
Java
asf20
990
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketServiceAccept. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketServiceAccept.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class PacketServiceAccept { byte[] payload; String serviceN...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketServiceAccept.java
Java
asf20
1,386
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthBanner. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthBanner.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketUserauthBanner { byte[] payload; String message...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketUserauthBanner.java
Java
asf20
1,401
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketNewKeys. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketNewKeys.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketNewKeys { byte[] payload; public PacketNewKeys() { } ...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketNewKeys.java
Java
asf20
1,027
package com.trilead.ssh2.packets; /** * PacketSessionPtyRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionPtyRequest.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketSessionPtyRequest { byte[] payload; public int recipientChannelID; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketSessionPtyRequest.java
Java
asf20
1,574
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDHReply. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDHReply.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDHReply { byte[] payload...
zzsuper001-linuxshell
src/com/trilead/ssh2/packets/PacketKexDHReply.java
Java
asf20
1,155
package com.trilead.ssh2; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.channel.Channel; import com.trilead.ssh2.channel.ChannelManager; import com.trilead.ssh2.channel.X11ServerData; /** * A <code>Sess...
zzsuper001-linuxshell
src/com/trilead/ssh2/Session.java
Java
asf20
17,299
package com.trilead.ssh2.transport; /** * NegotiatedParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiatedParameters.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class NegotiatedParameters { public boolean guessOK; public String kex_algo; public Stri...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/NegotiatedParameters.java
Java
asf20
687
package com.trilead.ssh2.transport; /** * NegotiateException. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiateException.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class NegotiateException extends Exception { private static final long serialVersionUID = 368991...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/NegotiateException.java
Java
asf20
340
package com.trilead.ssh2.transport; import java.io.IOException; /** * MessageHandler. * * @author Christian Plattner, plattner@trilead.com * @version $Id: MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public interface MessageHandler { public void handleMessage(byte[] msg, int msgl...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/MessageHandler.java
Java
asf20
348
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import com.trilead.ssh2.Connection; /** * ClientServerHello. * * @author Christian Plattner, plattner@trilead.com * @version $Id: C...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/ClientServerHello.java
Java
asf20
2,740
package com.trilead.ssh2.transport; /** * KexParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: KexParameters.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class KexParameters { public byte[] cookie; public String[] kex_algorithms; public String[] server_hos...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/KexParameters.java
Java
asf20
843
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.UnknownHostException; import java.security.SecureRandom; import java.util.Vector; ...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/TransportManager.java
Java
asf20
19,652
package com.trilead.ssh2.transport; import java.math.BigInteger; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.crypto.dh.DhExchange; import com.trilead.ssh2.crypto.dh.DhGroupExchange; import com.trilead.ssh2.packets.PacketKexInit; /** * KexState. * * @author Christian Plattner, p...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/KexState.java
Java
asf20
746
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.compression.ICompressor; import com.trilead.ssh2.crypto.cipher.BlockCipher; import com.trilead.ssh2.crypto.cipher.CipherInputSt...
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/TransportConnection.java
Java
asf20
9,543
package com.trilead.ssh2.transport; import java.io.IOException; import java.security.SecureRandom; import com.trilead.ssh2.ConnectionInfo; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.ServerHostKeyVerifier; import com.trilead.ssh2.compression.CompressionFactory; import com.trilead.ssh2....
zzsuper001-linuxshell
src/com/trilead/ssh2/transport/KexManager.java
Java
asf20
18,503
package com.trilead.ssh2; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * A very basic <code>SCPClien...
zzsuper001-linuxshell
src/com/trilead/ssh2/SCPClient.java
Java
asf20
19,045
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; /** * LocalAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: LocalAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplatt...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/LocalAcceptThread.java
Java
asf20
2,810
package com.trilead.ssh2.channel; /** * RemoteForwardingData. Data about a requested remote forwarding. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteForwardingData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class RemoteForwardingData { public String bindAdd...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/RemoteForwardingData.java
Java
asf20
397
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public cl...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/RemoteAcceptThread.java
Java
asf20
2,493
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.OutputStream; /** * ChannelOutputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelOutputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public final class ChannelOutputStream extend...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/ChannelOutputStream.java
Java
asf20
1,454
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; /** * ChannelInputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelInputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public final class ChannelInputStream extends ...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/ChannelInputStream.java
Java
asf20
1,646
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; /** * A StreamForwarder forwards data between two given streams. * If two StreamForwarder threads are used (one for each direction) * then one can be configure...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/StreamForwarder.java
Java
asf20
2,115
package com.trilead.ssh2.channel; /** * X11ServerData. Data regarding an x11 forwarding target. * * @author Christian Plattner, plattner@trilead.com * @version $Id: X11ServerData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ * */ public class X11ServerData { public String hostname; public int po...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/X11ServerData.java
Java
asf20
416
package com.trilead.ssh2.channel; /** * Channel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Channel.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class Channel { /* * OK. Here is an important part of the JVM Specification: * (http://java.sun.com/docs/books/v...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/Channel.java
Java
asf20
6,205
package com.trilead.ssh2.channel; /** * IChannelWorkerThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: IChannelWorkerThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ interface IChannelWorkerThread { public void stopWorking(); }
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/IChannelWorkerThread.java
Java
asf20
285
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/DynamicAcceptThread.java
Java
asf20
7,051
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/AuthAgentForwardThread.java
Java
asf20
10,812
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteX11AcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteX11AcceptThr...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/RemoteX11AcceptThread.java
Java
asf20
7,219
package com.trilead.ssh2.channel; import java.io.IOException; import java.util.HashMap; import java.util.Vector; import com.trilead.ssh2.AuthAgentCallback; import com.trilead.ssh2.ChannelCondition; import com.trilead.ssh2.log.Logger; import com.trilead.ssh2.packets.PacketChannelAuthAgentReq; import com.tr...
zzsuper001-linuxshell
src/com/trilead/ssh2/channel/ChannelManager.java
Java
asf20
47,171
package com.trilead.ssh2.sftp; /** * * SFTP Attribute Bits for the "attrib-bits" and "attrib-bits-valid" fields * of the SFTP ATTR data type. * <p> * Yes, these are the "attrib-bits", even though they have "_FLAGS_" in * their name. Don't ask - I did not invent it. * <p> * "<i>These fields, taken ...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/AttribBits.java
Java
asf20
5,233
package com.trilead.ssh2.sftp; /** * * Permissions for the 'permissions' field in the SFTP ATTRS data type. * <p> * "<i>The 'permissions' field contains a bit mask specifying file permissions. * These permissions correspond to the st_mode field of the stat structure * defined by POSIX [IEEE.1003-1.199...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/AttribPermissions.java
Java
asf20
1,047
package com.trilead.ssh2.sftp; /** * * Attribute Flags. The 'valid-attribute-flags' field in * the SFTP ATTRS data type specifies which of the fields are actually present. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttribFlags.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ *...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/AttribFlags.java
Java
asf20
3,256
package com.trilead.ssh2.sftp; /** * * Types for the 'type' field in the SFTP ATTRS data type. * <p> * "<i>On a POSIX system, these values would be derived from the mode field * of the stat structure. SPECIAL should be used for files that are of * a known type which cannot be expressed in the protoco...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/AttribTypes.java
Java
asf20
1,076
package com.trilead.ssh2.sftp; /** * * SFTP Error Codes * * @author Christian Plattner, plattner@trilead.com * @version $Id: ErrorCodes.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class ErrorCodes { public static final int SSH_FX_OK = 0; public static final int SSH_FX_EOF = 1; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/ErrorCodes.java
Java
asf20
5,772
package com.trilead.ssh2.sftp; /** * * SFTP Paket Types * * @author Christian Plattner, plattner@trilead.com * @version $Id: Packet.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class Packet { public static final int SSH_FXP_INIT = 1; public static final int SSH_FXP_VERSION = 2; p...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/Packet.java
Java
asf20
1,505
package com.trilead.ssh2.sftp; /** * * Values for the 'text-hint' field in the SFTP ATTRS data type. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttrTextHints.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class AttrTextHints { /** * The server knows the fi...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/AttrTextHints.java
Java
asf20
1,089
package com.trilead.ssh2.sftp; /** * * SFTP Open Flags. * * The following table is provided to assist in mapping POSIX semantics * to equivalent SFTP file open parameters: * <p> * TODO: This comment should be moved to the open method. * <p> * <ul> * <li>O_RDONLY * <ul><li>desired-access = RE...
zzsuper001-linuxshell
src/com/trilead/ssh2/sftp/OpenFlags.java
Java
asf20
7,930
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2001 Lapo Luchini. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
zzsuper001-linuxshell
src/com/jcraft/jzlib/ZInputStream.java
Java
asf20
4,279
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2001 Lapo Luchini. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
zzsuper001-linuxshell
src/com/jcraft/jzlib/ZOutputStream.java
Java
asf20
4,315
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/JZlib.java
Java
asf20
2,803
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain th...
zzsuper001-linuxshell
src/com/jcraft/jzlib/ZStreamException.java
Java
asf20
1,931
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/InfCodes.java
Java
asf20
16,042
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code ...
zzsuper001-linuxshell
src/com/jcraft/jzlib/InfTree.java
Java
asf20
19,238
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/Tree.java
Java
asf20
14,868
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/InfBlocks.java
Java
asf20
15,158
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code ...
zzsuper001-linuxshell
src/com/jcraft/jzlib/ZStream.java
Java
asf20
6,990
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/Inflate.java
Java
asf20
11,302
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/StaticTree.java
Java
asf20
6,164
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/Adler32.java
Java
asf20
3,289
/* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2000,2001,2002,2003 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above...
zzsuper001-linuxshell
src/com/jcraft/jzlib/Deflate.java
Java
asf20
54,205
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meiner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it un...
zzsuper001-linuxshell
src/de/mud/terminal/vt320.java
Java
asf20
95,581
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
zzsuper001-linuxshell
src/de/mud/terminal/VDUDisplay.java
Java
asf20
1,290
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
zzsuper001-linuxshell
src/de/mud/terminal/Precomposer.java
Java
asf20
30,428
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Mei�ner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
zzsuper001-linuxshell
src/de/mud/terminal/VDUBuffer.java
Java
asf20
26,114
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
zzsuper001-linuxshell
src/de/mud/terminal/VDUInput.java
Java
asf20
2,742
/* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * * --LICENSE NOTICE-- * This program is free software; you can redistribute it and/or * modify it u...
zzsuper001-linuxshell
src/de/mud/telnet/TelnetProtocolHandler.java
Java
asf20
20,838
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** SOCKS5 request/response message. */ public class Socks5Message extends ProxyMessage...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/Socks5Message.java
Java
asf20
9,049
package net.sourceforge.jsocks; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** SOCKS4 Reply/Request message. */ public class Socks4Message extends ProxyMessage{ ...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/Socks4Message.java
Java
asf20
4,699
package net.sourceforge.jsocks; /** This interface provides for datagram encapsulation for SOCKSv5 protocol. <p> SOCKSv5 allows for datagrams to be encapsulated for purposes of integrity and/or authenticity. How it should be done is aggreed during the authentication stage, and is authentication dependent. T...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/UDPEncapsulation.java
Java
asf20
1,304
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; /** Abstract class Proxy, base for classes Socks4Proxy and S...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/Proxy.java
Java
asf20
12,567
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** SocksServerSocket allows to accept connections from one particular host through the SOCKS4 or SOCKS5 proxy. */ public class SocksServerSocket extends ServerSocket{ //Data members protected Proxy proxy; protected String...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/SocksServerSocket.java
Java
asf20
4,759
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** Abstract class which describes SOCKS4/5 response/request. */ public abstract class ProxyMessage{ /** Host as an IP...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/ProxyMessage.java
Java
asf20
3,297
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PushbackInputStream; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** An implementation of Serve...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/server/ServerAuthenticatorNone.java
Java
asf20
5,018
package net.sourceforge.jsocks.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.DatagramPacket; import java.net.Socket; import net.sourceforge.jsocks.ProxyMessage; import net.sourceforge.jsocks.UDPEncapsulation; /** Classes implementing this in...
zzsuper001-linuxshell
src/net/sourceforge/jsocks/server/ServerAuthenticator.java
Java
asf20
4,521