Tag Info

New answers tagged


posix_setuid(1500) only changes the UID to 1500. That does not give you permission to access the file. The reason you can access the file when logged in as your regular user is that you not only have UID 1500 but also group 1500 and supplementary groups 27 and 33. Having supplementary group 33 (www-data) is the thing that causes you to have access to the ...


Simply put, the "conf" is more like a programming language executing things sequentially one row at a time. I forgot to try calling /index.php directly instead of relying on the index [] to work. This sad, php.conf checked if the requested path ended with .php before the index [] function had rewritten the request from / to /index.php. There for, changing: ...


I finally managed to install Owncloud on CentOS 6.5. The problem was that Owncloud required some additional PHP packages. When trying to install them from the standard repository of CentOS I couldn't get any newer version of PHP but 5.3. I added Remi Collet's repo and installed Owncloud by running yum --enablerepo=remi install owncloud which automatically ...


The basic answer is that yes, you need to do more. You need to close the hole that allowed the attacker in in the first place. In addition, you need to remove any back doors, etc. the attacker added once he/she was in. By far the most reliable way to remove the back doors is to wipe the system and restore from backup (making sure it's a backup from before ...


In debian jessie and in debian sid sudo apt-get install php5 php5-readline works perfectly.


NSS error -12286 According to NSS documentation, -12286 means: SSL_ERROR_NO_CYPHER_OVERLAP "Cannot communicate securely with peer: no common encryption algorithm(s)." The local and remote systems share no cipher suites in common. This can be due to a misconfiguration at either end. It can be due to a server being misconfigured to use a ...


After wasting some time I got it working. I just had to escape the character like this: $pass = '\)d@340kgfj';

Top 50 recent answers are included