phpseclib Questions
2
Solved
Since mcrypt_encrypt is no longer supported in PHP 7.2, I am trying for exact alternate to this function.
After reading many SO answers I have found the following code which uses PHPSECLIB, but i...
Foreshow asked 26/2, 2019 at 14:3
2
Solved
I am trying to run a PHP file in a Vagrant VM which also uses composer for the build.
I am getting the following errors:
PHP Warning: require(/var/www/CLIENT/vendor/composer/../phpseclib/phpsecli...
Allynallys asked 21/12, 2016 at 16:43
3
Solved
Im trying to use this, but it just gives me this errors and i have no clue how to fix that..
Warning: include_once(Math/BigInteger.php): failed to open stream: No
such file or directory in
/ho...
4
I've just discovered phpseclib for myself and would like to use it for my bit of code. Somehow I can't find out how I could copy files from one sftp directory into an other sftp directory. Would be...
3
Solved
I'd like to read a remote text file (ideally using fopen) using PHP. My script works using fopen when I'm using this function on a local file.
I've tried:
$file = fopen ("http://abc.abc.abc&qu...
5
Solved
I'm having trouble using PHP to SFTP upload files to a remote server. When I use cURL, I'm getting the error described here:
SFTP from PHP - undefined constant CURLOPT_PROTOCOLS and CURLPROTO_SFTP...
3
Solved
I have a need to ensure that an SMTP server certificate is signed by a public certificate authority. I would like to use phpseclib or some other trusted library. I believe I can use the root certif...
Mckenney asked 22/2, 2018 at 12:49
3
Solved
4
Solved
I have installed Apache on my machine so I can use localhost as a PHP server. That works. Right now I am trying to use PHP to send files via SFTP to another server. I looked around a bit and saw ph...
Booty asked 28/5, 2015 at 19:41
2
Solved
We are using phpseclib for Public key signing of data and android java is used for Public key verification. But it repeatedtly failed.
PHP Code For generating keys and signing by private key
in...
Woodman asked 30/12, 2015 at 4:22
1
Solved
What I want to do
I want to upload/download a file via sftp using php.
The phpseclib-library looks very promising.
What I already did
I changed my conposer.json to:
{
"require": {
"nicolab/p...
2
Solved
I have an issue that's stumped me.
I'm trying to automate a CLI login to a router and run some commands obtained via a webpage. However I don't know if the router has telnet or SSH enabled (might ...
Blankbook asked 22/6, 2015 at 2:2
1
I downloaded phpseclib-0.3.10 from http://phpseclib.sourceforge.net/
My php Version : PHP 5.2.4
OS : CentOS release 6.6
When I run following I am getting "Segmentation fault" at this line $ssh-&...
1
Solved
I have a program written in PHP that distributes files to various FTP sites. Recently, I added SFTP support to it using phpseclib. It's very easy to use to log in and upload the files.
However, th...
4
Solved
I have stumbled upon two functions i have never used before in php
set_include_path();
get_include_path();
I am currently looking to implement the phpseclib onto a project I am working on.. As i...
1
Solved
I have CSVs that I want to upload to the 'incoming' folder in the SFTP server. I am using phpseclib to do this. The connection is already there but it does not output anything.
I'm not sure if wha...
1
Solved
I know you can install packages from any pear channel, and I have this working on a basic pear package
...
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
],
"require-dev": ...
Cm asked 3/2, 2014 at 4:53
4
Solved
I have a web-service in php that generates a keypair to encrypt a message, and one application in java that retrives the privatekey and decrypt the message.
For php I'm using http://phpseclib.sour...
Edaedacious asked 26/3, 2013 at 14:21
2
I'm using the SFTP functions of PHPSecLib to download files from an FTP server.
The line
$sftp->get($fname);
works if the file is up to 200MB, but if it's 300MB, the browser responds with "F...
Blackleg asked 22/3, 2013 at 12:57
1
I'm trying to upload a file from my php server to some other server
(my workplace is quite lame enough to block ssh traffic)
Anyway, here's what I'm trying to do:
(at: /public_html/manage.php
<...
4
So i need to execute one command but it will only run if i su to root (or sudo ) but I can't seem to figure out how to send the command to su to root
(i can log in and execute other commands with ...
Cronyism asked 11/2, 2013 at 18:36
2
Solved
OK, so accessing other servers from your own via either ftp or sftp... I have written a small class to handle either.. It is obviously new and could easily be improved so thought i would throw it o...
Thickskinned asked 14/1, 2013 at 22:54
2
I cannot get my local environment, Win7 running easyPHP 12, to connect to my server, ubuntu 11.04.
I connect to my server via sftp with filezilla fine, i can connect to my server via ssh with putt...
2
Solved
Here's how I'd do it with phpseclib (which works):
<?php
include('Crypt/RSA.php');
$rsa = new Crypt_RSA();
$rsa->setPassword('password');
$result = $rsa->loadKey('-----BEGIN RSA PRIVATE ...
1
Solved
I am using PHPseclib to transfer a file from a local fileserver to a remote fileserver. I am able to connect to the server, have 0777 permission on the target file on my local fileserver, but $sftp...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.