terrafrost
3230a7b1f7
SSH2: Add getBannerMessage() function
2013-04-27 19:58:24 -05:00
terrafrost
83ebb08f0a
SCP: Update example
2013-04-27 16:06:05 -05:00
terrafrost
9555ddc212
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2013-04-27 16:04:27 -05:00
terrafrost
4c8173dc23
Add an SCP class
2013-04-27 16:03:35 -05:00
terrafrost
8cecaf2d2b
SSH2: another CS adjustment
2013-04-27 14:12:59 -05:00
terrafrost
04f5a28bff
SSH2: CS adjustments
2013-04-27 14:10:36 -05:00
terrafrost
46f3039217
SFTP: Fix broken mkdir
...
Thanks Antek88!
2013-04-26 18:36:00 -05:00
terrafrost
d6ee41d957
SSH2: fix E_NOTICE in keyboard interactive code
...
Thanks ravage84!
2013-04-24 01:07:32 -05:00
mdesign83
2b4e940885
SFTP: Adding missing status codes
2013-04-23 16:04:50 +02:00
terrafrost
292340cdd5
SSH2: Improve timeout handling
...
(thanks, SergeyTsalkov!)
2013-04-20 20:43:05 -05:00
terrafrost
e0abab9bb4
SSH2: keyboard-interactive changes
...
Let's say your SSH server had a two-part keyboard-interactive auth. One prompt is for "Password" and the other is for "Verification code". Previously you'd have to do this:
$ssh->login($username, 'pass1', 'code1');
It'd try password authentication with pass1, fail, then do keyboard-interactive with pass1 and then keyboard-interacitve with code1.
ie. the order in which it tried stuff was dependent on the order it was past to the Net_SSH2 object. And it'd always try password auth first.
Now you can go straight to keyboard-interactive and mix the order as follows:
$ssh->login($username, array('Password' => 'pass1'), array('Verification code' => 'code1'));
2013-04-20 14:35:08 -05:00
terrafrost
04c24f6bbc
SSH2: More multi-factor authentication changes
...
Previously to do multi-factor authentication you'd have to do this:
$ssh->login($user, 'pass1');
$ssh->login($user, 'pass2');
Now you can do this too:
$ssh->login($user, 'pass1', 'pass2');
2013-04-20 14:33:07 -05:00
terrafrost
ccd4ce1d19
SSH2: add support for multi-factor authentication
2013-04-19 22:23:06 -05:00
terrafrost
7ff96b3946
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2013-04-15 23:59:47 -05:00
terrafrost
a47c1c3980
Net_SFTP_Stream: Add limited support for notifications and...
...
...add NET_SFTP_STREAM_LOGGING
2013-04-15 23:58:13 -05:00
David Stensland
28f18f83ec
SSH2: Be less overly clever loading Crypt/Random
2013-04-01 12:29:28 -04:00
terrafrost
5cd0191edd
SFTP_Stream: update includes
2013-04-01 10:53:55 -05:00
terrafrost
725a2e0b39
SFTP: add a few comments
2013-03-24 20:28:55 -05:00
terrafrost
05e832d14f
SFTP_Stream: Better EOF detection
...
$result will be false on error and '' if the EOF is reached.
2013-03-24 20:25:58 -05:00
Brett Thomas
cc8e3cdbc1
added getStdError method to get stdErr, even when quiet mode enabled
2013-03-21 17:18:31 -05:00
terrafrost
95f40d9c8f
SFTP_Stream: Cache didn't work correctly
2013-03-13 23:30:52 -05:00
terrafrost
3153daf548
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2013-03-12 20:58:37 -05:00
terrafrost
5212c78152
SFTP: Add Stream class
2013-03-12 20:57:40 -05:00
terrafrost
89cd8f09e7
SFTP: rename variable to correct case
2013-03-09 11:37:53 -06:00
terrafrost
b9787a81eb
SFTP: make mode an alias of permissions for stat
2013-03-08 14:18:32 -06:00
terrafrost
0692d42980
SFTP: Use stat instead of lstat for size()
2013-03-08 11:20:39 -06:00
terrafrost
51d106b6ec
SFTP: Revamp file type detection and add truncate method
...
Also clean up some code
2013-03-08 00:53:34 -06:00
terrafrost
d4f176b434
SFTP: CS adjustment
2013-03-07 22:46:58 -06:00
terrafrost
56f87c8f3a
SFTP: Don't do stat if lstat fails
2013-03-07 10:56:24 -06:00
terrafrost
1d1c2782e9
SFTP: Fix bug whereby sometimes download amount would be ignored
2013-02-27 22:10:33 -06:00
terrafrost
44864874e5
SFTP: Redo mkdir() and _realpath()
...
Also make it so nlist() caches directories as well
2013-02-27 00:47:17 -06:00
Patrick Monnerat
90ff746ad1
Make all sources 7-bit ASCII.
2013-02-20 19:25:47 +01:00
terrafrost
60b66e3726
SFTP: Add chown and chgrp.
2013-02-17 18:23:35 -06:00
terrafrost
0333805f5c
SSH2: Add isConnected() function
2013-02-16 14:58:12 -06:00
terrafrost
25c7e7bd96
SFTP: Add touch function
...
Also make it so chmod will auto-switch the filename / permissions if they're not in the "right" order (PHP's chmod and ftp_chmod order them differently from each other so this'll make phpseclib consistent with both)
2013-02-14 12:10:36 -06:00
terrafrost
faaa52774f
SFTP: Add the ability to write to specific parts of files
2013-02-12 20:45:09 -06:00
Mike Kruk
d7e4678fc4
Use enablePTY() to get a PTY with exec() calls. While exec() is running
...
you can use read() and write() to interact with the shell.
2013-02-08 17:04:52 -05:00
terrafrost
248e3bb085
Undo last commit
2013-01-30 08:37:50 -06:00
terrafrost
bfb04dcf4d
Add __construct() constructor to make namespace'ing easier for those wishing to do it
2013-01-29 22:09:31 -06:00
terrafrost
e7336e6b54
add size checking to binary packets in Net/SSH2.php (thanks ?????? ????????!)
2013-01-26 00:17:23 -06:00
Mike Kruk
efdec7b118
Extract the exit_status if given to us from SSH.
2013-01-17 13:47:42 -05:00
terrafrost
5d49af105f
SSH2: $this->channel_buffers is an array - not a string
2013-01-13 11:36:57 -06:00
terrafrost
94ca5e1d0c
SSH1,SSH2: strpos expects string - not array
2013-01-13 10:49:03 -06:00
terrafrost
bccce5802c
SSH2: Use strlen instead of empty
2013-01-12 10:46:19 -06:00
terrafrost
b8768c8d11
SSH1: Make it so SSH packets spanning multiple TCP/IP packets can be rcvd
2013-01-12 10:45:35 -06:00
terrafrost
bbed0916cd
SSH2: Make $stop be after all network activity
2013-01-11 18:38:38 -06:00
terrafrost
ab7f65d436
SSH1: Added setTimeout()
...
Note that interactiveRead() was left untouched.
2013-01-11 18:36:58 -06:00
terrafrost
d90caa17e3
SSH1: CS adjustments
2013-01-11 00:31:49 -06:00
terrafrost
46baf1815f
SSH1: Fix E_NOTICE
2013-01-10 00:42:53 -06:00
terrafrost
c3ee632587
SSH1: fix "Expected SSH_SMSG_SUCCESS" error
2013-01-09 23:56:33 -06:00
terrafrost
b1c96faf90
SSH1: Packets shown in log were encrypted
2013-01-09 22:54:11 -06:00
terrafrost
2ead31dac2
rm debug code
2013-01-09 00:07:54 -06:00
terrafrost
e71fc97913
Revamp SSH1 logging and go back to using user_error
...
(_handle_error returned the line number in _handle_error - not the line number triggering the error)
2013-01-08 22:09:27 -06:00
terrafrost
10d9671601
SSH1: Fix E_NOTICE (thanks nosx!)
2013-01-08 11:15:28 -06:00
terrafrost
885d7e0f24
SFTP: Make get() work correctly when files are being written to for partial transfers
2012-12-16 02:34:49 -06:00
terrafrost
35832fe2a1
Refactor crypt_random (renaming it to crypt_random_string)
...
...and update all the calls to it accordingly
2012-12-16 02:20:16 -06:00
terrafrost
a731220785
Fix E_NOTICE in SFTP.php (thanks dlgoodchild!)
2012-12-14 08:45:35 -06:00
terrafrost
65193d9a25
SFTP: Add $offset and $length get() function
2012-12-11 19:54:48 -06:00
terrafrost
3c6ae4312f
The user_error in _handle_error shouldn't be replaced..
2012-11-29 00:19:09 -06:00
terrafrost
3caaa91160
Replace user_error() with new _handle_error() function
...
To use exceptions do define('PHPSECLIB_USE_EXCEPTIONS', true).
To have the exceptions thrown by phpseclib be of a certain class define PHPSECLIB_EXCEPTION_CLASS.
2012-11-28 23:33:15 -06:00
terrafrost
dbc10491e7
Fix an E_NOTICE (thanks chubbypama!)
2012-11-28 08:17:57 -06:00
terrafrost
ff94576315
Remove unused fields from pack()
2012-11-27 14:38:30 -06:00
terrafrost
346bc5dcc8
Make it so none is a supported authentication method
2012-11-22 14:25:57 -06:00
terrafrost
875cef8bbd
Revamp logging
2012-11-22 13:08:30 -06:00
terrafrost
6c33012a4a
Suppress further error messages if connection is prematurely disconnected
2012-11-22 12:11:15 -06:00
terrafrost
8cf6bb0b1c
SSH1: Fix E_NOTICE (thanks dayton967!)
2012-11-14 04:34:33 -06:00
terrafrost
6bc46d42e0
Only save the directory if it was able to be successfully created
2012-11-09 22:22:02 -06:00
terrafrost
9ead66143d
Updates to mkdir() (thanks easy-dev!)
2012-11-07 23:35:23 -06:00
terrafrost
eba3fbe13e
Suppress Warning messages
...
Warning messages would appear if recursive deletes or chmods were
attempted. Also, doing pwd() when . was / would return //.
2012-10-13 19:42:01 -05:00
terrafrost
35d6910bf3
Revisions to _logError() function
2012-10-09 07:27:42 -05:00
terrafrost
827090c562
Update comments
2012-10-09 01:00:47 -05:00
terrafrost
c65f5ba0e5
Add SFTPv2 support
...
Thanks bitvise for providing an SFTP client that does SFTPv2 and to faceleg for bringing the issue to my attention!
2012-10-09 00:56:50 -05:00
terrafrost
bb4995e446
Add $extra to logs
2012-09-30 21:32:26 -05:00
terrafrost
ec5aead746
SSH-2.0-SSHD doesn't implement hmac-*-96 correctly
2012-09-17 02:33:03 -05:00
terrafrost
c7d6492f43
stat() and lstat() ignore false output from _stat()
...
Thanks Fluffycloud!
2012-09-16 18:50:16 -05:00
terrafrost
31ad9aacbd
stream_set_blocking calls were unnecessary
2012-09-09 23:45:18 -05:00
terrafrost
5d91746f73
stream_select() failed when timeout went below 1 second
2012-09-03 14:48:18 -05:00
terrafrost
26776b486e
Update a few comments
2012-09-03 01:42:50 -05:00
terrafrost
5de5d45bd5
Workaround for buggy stream_select's
...
Workaround for this issue:
https://bugs.php.net/bug.php?id=42682
Thanks solefald!
2012-08-29 17:55:22 -05:00
terrafrost
e2ae5100c2
Fix a few E_NOTICEs
2012-08-28 03:04:15 -05:00
Joshua Johnson
1f90170049
Fix typos
2012-08-14 13:12:01 -04:00
terrafrost
879a5c4364
- add enableQuietMode to suppress stderr
2012-07-23 07:17:53 -05:00
terrafrost
f292931aed
- make Net_SSH2 return more printer friendly server public host keys
2012-07-04 13:36:26 -05:00
terrafrost
f0e1b2deec
- add second function_exists call to prevent require_once from being called if autoloader was called
2012-06-27 20:56:36 -05:00
terrafrost
6cd2d154b4
Merge remote-tracking branch 'terrafrost/moizhb'
2012-06-25 11:20:02 -05:00
terrafrost
5eacf2b05d
- do class_exists(Crypt_Random) too to facilitate auto-loading
2012-06-24 16:53:16 -05:00
terrafrost
9e69344d60
- better timeout handling (thanks moizhb)
2012-06-23 17:16:42 -05:00
terrafrost
6ee991f604
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2012-06-20 10:43:20 -05:00
terrafrost
1e3778dc4f
- auto loading fixes (thanks skydiablo)
2012-06-20 10:36:36 -05:00
terrafrost
dfe264594f
Merge pull request #9 from bantu/feature/consistent-file-endings
...
[feature/consistent-file-endings] Remove ?> and make sure there is an empty line at the end of files.
2012-06-16 21:06:15 -07:00
Andreas Fischer
5923f4ad68
[feature/consistent-file-endings] Remove remaining ?> from PHP files.
2012-06-11 10:33:39 +02:00
terrafrost
9d0b172103
- exit-status's sent before channel data no longer produce empty output
2012-06-10 21:52:30 -05:00
Rob Loach
8d8b5e09dd
Fix for syntax error found by @bantu #r954245
2012-06-08 18:48:23 -04:00
Rob Loach
7e9a975296
Add Composer support to phpseclib
2012-06-08 15:38:27 -04:00
terrafrost
e484373a2b
- updates to _remove directory (thanks, bantu)
2012-06-05 23:44:40 -05:00
Jim Wigginton
3141c0f803
- if the SFTP connection was closed prematurely put() could hang (thanks, KCC!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@221 21d32557-59b3-4da0-833f-c5933fad653e
2012-05-14 01:43:49 +00:00
Jim Wigginton
7ef3108d00
- add two new logging modes
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@217 21d32557-59b3-4da0-833f-c5933fad653e
2012-04-30 16:25:37 +00:00
Jim Wigginton
9a7d6cdb54
- add !is_resource() check
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@216 21d32557-59b3-4da0-833f-c5933fad653e
2012-04-24 05:01:55 +00:00
Jim Wigginton
228fb3ceb9
- - close the channel when a NET_SSH2_CHANNEL_REQUEST exit-status is received (thanks, ferus!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@200 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-07 18:57:45 +00:00
Jim Wigginton
40bc51da99
- fix some E_NOTICES (thanks, ferus!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@199 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-05 15:32:15 +00:00
Jim Wigginton
6309f5a70a
- read() doesn't give an E_WARNING when $expect is blank
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@198 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-05 03:13:09 +00:00
Jim Wigginton
329d3e2a15
- send a NET_SSH2_MSG_CHANNEL_CLOSE packet in addition to a NET_SSH2_MSG_CHANNEL_EOF packet when force closing the channel (thanks, ferus!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@197 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-05 02:06:13 +00:00
Jim Wigginton
6d3e3dd12e
- setTimeout() updates
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@196 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-03 19:56:22 +00:00
Jim Wigginton
1ab30836a6
- make it so requests can timeout (thanks pmprojx!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@195 21d32557-59b3-4da0-833f-c5933fad653e
2012-03-03 17:49:16 +00:00
Jim Wigginton
8ad76c9236
- get() no longer needs to know the size of a file to download it (thanks xyzzy!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@194 21d32557-59b3-4da0-833f-c5933fad653e
2012-01-20 06:36:16 +00:00
Jim Wigginton
883b13f540
- fclose() was being called twice (thanks zyzzy!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@193 21d32557-59b3-4da0-833f-c5933fad653e
2012-01-20 05:39:10 +00:00
Jim Wigginton
8e0845f411
- make it so size() doesn't give an E_NOTICE if the size attribute isn't present
...
- make delete() recursive by default
- fix a bug that prevented inbound packets from being logged
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@192 21d32557-59b3-4da0-833f-c5933fad653e
2012-01-20 05:33:19 +00:00
Jim Wigginton
0531f713ab
- close local file if one is being used and if get() would return prematurely (thanks, Sascha.Pfalz!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@181 21d32557-59b3-4da0-833f-c5933fad653e
2011-10-14 05:46:18 +00:00
Jim Wigginton
034ec72ade
- if a binary packet can't be decrypt don't bother to process it further
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@180 21d32557-59b3-4da0-833f-c5933fad653e
2011-10-06 12:12:56 +00:00
Jim Wigginton
58b4b8d681
- make realtime logging better accommodate whitespace
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@179 21d32557-59b3-4da0-833f-c5933fad653e
2011-09-17 18:46:04 +00:00
Jim Wigginton
7e416149c1
- NET_SFTP_APPEND -> NET_SFTP_RESUME
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@178 21d32557-59b3-4da0-833f-c5933fad653e
2011-09-10 05:46:19 +00:00
Jim Wigginton
023e0e0540
- make it so chmod can be done recursively
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@175 21d32557-59b3-4da0-833f-c5933fad653e
2011-08-03 19:03:56 +00:00
Jim Wigginton
285b7d511c
- cache directories and make it so directories can be recursively deleted
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@174 21d32557-59b3-4da0-833f-c5933fad653e
2011-07-31 07:23:21 +00:00
Jim Wigginton
68a5d7d4db
- add real-time in-line logging capabilities to Net/SFTP.php (useful if you're dumping the output to a file or if you're trying to figure out why a script is timing out or something)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@173 21d32557-59b3-4da0-833f-c5933fad653e
2011-07-23 15:53:23 +00:00
Jim Wigginton
d86bf78506
- add support for the sticky bit
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@170 21d32557-59b3-4da0-833f-c5933fad653e
2011-07-06 05:43:48 +00:00
Jim Wigginton
bc5e07cd69
- updates to the upload resume functionality
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@169 21d32557-59b3-4da0-833f-c5933fad653e
2011-07-04 20:42:05 +00:00
Jim Wigginton
8b352152dd
- add the ability to resume sftp uploads
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@168 21d32557-59b3-4da0-833f-c5933fad653e
2011-07-04 00:46:00 +00:00
Jim Wigginton
38f1bd487f
/home and /home/ should return the same thing for rawlist() and nlist() (thanks pioyu!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@167 21d32557-59b3-4da0-833f-c5933fad653e
2011-06-25 15:06:43 +00:00
Jim Wigginton
3da6c0d608
/home and /home/ should return the same thing for rawlist() and nlist() (thanks pioyu!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@166 21d32557-59b3-4da0-833f-c5933fad653e
2011-06-20 03:23:44 +00:00
Jim Wigginton
497df88951
- only log the last 1MB of an ssh transaction (this way logs can be obtained even when you're uploading terabytes and terabytes of data)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@165 21d32557-59b3-4da0-833f-c5933fad653e
2011-06-04 17:06:53 +00:00
Jim Wigginton
48494b64c8
- stat() should probably not say whether or not the target file is a symlink - presumably that's something only lstat() should do
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@163 21d32557-59b3-4da0-833f-c5933fad653e
2011-06-01 04:24:16 +00:00
Jim Wigginton
893695d7f3
- stat() and lstat() now return information on the file type
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@162 21d32557-59b3-4da0-833f-c5933fad653e
2011-06-01 01:51:47 +00:00
Jim Wigginton
2b855b8869
- fix some E_NOTICEs and remove superfluous SFTP error log entries (thanks, Major Tom!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@161 21d32557-59b3-4da0-833f-c5933fad653e
2011-05-30 21:24:16 +00:00
Jim Wigginton
332726db74
- if you want to use UTF-8 encoded passwords encode them as UTF-8 yourself (ie. save your PHP script as UTF-8 without BOM; thanks, gruberroland!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@160 21d32557-59b3-4da0-833f-c5933fad653e
2011-05-29 14:43:17 +00:00
Jim Wigginton
34cdb781cc
- update SSH1 logging and disconnecting
...
- add better support for an as-yet-to-be-written SCP class
- update example of read()
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@158 21d32557-59b3-4da0-833f-c5933fad653e
2011-05-08 23:53:30 +00:00
Jim Wigginton
c6bc908f63
- suppress errors about empty strings being passed to crypto object
...
- fix a bug in read() that broke NET_SSH2_READ_REGEX
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@156 21d32557-59b3-4da0-833f-c5933fad653e
2011-05-08 02:34:36 +00:00
Jim Wigginton
bfacdf5cdf
- fix E_NOTICEs (thanks, lordxor!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@155 21d32557-59b3-4da0-833f-c5933fad653e
2011-05-08 02:31:52 +00:00
Jim Wigginton
e42adbeaf9
- suppress errors when fread() times out
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@154 21d32557-59b3-4da0-833f-c5933fad653e
2011-04-22 07:50:24 +00:00
Jim Wigginton
b614ab4dc0
- read(...) only returned first byte of matched string - not entire matched string
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@153 21d32557-59b3-4da0-833f-c5933fad653e
2011-04-18 21:37:06 +00:00
Jim Wigginton
392d96445e
- add support for PuTTY and XML formatted RSA keys
...
- remove ?>'s from PHP_Compat files
- update LICENSE block
- make it so NET_SSH2_MSG_USERAUTH_PK_OK records direction and time
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@152 21d32557-59b3-4da0-833f-c5933fad653e
2011-04-18 12:17:40 +00:00
Jim Wigginton
0e40350db7
- syntax error
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@151 21d32557-59b3-4da0-833f-c5933fad653e
2011-04-01 12:00:35 +00:00
Jim Wigginton
9660724387
- make get() return false if the SSH_FXP_READ packet failed
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@150 21d32557-59b3-4da0-833f-c5933fad653e
2011-03-31 10:49:33 +00:00
Jim Wigginton
73f0886e87
- show first byte if message type is unknown to assist with diagnosis
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@149 21d32557-59b3-4da0-833f-c5933fad653e
2011-03-31 09:37:24 +00:00
Jim Wigginton
458f4f7ef0
- add interactive mode support to Net_SSH2 and redo interactive support in Net_SSH1
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@147 21d32557-59b3-4da0-833f-c5933fad653e
2011-02-28 05:24:09 +00:00
Jim Wigginton
f6f9f3887d
- extended attributes were not handled correctly (thanks scope_v24!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@146 21d32557-59b3-4da0-833f-c5933fad653e
2011-02-19 08:18:39 +00:00
Jim Wigginton
13b8afd620
- update Net_SFTP to better support SCP
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@145 21d32557-59b3-4da0-833f-c5933fad653e
2011-02-13 07:46:01 +00:00
Jim Wigginton
029b61bc5e
- parse the longname to get the file type (only currently works for Net_SFTP::rawlist())
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@140 21d32557-59b3-4da0-833f-c5933fad653e
2011-01-16 16:25:46 +00:00
Jim Wigginton
fb0f03c904
- added $block parameter to Net_SSH2::exec() (thanks jl_ewing!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@135 21d32557-59b3-4da0-833f-c5933fad653e
2010-11-30 04:34:31 +00:00
Jim Wigginton
d5f788932c
fix typo in comments
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@134 21d32557-59b3-4da0-833f-c5933fad653e
2010-11-21 23:43:26 +00:00
Jim Wigginton
3d68aa3353
- add Net_SFTP::stat() and Net_SFTP::lstat() (thanks, TangiX!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@132 21d32557-59b3-4da0-833f-c5933fad653e
2010-11-20 14:02:28 +00:00
Jim Wigginton
b94a467999
- change license to the less restrictive MIT license (if people want to modify phpseclib and distribute binaries of it [whatever that means for PHP] without including the source code I don't care); two of the three PHP_Compat stuff still uses the LGPL since I didn't author them but they're only needed, anyway, if you're using phpseclib on PHP4.
...
- add svn:eol-style: LF to all files
- fixed pear.php.net bug # 18037 (thanks, nounours!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@130 21d32557-59b3-4da0-833f-c5933fad653e
2010-11-13 19:28:20 +00:00
Jim Wigginton
3cb86474ae
- fixed a bug in Net_SFTP::delete()
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@127 21d32557-59b3-4da0-833f-c5933fad653e
2010-10-24 05:32:30 +00:00
Jim Wigginton
dd4f0036f2
- fixed a bug that prevented key re-exchange from working
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@126 21d32557-59b3-4da0-833f-c5933fad653e
2010-10-24 01:24:30 +00:00
Jim Wigginton
297f281001
- changed the sftp packet size (thanks, achrarajeev!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@125 21d32557-59b3-4da0-833f-c5933fad653e
2010-10-02 22:23:25 +00:00
Jim Wigginton
bbe68cf7ae
- fixed a bug in keyboard-interactive authentication (thanks, j31!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@121 21d32557-59b3-4da0-833f-c5933fad653e
2010-09-12 22:12:45 +00:00
Jim Wigginton
202c3b64e9
- added support for OFB and CFB modes (with the caveat that CFB mode isn't currently supported as a stream cipher)
...
- improvements to the fix to the bug Suby found
- fixed bug whereby CTR mode gave different results in mcrypt and internal modes when the continuous buffer was enabled and the plaintext being encrypted wasn't a multiple of the block size
- undid the fix for the bug f.dammassa found (thanks, j31!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@120 21d32557-59b3-4da0-833f-c5933fad653e
2010-09-12 21:58:54 +00:00
Jim Wigginton
4264336d02
- apparently not all SFTPv3 clients support SSH_FXP_FSTAT (even though the SFTPv3 specs define it; thanks, f.dammassa!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@118 21d32557-59b3-4da0-833f-c5933fad653e
2010-09-02 00:49:26 +00:00
Jim Wigginton
acefc441be
- fixed a bug preventing getLastSFTPError() and getSFTPErrors() from working (thanks, f.dammassa!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@117 21d32557-59b3-4da0-833f-c5933fad653e
2010-09-01 03:36:09 +00:00
Jim Wigginton
a8863e2b3d
- included a work-around for a bug in Portable OpenSSH 4.4 and earlier whereby faulty key sizes are used for aes256-ctr, aes192-ctr and arcfour256 (thanks, f.dammassa!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@116 21d32557-59b3-4da0-833f-c5933fad653e
2010-08-29 03:27:02 +00:00
Jim Wigginton
d07570b0eb
- added limited support for keyboard-interactive authentication (thanks, j31!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@115 21d32557-59b3-4da0-833f-c5933fad653e
2010-08-28 17:26:22 +00:00
Jim Wigginton
f088d89712
- add logging to Net_SSH1 and fixed a bug in Crypt_DES (thanks, Suby!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@113 21d32557-59b3-4da0-833f-c5933fad653e
2010-08-08 05:06:38 +00:00
Jim Wigginton
d6a8f6c648
- added phpdoc headers for _list()
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@111 21d32557-59b3-4da0-833f-c5933fad653e
2010-06-29 01:33:39 +00:00
Jim Wigginton
94f48a97d4
c -> C
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@109 21d32557-59b3-4da0-833f-c5933fad653e
2010-05-16 16:10:50 +00:00
Jim Wigginton
978a11607e
- more useful error message if the server closes the connection after sending their identification string
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@108 21d32557-59b3-4da0-833f-c5933fad653e
2010-05-10 16:16:35 +00:00
Jim Wigginton
a33bc87e83
- SSH servers whose identification string had trailing spaces wouldn't calculate the exchange hash correctly (thanks voxo!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@107 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-27 21:29:36 +00:00
Jim Wigginton
068983328f
- replace < with . in log output since < causes logs not to show up correctly in web browsers. could escape it, too, but then that'd potentially make CLI logs use more width than the terminal has
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@106 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-25 14:19:43 +00:00
Jim Wigginton
6057a9da8f
- fixed a bug in Crypt_Random
...
- SSH2 logging now more closely resembles the format of PuTTY logs
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@105 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-24 06:40:49 +00:00
Jim Wigginton
b1566eed93
- signatures are now only verified if you're requesting the server host key since otherwise the sever could be using it's own made up host key and you'd never know
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@104 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-22 16:06:43 +00:00
Jim Wigginton
868bcbd159
- nlist() and rawlist() were switched
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@101 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-09 02:31:34 +00:00
Jim Wigginton
95153d6d59
- added Net_SFTP::rawlist() (thanks, theduck!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@100 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-08 14:41:07 +00:00
Jim Wigginton
39c97d3373
- crypt_random() used /dev/urandom in a rather slow way (thanks, TangiX!)
...
- revamped the logging system. now, you can profile SSH2.php / SFTP.php without capturing full logs
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@99 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-07 03:50:54 +00:00
Jim Wigginton
9a3c2e836b
- added size() to Net_SFTP (thanks, Ethorsen!)
...
- adjusted encryption algorithm preferences for speed (thanks, TangiX!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@98 21d32557-59b3-4da0-833f-c5933fad653e
2010-04-04 00:20:03 +00:00
Jim Wigginton
71b960d082
- updated some comments
...
- fixed an E_NOTICE (thanks, Brion Vibber!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@96 21d32557-59b3-4da0-833f-c5933fad653e
2010-03-22 22:01:38 +00:00
Jim Wigginton
1a2b6e1087
- fixed two E_NOTICE errors (thanks, beanboots!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@92 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-27 23:34:46 +00:00
Jim Wigginton
21184a90e4
- the sending of SSH_FXP_WRITE packets are now partially interleaved with the receipt of SSH_FXP_STATUS packets (thanks, TangiX!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@88 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-18 16:56:07 +00:00
Jim Wigginton
374c68c312
- stderr produced by Net_SSH2::exec() calls is now treated the same as stdin data
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@87 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-15 22:24:08 +00:00
Jim Wigginton
76e4066e94
- improved error logging capability
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@86 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-12 23:02:13 +00:00
Jim Wigginton
66489c3733
- minor cleanup
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@85 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-11 16:17:40 +00:00
Jim Wigginton
61625bc8ab
- hopefully better handling of lengthy sessions
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@84 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-11 07:02:51 +00:00
Jim Wigginton
d77c85218d
- removed setMCrypt from the Crypt_* objects (you can achieve the same effect by doing ini_set('mcrypt.algorithms_dir', $path))
...
- added support for CTR mode to the various Crypt_* objects
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@83 21d32557-59b3-4da0-833f-c5933fad653e
2010-02-09 06:10:26 +00:00
Jim Wigginton
3ec7bdfcba
- fixed a PHP5.3 warning in Net/SSH2.php
...
- fixed a bug introduced in the rewritten addition function
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@77 21d32557-59b3-4da0-833f-c5933fad653e
2010-01-21 07:33:05 +00:00
Jim Wigginton
e16ba96789
- fixed a few E_NOTICE errors
...
- sped up Math_BigInteger::_barrett()
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@73 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-31 06:11:07 +00:00
Jim Wigginton
0d69655512
- rm var $timeout
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@71 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-14 18:17:36 +00:00
Jim Wigginton
99c0e29fdf
- fixed a bug in isPrime (thanks greyhoundx!)
...
- Net_SSH2::exec() should now be faster
- better channel management
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@70 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-14 18:14:54 +00:00
Jim Wigginton
9bd3c793d3
- an inability to unpad doesn't necessarily mean that padding is enabled when it shouldn't be - it might also mean that the key being used is the wrong one.
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@67 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-06 07:26:52 +00:00
Jim Wigginton
4fb22b711a
- typo
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@63 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-03 19:04:10 +00:00
Jim Wigginton
a882a3a41f
- added Crypt_RSA
...
- added RSA public key authentication to Net_SSH2
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@62 21d32557-59b3-4da0-833f-c5933fad653e
2009-12-03 08:19:00 +00:00
Jim Wigginton
ec75e4fc32
- fixed a bug in mkdir() that'd result in some Warnings
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@61 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-26 20:12:17 +00:00
Jim Wigginton
9336c7f20d
- $server_cookie can be assigned directly
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@60 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-26 06:41:34 +00:00
Jim Wigginton
5d1f459db7
- when uploading a file that already exists on the server, the file on the server is now truncated to zero (thanks, guir!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@59 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-25 20:05:41 +00:00
Jim Wigginton
a4e72f7811
- replaced list(...) = unpack('...') calls with extract(unpack('...')) (thanks martinu!)
...
- added pure-php implementations of md2, sha256, and sha512 to Crypt_Hash
- added setPrecision() to Math_BigInteger
- other small fixes
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@56 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-23 19:06:07 +00:00
Jim Wigginton
f50e880c41
- accommodate new Math_BigInteger updates
...
- fix a typo in Crypt_Rijndael's comments
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@54 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-03 22:03:43 +00:00
Jim Wigginton
bf6787dd07
- getLog() returns additional debug info
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@51 21d32557-59b3-4da0-833f-c5933fad653e
2009-10-17 03:49:16 +00:00
Jim Wigginton
1284a0d7d8
- fixed a bug involving server / client channel assignments
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@50 21d32557-59b3-4da0-833f-c5933fad653e
2009-10-16 03:37:24 +00:00
Jim Wigginton
8b1265d27c
- fixed an issue where by the modulos used in diffie-hellman key exchange could be off (thanks, sjarkie!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@47 21d32557-59b3-4da0-833f-c5933fad653e
2009-09-18 20:14:16 +00:00
Jim Wigginton
6516ba29a6
- better packet handling
...
- (hopefully) faster SFTP uploads
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@46 21d32557-59b3-4da0-833f-c5933fad653e
2009-09-17 03:19:20 +00:00
Jim Wigginton
df8844d12b
- logs now contain timing information
...
- fixed a potential E_NOTICE error (thanks, Wang Xiaoguang!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@43 21d32557-59b3-4da0-833f-c5933fad653e
2009-08-29 19:23:25 +00:00
Jim Wigginton
5025807abf
- fixed two E_NOTICE issues (thanks, amer and inventor!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@42 21d32557-59b3-4da0-833f-c5933fad653e
2009-08-23 03:40:50 +00:00
Jim Wigginton
a90471b937
- fixed a few bad constants (thanks, YeongGwon Jeong!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@41 21d32557-59b3-4da0-833f-c5933fad653e
2009-08-09 03:53:28 +00:00
Jim Wigginton
d6339e014f
- Net_SFTP now has better support for uploading large files than it did before, per this:
...
http://www.frostjedi.com/phpbb/viewtopic.php?f=46&t=10415
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@40 21d32557-59b3-4da0-833f-c5933fad653e
2009-06-09 04:00:38 +00:00
Jim Wigginton
039cd313ee
- 0x7777 -> 07777
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@39 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-30 16:48:42 +00:00
Jim Wigginton
23bfbd6a29
- Net_SFTP::chmod() called an undefined function
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@38 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-30 16:45:23 +00:00
Jim Wigginton
d1cacdf86f
- Net_SSH2::login() didn't always return true when it should have
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@37 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-30 16:40:31 +00:00
Jim Wigginton
41784adbc7
- attempting to connect to an invalid host yielded an inappropriate number of errors
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@36 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-30 15:46:32 +00:00
Jim Wigginton
d365b7a587
- added SFTP support
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@32 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-23 14:42:17 +00:00
Jim Wigginton
0258f565b5
- added support for 'none' encryption
...
- fixed a bug that would cause large ssh packets to error out
- added placeholders for compression support (PHP's zlib functions are insufficient)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@31 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-16 17:09:37 +00:00
Jim Wigginton
ce238827fd
- fixed a bug in getLog()
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@29 21d32557-59b3-4da0-833f-c5933fad653e
2009-04-27 20:13:29 +00:00
Jim Wigginton
f65f2983b7
added Net_SSH2::getLog()
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@27 21d32557-59b3-4da0-833f-c5933fad653e
2009-03-25 22:29:42 +00:00
Jim Wigginton
c369990f77
- "Some systems may not implement signals, in which case they SHOULD ignore [them]."
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@26 21d32557-59b3-4da0-833f-c5933fad653e
2009-03-23 22:44:51 +00:00
Jim Wigginton
01ddc53c6d
- update phpDoc comments for Net_SSH1::interactiveRead()
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@25 21d32557-59b3-4da0-833f-c5933fad653e
2009-03-09 22:00:17 +00:00
Jim Wigginton
736bfab276
- fix E_NOTICE notices
...
- renamed hmac() -> hash() in SSH2.php
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@23 21d32557-59b3-4da0-833f-c5933fad653e
2009-02-26 17:25:03 +00:00
Jim Wigginton
39de68ab48
- [bug] Crypt_Rijndael calculated IVs incorrectly
...
- [new] renamed Crypt_HMAC to Crypt_Hash and revised the API
- [new] added Crypt_AES
- [new] added AES support to Net_SSH2
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@21 21d32557-59b3-4da0-833f-c5933fad653e
2009-02-16 22:22:13 +00:00
Jim Wigginton
69c639d845
- fixed a bug whereby a second Net_SSH2() object couldn't be created (the sequence numbers weren't being reset)
...
- fixed a bug whereby SSH_MSG_DISCONNECT messages wouldn't be handled correctly
- other small changes
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@18 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-26 19:42:01 +00:00
Jim Wigginton
01c841a0a0
- replaced "\t" with " "
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@17 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-25 07:28:57 +00:00
Jim Wigginton
081ee34e39
- updated comment
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@15 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-21 04:28:09 +00:00
Jim Wigginton
ad5bc5a1ef
- fix phpdoc comment for _disconnect function
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@14 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-15 17:46:51 +00:00
Jim Wigginton
148178da63
*** empty log message ***
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@13 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-15 17:40:03 +00:00
Jim Wigginton
81413b9da0
- added $timeout variable
...
- added destructor to Net_SSH2
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@12 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-15 16:33:08 +00:00
Jim Wigginton
79944da3ed
- split off some of _get_binary_packet to _filter in SSH2.php
...
- updated URL to SSH-1 specs in SSH1.php
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@8 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-26 14:53:45 +00:00
Jim Wigginton
29ee82e67b
- updated URL
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@7 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-25 21:56:14 +00:00
Jim Wigginton
9a7150d61f
- added exec() to Net_SSH2
...
- renamed writeReadQuit() to exec() in Net_SSH1
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@6 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-25 21:49:33 +00:00
Jim Wigginton
8be1b1bb5c
- updated to use latest TripleDES.php
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@5 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-25 02:33:43 +00:00
Jim Wigginton
df0fe2386a
- added SSH2.php and HMAC.php
...
- fixed issue with the IV's in TripleDES.php and DES.php
- fixed decryption in TripleDES.php using CRYPT_DES_MODE_INTERNAL
- renamed CRYPT_DES_MODE_SSH to CRYPT_DES_MODE_3CBC
- added CRYPT_DES_MODE_CBC3 as an alias for CRYPT_DES_MODE_CBC
- fixed issue with RC4.php using CRYPT_RC4_MODE_MCRYPT
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@4 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-23 05:21:39 +00:00
Jim Wigginton
367ddebf80
- initial commit
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@3 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-02 04:19:55 +00:00