code
string
repo_name
string
path
string
language
string
license
string
size
int64
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() { } ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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; ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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....
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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 ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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(); }
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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 ...
zyh3290-conectbot
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...
zyh3290-conectbot
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 $ *...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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, ...
zyh3290-conectbot
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, ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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 ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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 ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
src/de/mud/terminal/vt320.java
Java
asf20
95,629
/* * 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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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{ ...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
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...
zyh3290-conectbot
src/net/sourceforge/jsocks/server/ServerAuthenticator.java
Java
asf20
4,521
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress; import java.net.UnknownHostException; /** Proxy which describes SOCKS4 proxy. */ public class Socks4Proxy extends Proxy implements Cloneable{ //Data members String user; //Public ...
zyh3290-conectbot
src/net/sourceforge/jsocks/Socks4Proxy.java
Java
asf20
3,109
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** * SocksSocket tryies to look very similar to normal Socket, * while allowing connections through the SOCKS4 or 5 proxy. * To use this class you will have to identify proxy you need * to use, Proxy class allows you to set default pro...
zyh3290-conectbot
src/net/sourceforge/jsocks/SocksSocket.java
Java
asf20
8,953
package net.sourceforge.jsocks; /** SOCKS5 none authentication. Dummy class does almost nothing. */ public class AuthenticationNone implements Authentication{ public Object[] doSocksAuthentication(int methodId, java.net.Socket proxySocket) throws jav...
zyh3290-conectbot
src/net/sourceforge/jsocks/AuthenticationNone.java
Java
asf20
511
package net.sourceforge.jsocks; import net.sourceforge.jsocks.server.*; import java.net.*; import java.io.*; /** UDP Relay server, used by ProxyServer to perform udp forwarding. */ class UDPRelayServer implements Runnable{ DatagramSocket client_sock; DatagramSocket remote_sock; Socket co...
zyh3290-conectbot
src/net/sourceforge/jsocks/UDPRelayServer.java
Java
asf20
6,128
package net.sourceforge.jsocks; import java.net.*; import java.io.*; /** Datagram socket to interract through the firewall.<BR> Can be used same way as the normal DatagramSocket. One should be carefull though with the datagram sizes used, as additional data is present in both incomming and outgoing dat...
zyh3290-conectbot
src/net/sourceforge/jsocks/Socks5DatagramSocket.java
Java
asf20
16,661
package net.sourceforge.jsocks; /** The Authentication interface provides for performing method specific authentication for SOCKS5 connections. */ public interface Authentication{ /** This method is called when SOCKS5 server have selected a particular authentication method, for whch an implemen...
zyh3290-conectbot
src/net/sourceforge/jsocks/Authentication.java
Java
asf20
1,667
package net.sourceforge.jsocks; /** Exception thrown by various socks classes to indicate errors with protocol or unsuccessful server responses. */ public class SocksException extends java.io.IOException{ private static final long serialVersionUID = 6141184566248512277L; /** Construct a SocksExcep...
zyh3290-conectbot
src/net/sourceforge/jsocks/SocksException.java
Java
asf20
2,670
package net.sourceforge.jsocks; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.InterruptedIOException; import java.io.OutputStream; import java.io.PrintStream; import java.io.PushbackInputStream; import java.net.ConnectException; import java.net.InetAddress;...
zyh3290-conectbot
src/net/sourceforge/jsocks/ProxyServer.java
Java
asf20
17,822
package net.sourceforge.jsocks; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Enumeration; import java.util.Hashtable; /** SOC...
zyh3290-conectbot
src/net/sourceforge/jsocks/Socks5Proxy.java
Java
asf20
7,632
/** * Originally from http://www.cornetdesign.com/files/BeanTestCase.java.txt */ package org.connectbot.mock; import junit.framework.TestCase; import java.lang.reflect.Field; public class BeanTestCase extends TestCase { private static final String TEST_STRING_VAL1 = "Some Value"; private static final String TES...
zyh3290-conectbot
tests/src/org/connectbot/mock/BeanTestCase.java
Java
asf20
7,895
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/mock/NullTransport.java
Java
asf20
2,862
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/mock/NullOutputStream.java
Java
asf20
937
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/SettingsActivityTest.java
Java
asf20
1,463
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/util/PubkeyUtilsTest.java
Java
asf20
2,075
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/HostBeanTest.java
Java
asf20
2,689
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/SelectionAreaTest.java
Java
asf20
3,919
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/HostListActivityTest.java
Java
asf20
1,538
/* * 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...
zyh3290-conectbot
tests/src/org/connectbot/TerminalBridgeTest.java
Java
asf20
4,044
/* * Copyright (C) 2007 The Android Open Source Project * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
zyh3290-conectbot
jni/Exec/com_google_ase_Exec.cpp
C++
asf20
5,383
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := com_google_ase_Exec LOCAL_CFLAGS := -Werror LOCAL_SRC_FILES := com_google_ase_Exec.cpp LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY)
zyh3290-conectbot
jni/Exec/Android.mk
Makefile
asf20
220
# Build both ARMv5TE and x86-32 machine code. APP_ABI := armeabi x86
zyh3290-conectbot
jni/Application.mk
Makefile
asf20
69
include $(call all-subdir-makefiles)
zyh3290-conectbot
jni/Android.mk
Makefile
asf20
37
/* * Copyright (C) 2008 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/FileBackedOutputStream.java
Java
asf20
5,981
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/Closeables.java
Java
asf20
4,674
/* * Copyright (C) 2006 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/PatternFilenameFilter.java
Java
asf20
1,839
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/Flushables.java
Java
asf20
2,411
/* * Copyright (C) 2012 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
zyd915-repository
guava/src/com/google/common/io/BaseEncoding.java
Java
asf20
29,695
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/InputSupplier.java
Java
asf20
1,723
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/package-info.java
Java
asf20
1,649
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/CharStreams.java
Java
asf20
8,239
/* * Copyright (C) 2012 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/CharSink.java
Java
asf20
6,007
/* * Copyright (C) 2009 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/ByteProcessor.java
Java
asf20
1,589
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/CountingOutputStream.java
Java
asf20
1,866
/* * Copyright (C) 2009 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/ByteArrayDataInput.java
Java
asf20
1,836
/* * Copyright (C) 2012 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/FileWriteMode.java
Java
asf20
924
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/CountingInputStream.java
Java
asf20
2,266
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/LittleEndianDataInputStream.java
Java
asf20
6,753
/* * Copyright (C) 2007 The Guava Authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zyd915-repository
guava/src/com/google/common/io/OutputSupplier.java
Java
asf20
1,725