Archives : Ноябрь-2016

Home » 2016

Поиск по файлам grep по одинарным кавычкам ищет по точному совпадению find . -type f -name ‘*.php’ | xargs grep -i » » > ./HACKED/tabs.txt find . -type f -name ‘*.php’ | xargs grep -i «@\$GLOBALS» > ./HACKED/GLOBALS.txt find . -type f -name ‘*.php’ | xargs grep -i «window.location» > ./HACKED/location_php.txt find . -type f ..

Read more

Устанавливаем в nginx \etc\httpd\bx\conf\bx_ext_basconi.su.conf ExtendedStatus On SetHandler server-status Order deny,allow Deny from all Allow from 93.170.1.1/255.255.0.0 Allow from 127.0.0.1 ::1 Allow from 5.101.156.63 .htaccess RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$ RewriteCond %{REQUEST_FILENAME} !/server-status$ RewriteRule ^(.*)$ /bitrix/urlrewri..

Read more

ОШИБКА (masterhost) u388952@gen210:~/site2.ru/www$ git push origin master Username for ‘http://site.org’: site@git.web2age.com Password for ‘http://site@git.site.com@site.org’: Counting objects: 23920, done. Delta compression using up to 24 threads. fatal: inflateInit: out of memory (no message) fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly error: failed to push some refs to ‘http://git.site.org/site.ru.git’ fatal: ..

Read more

установил по мануалу https://about.gitlab.com/downloads/#centos6 создал сайт с нужным доменом прописал в \etc\nginx\nginx.conf из \var\opt\gitlab\nginx\conf\nginx.conf log_format сделал линк с /etc/nginx/bx/site_avaliable/bx_ext_git.w2a.org.conf → /var/opt/gitlab/nginx/conf/gitlab-http.conf закомментировал весь \var\opt\gitlab\nginx\conf\nginx.conf добавил пользователя gitlab-www в группу nginx $ usermod -aG gitlab-www nginx поменял права на папку /var/opt/gitlab/gitlab-workhor..

Read more

var dateTable = $(‘#in_work .dateTableWrapper’); var curDown = false, curYPos = 0, curXPos = 0; dateTable.mousemove(function(m){ if(curDown === true){ // dateTable.scrollTop(dateTable.scrollTop() + (curYPos — m.pageY)); dateTable.scrollLeft(dateTable.scrollLeft() + (curXPos — m.pageX)); curXPos = m.pageX; } }); dateTable.mousedown(function(m){ curDown = true; // curYPos = m.pageY; curXPos = m.pageX; }); dateTable.mouseup(function(){ curDown = false; }); dateTable.mouseleave(function(){ curDown = ..

Read more