Category Archives: wrk

tmp4wrk

Apache DDoS prevention

Apache Continue reading

Posted in wrk | Leave a comment

.htaccess

Allow all cat .htaccess order deny,allow deny from all allow from all AuthType None Require all granted Satisfy Any Authfile cat ../status/.htaccess AuthType Basic AuthName “Restricted Content” AuthUserFile /var/www/html/status/.htpasswd Require valid-user httpd.conf <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require … Continue reading

Posted in wrk | Leave a comment

SSL Secure

SSLEngine on SSLProtocol all -TLSv1 -TLSv1.1 -SSLv2 -SSLv3 #SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES SSLCipherSuite HIGH:!MD5:!3DES:!aNULL SSLHonorCipherOrder on RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* – [F] Header always set Strict-Transport-Security “max-age=63072000; includeSubdomains; preload”  

Posted in wrk | Leave a comment

Apahce Indexes

<Directory /var/www/domain.com/pdfs> Options Indexes FollowSymLinks </Directory>

Posted in wrk | Leave a comment

git ignore file localy

git update-index –assume-unchanged includes/common_noport.conf

Posted in wrk | Leave a comment

NTP from scratch

On RHEL 5 the thing to do is this: awk ‘/^server/ || /^peer/ {print $2}’ /etc/ntp.conf | grep -v ‘127.127.1.0’ > /etc/ntp/step-tickers chkconfig ntpd on On RHEL 6: chkconfig ntpdate on On RHEL 7: systemctl enable ntpdate.service

Posted in wrk | Leave a comment

Joomla Direct Links

edit vhost.conf try_files $uri $uri/ /index.php?q=$uri&$args; error_page 404 = @joomla; } location @joomla { rewrite ^(.*)$ /index.php?q=$1 last; }

Posted in wrk | Leave a comment

Changing root pass without command prompt

Change root password without entering the password twice Continue reading

Posted in wrk | Leave a comment

Hacking iPhone iDiary (iDiary восстанавливаем пароль)

iDiary – это такой себе мини днивничек для iPhone. Я им пользовался какое то время, потом забил… Но вот решил что было б неплохо глянуть туда вообще и почитать что я писал пол года назад например. Яблоко у меня взломаное … Continue reading

Posted in Uncategorized, wrk | Tagged | Leave a comment

SSH RSA authentification

RSA authentification Continue reading

Posted in wrk | Tagged , , | Comments Off on SSH RSA authentification