--- jsch-0.1.53.zip +++ download ├── zipinfo {} │ @@ -1,194 +1,193 @@ │ -Zip file size: 365003 bytes, number of entries: 192 │ -drwxr-xr-x 2.3 unx 0 bx stor 15-Jun-05 03:25 jsch-0.1.53/ │ --rw-r--r-- 2.3 unx 8885 tx defN 15-Jun-05 03:24 jsch-0.1.53/README │ -drwxr-xr-x 2.3 unx 0 bx stor 15-Jun-03 13:45 jsch-0.1.53/examples/ │ --rw-r--r-- 2.3 unx 6166 tx defN 12-Apr-18 08:10 jsch-0.1.53/examples/ScpToNoneCipher.java │ --rw-r--r-- 2.3 unx 2163 tx defN 12-Apr-18 07:11 jsch-0.1.53/examples/ChangePassphrase.java │ --rw-r--r-- 2.3 unx 4924 tx defN 15-Mar-11 03:46 jsch-0.1.53/examples/Logger.java │ --rw-r--r-- 2.3 unx 7551 tx defN 13-May-09 07:31 jsch-0.1.53/examples/README │ --rw-r--r-- 2.3 unx 4961 tx defN 12-Apr-18 07:07 jsch-0.1.53/examples/UserAuthPubKey.java │ --rw-r--r-- 2.3 unx 5108 tx defN 12-Apr-18 08:07 jsch-0.1.53/examples/Subsystem.java │ --rw-r--r-- 2.3 unx 16770 tx defN 13-May-09 02:23 jsch-0.1.53/examples/Sftp.java │ --rw-r--r-- 2.3 unx 5023 tx defN 12-Apr-18 07:05 jsch-0.1.53/examples/PortForwardingR.java │ --rw-r--r-- 2.3 unx 5662 tx defN 12-Apr-18 07:10 jsch-0.1.53/examples/KnownHosts.java │ --rw-r--r-- 2.3 unx 4751 tx defN 12-Apr-18 07:10 jsch-0.1.53/examples/UserAuthKI.java │ --rw-r--r-- 2.3 unx 4678 tx defN 12-Apr-18 07:08 jsch-0.1.53/examples/Compression.java │ --rw-r--r-- 2.3 unx 6714 tx defN 15-May-26 01:49 jsch-0.1.53/examples/ScpTo.java │ --rw-r--r-- 2.3 unx 5850 tx defN 12-Apr-18 08:07 jsch-0.1.53/examples/Sudo.java │ --rw-r--r-- 2.3 unx 4791 tx defN 12-Apr-18 07:05 jsch-0.1.53/examples/ViaHTTP.java │ --rw-r--r-- 2.3 unx 5435 tx defN 12-Apr-18 07:12 jsch-0.1.53/examples/Daemon.java │ --rw-r--r-- 2.3 unx 4797 tx defN 12-Apr-18 08:07 jsch-0.1.53/examples/ViaSOCKS5.java │ --rw-r--r-- 2.3 unx 5950 tx defN 13-Oct-31 11:33 jsch-0.1.53/examples/Exec.java │ --rw-r--r-- 2.3 unx 6840 tx defN 12-Apr-18 07:09 jsch-0.1.53/examples/ScpFrom.java │ --rw-r--r-- 2.3 unx 4669 tx defN 13-May-27 16:32 jsch-0.1.53/examples/OpenSSHConfig.java │ --rw-r--r-- 2.3 unx 4198 tx defN 13-May-09 03:45 jsch-0.1.53/examples/Shell.java │ --rw-r--r-- 2.3 unx 4931 tx defN 12-Apr-18 07:04 jsch-0.1.53/examples/X11Forwarding.java │ --rw-r--r-- 2.3 unx 2672 tx defN 15-Mar-11 15:04 jsch-0.1.53/examples/KeyGen.java │ --rw-r--r-- 2.3 unx 5151 tx defN 13-May-09 02:21 jsch-0.1.53/examples/StreamForwarding.java │ --rw-r--r-- 2.3 unx 5053 tx defN 12-Apr-18 07:06 jsch-0.1.53/examples/PortForwardingL.java │ --rw-r--r-- 2.3 unx 4567 tx defN 12-Apr-18 07:12 jsch-0.1.53/examples/AES.java │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/tools/ │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/tools/lib/ │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/tools/bin/ │ --rw-r--r-- 2.3 unx 281 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/antRun.bat │ --rw-r--r-- 2.3 unx 3280 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/ant │ --rw-r--r-- 2.3 unx 2705 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/runant.py │ --rw-r--r-- 2.3 unx 77 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/antRun │ --rw-r--r-- 2.3 unx 3736 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/runant.pl │ --rw-r--r-- 2.3 unx 203 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/lcp.bat │ --rw-r--r-- 2.3 unx 2946 tx defN 03-May-20 06:48 jsch-0.1.53/tools/bin/ant.bat │ -drwxr-xr-x 2.3 unx 0 bx stor 15-Jun-05 03:16 jsch-0.1.53/lib/ │ --rw-r--r-- 2.3 unx 346 tx defN 06-Aug-01 09:39 jsch-0.1.53/build.sh │ --rw-r--r-- 2.3 unx 295 tx defN 03-May-20 06:48 jsch-0.1.53/build.bat │ --rw-r--r-- 2.3 unx 47622 tx defN 15-Jun-05 03:23 jsch-0.1.53/ChangeLog │ --rw-r--r-- 2.3 unx 1651 tx defN 15-Jun-05 03:24 jsch-0.1.53/LICENSE.txt │ -drwxr-xr-x 2.3 unx 0 bx stor 12-Sep-22 11:08 jsch-0.1.53/src/ │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/src/main/ │ -drwxr-xr-x 2.3 unx 0 bx stor 12-Jan-24 11:58 jsch-0.1.53/src/main/java/ │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/src/main/java/com/ │ -drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.53/src/main/java/com/jcraft/ │ -drwxr-xr-x 2.3 unx 0 bx stor 15-Jun-05 03:26 jsch-0.1.53/src/main/java/com/jcraft/jsch/ │ -[ 144 lines removed ] │ +Zip file size: 365455 bytes, number of entries: 191 │ +drwxr-xr-x 2.3 unx 0 bx stor 16-Aug-30 08:00 jsch-0.1.54/ │ +-rw-r--r-- 2.3 unx 8885 tx defN 16-Jun-16 13:49 jsch-0.1.54/README │ +drwxr-xr-x 2.3 unx 0 bx stor 16-Jun-22 16:33 jsch-0.1.54/examples/ │ +-rw-r--r-- 2.3 unx 6166 tx defN 12-Apr-18 08:10 jsch-0.1.54/examples/ScpToNoneCipher.java │ +-rw-r--r-- 2.3 unx 2163 tx defN 12-Apr-18 07:11 jsch-0.1.54/examples/ChangePassphrase.java │ +-rw-r--r-- 2.3 unx 4924 tx defN 15-Mar-11 03:46 jsch-0.1.54/examples/Logger.java │ +-rw-r--r-- 2.3 unx 7551 tx defN 13-May-09 07:31 jsch-0.1.54/examples/README │ +-rw-r--r-- 2.3 unx 4961 tx defN 12-Apr-18 07:07 jsch-0.1.54/examples/UserAuthPubKey.java │ +-rw-r--r-- 2.3 unx 5108 tx defN 12-Apr-18 08:07 jsch-0.1.54/examples/Subsystem.java │ +-rw-r--r-- 2.3 unx 16770 tx defN 13-May-09 02:23 jsch-0.1.54/examples/Sftp.java │ +-rw-r--r-- 2.3 unx 5023 tx defN 12-Apr-18 07:05 jsch-0.1.54/examples/PortForwardingR.java │ +-rw-r--r-- 2.3 unx 5662 tx defN 12-Apr-18 07:10 jsch-0.1.54/examples/KnownHosts.java │ +-rw-r--r-- 2.3 unx 4751 tx defN 12-Apr-18 07:10 jsch-0.1.54/examples/UserAuthKI.java │ +-rw-r--r-- 2.3 unx 4678 tx defN 12-Apr-18 07:08 jsch-0.1.54/examples/Compression.java │ +-rw-r--r-- 2.3 unx 6714 tx defN 15-May-26 01:49 jsch-0.1.54/examples/ScpTo.java │ +-rw-r--r-- 2.3 unx 5850 tx defN 12-Apr-18 08:07 jsch-0.1.54/examples/Sudo.java │ +-rw-r--r-- 2.3 unx 4791 tx defN 12-Apr-18 07:05 jsch-0.1.54/examples/ViaHTTP.java │ +-rw-r--r-- 2.3 unx 5435 tx defN 12-Apr-18 07:12 jsch-0.1.54/examples/Daemon.java │ +-rw-r--r-- 2.3 unx 4797 tx defN 12-Apr-18 08:07 jsch-0.1.54/examples/ViaSOCKS5.java │ +-rw-r--r-- 2.3 unx 5950 tx defN 13-Oct-31 11:33 jsch-0.1.54/examples/Exec.java │ +-rw-r--r-- 2.3 unx 6840 tx defN 12-Apr-18 07:09 jsch-0.1.54/examples/ScpFrom.java │ +-rw-r--r-- 2.3 unx 4669 tx defN 16-Jun-22 16:33 jsch-0.1.54/examples/OpenSSHConfig.java │ +-rw-r--r-- 2.3 unx 4198 tx defN 13-May-09 03:45 jsch-0.1.54/examples/Shell.java │ +-rw-r--r-- 2.3 unx 4931 tx defN 12-Apr-18 07:04 jsch-0.1.54/examples/X11Forwarding.java │ +-rw-r--r-- 2.3 unx 2672 tx defN 15-Mar-11 15:04 jsch-0.1.54/examples/KeyGen.java │ +-rw-r--r-- 2.3 unx 5151 tx defN 13-May-09 02:21 jsch-0.1.54/examples/StreamForwarding.java │ +-rw-r--r-- 2.3 unx 5053 tx defN 12-Apr-18 07:06 jsch-0.1.54/examples/PortForwardingL.java │ +-rw-r--r-- 2.3 unx 4567 tx defN 12-Apr-18 07:12 jsch-0.1.54/examples/AES.java │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/tools/ │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/tools/lib/ │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/tools/bin/ │ +-rw-r--r-- 2.3 unx 281 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/antRun.bat │ +-rw-r--r-- 2.3 unx 3280 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/ant │ +-rw-r--r-- 2.3 unx 2705 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/runant.py │ +-rw-r--r-- 2.3 unx 77 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/antRun │ +-rw-r--r-- 2.3 unx 3736 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/runant.pl │ +-rw-r--r-- 2.3 unx 203 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/lcp.bat │ +-rw-r--r-- 2.3 unx 2946 tx defN 03-May-20 06:48 jsch-0.1.54/tools/bin/ant.bat │ +drwxr-xr-x 2.3 unx 0 bx stor 16-Aug-30 07:26 jsch-0.1.54/lib/ │ +-rw-r--r-- 2.3 unx 346 tx defN 06-Aug-01 09:39 jsch-0.1.54/build.sh │ +-rw-r--r-- 2.3 unx 295 tx defN 03-May-20 06:48 jsch-0.1.54/build.bat │ +-rw-rw-r-- 2.3 unx 48411 tx defN 16-Aug-30 07:06 jsch-0.1.54/ChangeLog │ +-rw-r--r-- 2.3 unx 1651 tx defN 16-Jun-16 13:49 jsch-0.1.54/LICENSE.txt │ +drwxr-xr-x 2.3 unx 0 bx stor 12-Sep-22 11:08 jsch-0.1.54/src/ │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/src/main/ │ +drwxr-xr-x 2.3 unx 0 bx stor 12-Jan-24 11:58 jsch-0.1.54/src/main/java/ │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/src/main/java/com/ │ +drwxr-xr-x 2.3 unx 0 bx stor 11-Dec-11 04:04 jsch-0.1.54/src/main/java/com/jcraft/ │ +drwxr-xr-x 2.3 unx 0 bx stor 16-Aug-30 07:06 jsch-0.1.54/src/main/java/com/jcraft/jsch/ │ +[ 143 lines removed ] │ --- jsch-0.1.53/examples/ViaSOCKS5.java ├── +++ jsch-0.1.54/examples/ViaSOCKS5.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelSubsystem.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelSubsystem.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2005-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2005-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ForwardedTCPIPDaemon.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ForwardedTCPIPDaemon.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Channel.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Channel.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/Compression.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/Compression.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Signature.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Signature.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Request.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Request.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/HMACSHA196.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/HMACSHA196.java │┄ Files similar despite different names (difference score: 7) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelX11.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelX11.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/tools/bin/ant.bat ├── +++ jsch-0.1.54/tools/bin/ant.bat │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/TripleDESCTR.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/TripleDESCTR.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/JSchPartialAuthException.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/JSchPartialAuthException.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Cipher.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Cipher.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ECDHN.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ECDHN.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACSHA196.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACSHA196.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/JSch.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/JSch.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -32,15 +32,15 @@ │ import java.io.InputStream; │ import java.util.Vector; │ │ public class JSch{ │ /** │ * The version number. │ */ │ - public static final String VERSION = "0.1.53"; │ + public static final String VERSION = "0.1.54"; │ │ static java.util.Hashtable config=new java.util.Hashtable(); │ static{ │ config.put("kex", "ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1"); │ config.put("server_host_key", "ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521"); │ config.put("cipher.s2c", │ "aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc"); │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACSHA1.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACSHA1.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/X11Forwarding.java ├── +++ jsch-0.1.54/examples/X11Forwarding.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ARCFOUR128.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ARCFOUR128.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/PBKDF.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/PBKDF.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2013-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2013-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/KeyPairGenRSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/KeyPairGenRSA.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/UserAuthPubKey.java ├── +++ jsch-0.1.54/examples/UserAuthPubKey.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SHA1.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SHA1.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Util.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Util.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/MD5.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/MD5.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES192CTR.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES192CTR.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES256CTR.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES256CTR.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SftpStatVFS.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SftpStatVFS.java │┄ Files similar despite different names (difference score: 6) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/tools/bin/ant ├── +++ jsch-0.1.54/tools/bin/ant │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SignatureECDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SignatureECDSA.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACSHA256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACSHA256.java │┄ Files similar despite different names (difference score: 6) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ProxySOCKS5.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ProxySOCKS5.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/PBKDF.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Compression.java │┄ Files similar despite different names (difference score: 38) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2013-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -25,10 +25,14 @@ │ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING │ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, │ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ */ │ │ package com.jcraft.jsch; │ │ -public interface PBKDF { │ - byte[] getKey(byte[] pass, byte[] salt, int iteration, int size); │ +public interface Compression{ │ + static public final int INFLATER=0; │ + static public final int DEFLATER=1; │ + void init(int type, int level); │ + byte[] compress(byte[] buf, int start, int[] len); │ + byte[] uncompress(byte[] buf, int start, int[] len); │ } │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/KeyPairGenDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/KeyPairGenDSA.java │┄ Files similar despite different names (difference score: 8) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DH.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DH.java │┄ Files similar despite different names (difference score: 21) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SignatureRSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SignatureRSA.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestWindowChange.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestWindowChange.java │┄ Files similar despite different names (difference score: 19) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/LICENSE.txt ├── +++ jsch-0.1.54/LICENSE.txt │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestShell.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestShell.java │┄ Files similar despite different names (difference score: 20) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairECDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairECDSA.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ECDH.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ECDH.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/build.xml ├── +++ jsch-0.1.54/build.xml │┄ Files similar despite different names (difference score: 1) │ @@ -1,15 +1,15 @@ │ │ │ JSch is a pure Java implementation of SSH2. JSch allows you to connect to an │ sshd server and use port forwarding, X11 forwarding, file transfer, etc., and │ you can integrate its functionality into your own Java programs │ │ │ - │ + │ │ │ │ │ │ │ │ --- jsch-0.1.53/examples/ScpFrom.java ├── +++ jsch-0.1.54/examples/ScpFrom.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES192CBC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES192CBC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2005-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2005-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/README ├── +++ jsch-0.1.54/README │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/HMACMD5.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/HMACMD5.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestSignal.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestSignal.java │┄ Files similar despite different names (difference score: 6) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/OpenSSHConfig.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/OpenSSHConfig.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2013-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2013-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/PortForwardingR.java ├── +++ jsch-0.1.54/examples/PortForwardingR.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestPtyReq.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestPtyReq.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/HMACMD596.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/HMACMD596.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACSHA512.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACSHA512.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/LocalIdentityRepository.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/LocalIdentityRepository.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SignatureDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SignatureDSA.java │┄ Files similar despite different names (difference score: 31) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHEC256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHEC256.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/HostKey.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/HostKey.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UIKeyboardInteractive.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UIKeyboardInteractive.java │┄ Files similar despite different names (difference score: 25) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/BlowfishCBC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/BlowfishCBC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/TripleDESCBC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/TripleDESCBC.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestSftp.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestSftp.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairRSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairRSA.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairGenRSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairGenRSA.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestX11.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestX11.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/Random.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/Random.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/IO.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/IO.java │┄ Files similar despite different names (difference score: 17) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairGenDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairGenDSA.java │┄ Files similar despite different names (difference score: 21) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/UserAuthKI.java ├── +++ jsch-0.1.54/examples/UserAuthKI.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SftpProgressMonitor.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SftpProgressMonitor.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHECN.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHECN.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairGenECDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairGenECDSA.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/ChangePassphrase.java ├── +++ jsch-0.1.54/examples/ChangePassphrase.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Proxy.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Proxy.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestEnv.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestEnv.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelExec.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelExec.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ECDH521.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ECDH521.java │┄ Files similar despite different names (difference score: 19) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SHA256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SHA256.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMAC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMAC.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Exec.java ├── +++ jsch-0.1.54/examples/Exec.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/tools/bin/runant.pl ├── +++ jsch-0.1.54/tools/bin/runant.pl │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHGEX.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHGEX.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/HASH.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/HASH.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelSftp.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelSftp.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -661,15 +661,24 @@ │ ackcount++; │ } │ else{ │ break; │ } │ } │ } │ - foo-=sendWRITE(handle, offset, data, 0, foo); │ + if(dontcopy){ │ + foo-=sendWRITE(handle, offset, data, 0, foo); │ + if(data!=obuf.buffer){ │ + data=obuf.buffer; │ + _datalen=obuf.buffer.length-_s-Session.buffer_margin; │ + } │ + } │ + else { │ + foo-=sendWRITE(handle, offset, data, _s, foo); │ + } │ } │ offset+=count; │ if(monitor!=null && !monitor.count(count)){ │ break; │ } │ } │ int _ackcount=seq-startid; │ @@ -731,14 +740,20 @@ │ skip=attr.getSize(); │ } │ catch(Exception eee){ │ //System.err.println(eee); │ } │ } │ │ + if(monitor!=null){ │ + monitor.init(SftpProgressMonitor.PUT, │ + "-", dst, │ + SftpProgressMonitor.UNKNOWN_SIZE); │ + } │ + │ if(mode==OVERWRITE){ sendOPENW(dstb); } │ else{ sendOPENA(dstb); } │ │ Header header=new Header(); │ header=header(buf, header); │ int length=header.length; │ int type=header.type; │ @@ -918,14 +933,23 @@ │ │ _dst=null; │ if(isDstDir){ │ int i=_src.lastIndexOf('/'); │ if(i==-1) dstsb.append(_src); │ else dstsb.append(_src.substring(i + 1)); │ _dst=dstsb.toString(); │ + if(_dst.indexOf("..")!=-1){ │ + String dstc = (new java.io.File(dst)).getCanonicalPath(); │ + String _dstc = (new java.io.File(_dst)).getCanonicalPath(); │ + if(!(_dstc.length()>dstc.length() && │ + _dstc.substring(0, dstc.length()+1).equals(dstc+file_separator))){ │ + throw new SftpException(SSH_FX_FAILURE, │ + "writing to an unexpected file "+_src); │ + } │ + } │ dstsb.delete(dst.length(), _dst.length()); │ } │ else{ │ _dst=dst; │ } │ │ File _dstFile=new File(_dst); │ @@ -1370,15 +1394,18 @@ │ if(buf.buffer.length-131024){ │ len=1024; │ } │ │ - if(rq.count()==0) { │ + if(rq.count()==0 │ + || true // working around slow transfer speed for │ + // some sftp servers including Titan FTP. │ + ) { │ int request_len = buf.buffer.length-13; │ if(server_version==0){ request_len=1024; } │ │ while(rq.count() < request_max){ │ try{ │ sendREAD(handle, request_offset, request_len, rq); │ } │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/JSchException.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/JSchException.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/KnownHosts.java ├── +++ jsch-0.1.54/examples/KnownHosts.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SHA384.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SHA384.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SignatureRSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SignatureRSA.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/HMACSHA1.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/HMACSHA1.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuthPublicKey.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuthPublicKey.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/DH.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/DH.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/AES.java ├── +++ jsch-0.1.54/examples/AES.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestSubsystem.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestSubsystem.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2005-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2005-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/ViaHTTP.java ├── +++ jsch-0.1.54/examples/ViaHTTP.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/examples/ScpTo.java ├── +++ jsch-0.1.54/examples/ScpTo.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/examples/Daemon.java ├── +++ jsch-0.1.54/examples/Daemon.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelAgentForwarding.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelAgentForwarding.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuthNone.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuthNone.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelDirectTCPIP.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelDirectTCPIP.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES128CBC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES128CBC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2005-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2005-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHEC521.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHGEX256.java │┄ Files similar despite different names (difference score: 20) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -25,13 +25,12 @@ │ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING │ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, │ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ */ │ │ package com.jcraft.jsch; │ │ -public class DHEC521 extends DHECN { │ - public DHEC521(){ │ - sha_name="sha-512"; │ - key_size=521; │ +public class DHGEX256 extends DHGEX { │ + DHGEX256(){ │ + hash="sha-256"; │ } │ } │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelSession.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelSession.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/pom.xml ├── +++ jsch-0.1.54/pom.xml │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelShell.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelShell.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Logger.java ├── +++ jsch-0.1.54/examples/Logger.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserInfo.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserInfo.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SocketFactory.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SocketFactory.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ARCFOUR.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ARCFOUR.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jcraft/HMAC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jcraft/HMAC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuthPassword.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuthPassword.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ARCFOUR256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ARCFOUR256.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ECDH384.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ECDH384.java │┄ Files similar despite different names (difference score: 21) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Session.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Session.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -119,15 +119,15 @@ │ │ Buffer buf; │ Packet packet; │ │ SocketFactory socket_factory=null; │ │ static final int buffer_margin = 32 + // maximum padding length │ - 20 + // maximum mac length │ + 64 + // maximum mac length │ 32; // margin for deflater; deflater may inflate data │ │ private java.util.Hashtable config=null; │ │ private Proxy proxy=null; │ private UserInfo userinfo; │ │ @@ -335,17 +335,24 @@ │ throw new JSchException("invalid protocol(kex): "+buf.getCommand()); │ } │ if(kex.getState()==KeyExchange.STATE_END){ │ break; │ } │ } │ │ - try{ checkHost(host, port, kex); } │ + try{ │ + long tmp=System.currentTimeMillis(); │ + in_prompt = true; │ + checkHost(host, port, kex); │ + in_prompt = false; │ + kex_start_time+=(System.currentTimeMillis()-tmp); │ + } │ catch(JSchException ee){ │ in_kex=false; │ + in_prompt = false; │ throw ee; │ } │ │ send_newkeys(); │ │ // receive SSH_MSG_NEWKEYS(21) │ buf=read(buf); │ @@ -599,14 +606,15 @@ │ } │ │ kex.init(this, V_S, V_C, I_S, I_C); │ return kex; │ } │ │ private volatile boolean in_kex=false; │ + private volatile boolean in_prompt=false; │ public void rekey() throws Exception { │ send_kexinit(); │ } │ private void send_kexinit() throws Exception { │ if(in_kex) │ return; │ │ @@ -1243,15 +1251,15 @@ │ } │ │ /*public*/ /*synchronized*/ void write(Packet packet, Channel c, int length) throws Exception{ │ long t = getTimeout(); │ while(true){ │ if(in_kex){ │ if(t>0L && (System.currentTimeMillis()-kex_start_time)>t){ │ - throw new JSchException("timeout in wating for rekeying process."); │ + throw new JSchException("timeout in waiting for rekeying process."); │ } │ try{Thread.sleep(10);} │ catch(java.lang.InterruptedException e){}; │ continue; │ } │ synchronized(c){ │ │ @@ -1335,16 +1343,19 @@ │ _write(packet); │ } │ │ public void write(Packet packet) throws Exception{ │ // System.err.println("in_kex="+in_kex+" "+(packet.buffer.getCommand())); │ long t = getTimeout(); │ while(in_kex){ │ - if(t>0L && (System.currentTimeMillis()-kex_start_time)>t){ │ - throw new JSchException("timeout in wating for rekeying process."); │ + if(t>0L && │ + (System.currentTimeMillis()-kex_start_time)>t && │ + !in_prompt │ + ){ │ + throw new JSchException("timeout in waiting for rekeying process."); │ } │ byte command=packet.buffer.getCommand(); │ //System.err.println("command: "+command); │ if(command==SSH_MSG_KEXINIT || │ command==SSH_MSG_NEWKEYS || │ command==SSH_MSG_KEXDH_INIT || │ command==SSH_MSG_KEXDH_REPLY || │ --- jsch-0.1.53/examples/OpenSSHConfig.java ├── +++ jsch-0.1.54/examples/OpenSSHConfig.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Buffer.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Buffer.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/tools/bin/runant.py ├── +++ jsch-0.1.54/tools/bin/runant.py │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/ECDH256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/ECDH256.java │┄ Files similar despite different names (difference score: 20) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestAgentForwarding.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestAgentForwarding.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SHA512.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SHA512.java │┄ Files similar despite different names (difference score: 11) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jgss/GSSContextKrb5.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jgss/GSSContextKrb5.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/HostKeyRepository.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/HostKeyRepository.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2004-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2004-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/IdentityFile.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/IdentityFile.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Sudo.java ├── +++ jsch-0.1.54/examples/Sudo.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SftpATTRS.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SftpATTRS.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/RequestExec.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/RequestExec.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/PortForwardingL.java ├── +++ jsch-0.1.54/examples/PortForwardingL.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/examples/README ├── +++ jsch-0.1.54/examples/README │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairDSA.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/PortWatcher.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/PortWatcher.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPairPKCS8.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPairPKCS8.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2013-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2013-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ServerSocketFactory.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ServerSocketFactory.java │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/CipherNone.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/CipherNone.java │┄ Files similar despite different names (difference score: 18) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/KeyPairGenECDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/KeyPairGenECDSA.java │┄ Files similar despite different names (difference score: 7) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ProxySOCKS4.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ProxySOCKS4.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Identity.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Identity.java │┄ Files similar despite different names (difference score: 9) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/ChangeLog ├── +++ jsch-0.1.54/ChangeLog │┄ Files similar despite different names (difference score: 5) │ @@ -1,10 +1,26 @@ │ ChangeLog of JSch │ ==================================================================== │ -Last modified: Fri Jun 5 03:22:57 UTC 2015 │ +Last modified: Tue Aug 30 06:47:52 UTC 2016 │ + │ + │ +Changes since version 0.1.53: │ +- bugfix: fixed CVS-2016-5725 │ + Refer to following links, │ + http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2016-5725 │ + https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-5725 │ + Thanks a lot for tintinweb's contributions. │ +- bugfix: sftp-put may send the garbage data in some rare case. │ +- bugfix: fixed a deadlock bug in KnownHosts#getHostKey(). │ +- bugfix: SftpProgressMonitor#init() was not invoked in sftp-put │ + by using the output-stream. │ +- change: KnownHosts#setKnownHosts() should accept the non-existing file. │ +- change: excluding the user interaction time from the timeout value. │ +- change: addressing SFTP slow file transfer speed with Titan FTP. │ +- change: updating copyright messages; 2015 -> 2016 │ │ │ Changes since version 0.1.52: │ - bugfix: the rekey initiated by the remote may crash the session. │ - change: Logjam: use ecdh-sha2-nistp* if available, │ ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521, │ diffie-hellman-group14-sha1, │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/SignatureDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/SignatureDSA.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Sftp.java ├── +++ jsch-0.1.54/examples/Sftp.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ProxyHTTP.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ProxyHTTP.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ChannelForwardedTCPIP.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ChannelForwardedTCPIP.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuthKeyboardInteractive.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuthKeyboardInteractive.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/GSSContext.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/GSSContext.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2004-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2004-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Logger.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Logger.java │┄ Files similar despite different names (difference score: 6) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/ConfigRepository.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/ConfigRepository.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2013-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2013-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SftpException.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SftpException.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyPair.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyPair.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Packet.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Packet.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/IdentityRepository.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/IdentityRepository.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2012-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2012-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMIC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuthGSSAPIWithMIC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2006-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2006-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/JSchAuthCancelException.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/JSchAuthCancelException.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/KeyGen.java ├── +++ jsch-0.1.54/examples/KeyGen.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/examples/Shell.java ├── +++ jsch-0.1.54/examples/Shell.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES128CTR.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES128CTR.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2008-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2008-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/StreamForwarding.java ├── +++ jsch-0.1.54/examples/StreamForwarding.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHG1.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHG1.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/UserAuth.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/UserAuth.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KnownHosts.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KnownHosts.java │┄ Files similar despite different names (difference score: 3) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -40,25 +40,26 @@ │ private java.util.Vector pool=null; │ │ private MAC hmacsha1=null; │ │ KnownHosts(JSch jsch){ │ super(); │ this.jsch=jsch; │ + this.hmacsha1 = getHMACSHA1(); │ pool=new java.util.Vector(); │ } │ │ void setKnownHosts(String filename) throws JSchException{ │ try{ │ known_hosts = filename; │ FileInputStream fis=new FileInputStream(Util.checkTilde(filename)); │ setKnownHosts(fis); │ } │ catch(FileNotFoundException e){ │ - throw new JSchException(e.toString(), (Throwable)e); │ + // The non-existing file should be allowed. │ } │ } │ void setKnownHosts(InputStream input) throws JSchException{ │ pool.removeAllElements(); │ StringBuffer sb=new StringBuffer(); │ byte i; │ int j; │ @@ -478,15 +479,15 @@ │ } │ if(hosts.endsWith(host) && hostslen-i==hostlen){ │ return hosts.substring(0, (hostlen==hostslen) ? 0 :hostslen-hostlen-1); │ } │ return hosts; │ } │ │ - private synchronized MAC getHMACSHA1(){ │ + private MAC getHMACSHA1(){ │ if(hmacsha1==null){ │ try{ │ Class c=Class.forName(jsch.getConfig("hmac-sha1")); │ hmacsha1=(MAC)(c.newInstance()); │ } │ catch(Exception e){ │ System.err.println("hmacsha1: "+e); │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACMD596.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACMD596.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/SignatureECDSA.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/SignatureECDSA.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Subsystem.java ├── +++ jsch-0.1.54/examples/Subsystem.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHGEX256.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHEC384.java │┄ Files similar despite different names (difference score: 20) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -25,12 +25,13 @@ │ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING │ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, │ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ */ │ │ package com.jcraft.jsch; │ │ -public class DHGEX256 extends DHGEX { │ - DHGEX256(){ │ - hash="sha-256"; │ +public class DHEC384 extends DHECN { │ + public DHEC384(){ │ + sha_name="sha-384"; │ + key_size=384; │ } │ } │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/KeyExchange.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/KeyExchange.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/Compression.java ├── +++ jsch-0.1.54/examples/Compression.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/AES256CBC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/AES256CBC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2005-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2005-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHG14.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHG14.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/DHEC384.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/DHEC521.java │┄ Files similar despite different names (difference score: 30) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2015-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ @@ -25,13 +25,13 @@ │ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING │ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, │ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ */ │ │ package com.jcraft.jsch; │ │ -public class DHEC384 extends DHECN { │ - public DHEC384(){ │ - sha_name="sha-384"; │ - key_size=384; │ +public class DHEC521 extends DHECN { │ + public DHEC521(){ │ + sha_name="sha-512"; │ + key_size=521; │ } │ } │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/jce/HMACMD5.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/jce/HMACMD5.java │┄ Files similar despite different names (difference score: 4) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/examples/ScpToNoneCipher.java ├── +++ jsch-0.1.54/examples/ScpToNoneCipher.java │┄ Files similar despite different names (difference score: 0) │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/Random.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/Random.java │┄ Files similar despite different names (difference score: 2) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ │ --- jsch-0.1.53/src/main/java/com/jcraft/jsch/MAC.java ├── +++ jsch-0.1.54/src/main/java/com/jcraft/jsch/MAC.java │┄ Files similar despite different names (difference score: 1) │ @@ -1,10 +1,10 @@ │ /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ │ /* │ -Copyright (c) 2002-2015 ymnk, JCraft,Inc. All rights reserved. │ +Copyright (c) 2002-2016 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 copyright notice, │ this list of conditions and the following disclaimer. │ ╵