Уеб трикове
16.01.2019 Vipe Team
NON SSL alias към SSL site
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.co.uk*
RewriteRule ^(.*)$ https://example.org.uk/$1 [L,R=301]
Уеб трикове
16.01.2019 Vipe Team
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.co.uk*
RewriteRule ^(.*)$ https://example.org.uk/$1 [L,R=301]
Уеб трикове
16.01.2019 Vipe Team
1. Access joom_users from db 2. Find the user. Under the password column, clear the value and replace with the following: d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199 This will change your password to: secret 3. Using the new password, you can now login to the account to change the password to one of your choosing.
Уеб трикове
16.01.2019 Vipe Team
1. Grep for the user grep user /usr/local/maldetect/event_log 2. Take the number from the output and grep for it grep 843668 /usr/local/maldetect/event_log 3. Find the report number (report 180319-1343.843668). 4. Run sudo cat /usr/local/maldetect/sess/session.180319-1343.843668 where you replace the number with the one grepped.
Уеб трикове
16.01.2019 Vipe Team
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Уеб трикове
16.01.2019 Vipe Team
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^([^\.]+)$ $1.html [NC,L]
Уеб трикове
16.01.2019 Vipe Team
output_handler = Off zlib.output_compression = On zlib.output_handler = ob_gzhandler