Skip to content

Instantly share code, notes, and snippets.

View rez0n's full-sized avatar
🥷

Denis Verbin rez0n

🥷
View GitHub Profile
@rez0n
rez0n / smstools3.md
Last active May 10, 2024 16:42 — forked from codexss/smstools3.md
Linux smstools eventhandel for forward sms to telegram (adapted to Cyrillic alphabet)
sudo apt-get update
sudo apt-get install smstools curl iconv

sudo nano /usr/local/bin/pushsms

#!/bin/bash
@rez0n
rez0n / prestashop.stpl
Last active October 14, 2020 19:55
VestaCP (nginx+php-fpm) Prestashop template
server {
listen %ip%:%web_ssl_port%;
server_name %domain_idn% %alias_idn%;
root %docroot%;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/%domain%.log combined;
access_log /var/log/nginx/domains/%domain%.bytes bytes;
error_log /var/log/nginx/domains/%domain%.error.log error;
ssl on;
@rez0n
rez0n / config.txt
Created December 21, 2015 22:04
Waveshare LCD 7" (C) 1024*600 config.txt example
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
@rez0n
rez0n / sentora-install.sh
Created November 29, 2015 20:24
Install sentora on raspbian
#!/usr/bin/env bash
# Official Sentora Automated Installation Script
# =============================================
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
Описание проблемы:
Добрый день.
Уже довольно давно в сети (преимущественно через почту) гуляет вирус CBT-Locker который как известно шифрует все пользовательские файлы и вымогает деньги.
А как так получается что до сих пор NOD не идентифицирует этот вирус?
Даже если попробовать проверить конкретный файл вируса через контекстное меню - NOD не обнаруживает угрозы. После запуска тоже. Только по факту шифрования файлов - он начинает зачищать эти самые шифрованные файлы, но уже поздно да и толку от этого нет.
ОС: Windows 8.1
Антивирус: EAV 7 с триальным ключем, в данном конкретном случае.
-------------------------------------------------------------------------------------------------------------------------------
@ESET NOD32 Support Russia
@rez0n
rez0n / thinstation.conf.network
Created August 28, 2014 12:14
Thinstation 5.2 config sample
SCREEN=0
WORKSPACE=1
SESSION_0_TITLE="Terminal Server"
SESSION_0_TYPE=rdesktop
SESSION_0_SCREEN=1
SESSION_0_RDESKTOP_SERVER=192.168.0.1
SESSION_0_RDESKTOP_OPTIONS="-u 'user'"
SESSION_0_AUTOSTART=On
root@rescue ~ # megacli -LDInfo -Lall -Aall
Adapter 0 -- Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 223.062 GB
Sector Size : 512
Is VD emulated : No
@rez0n
rez0n / default_cfg_for_configobj.py
Created June 26, 2014 15:57
Create config with default values in ConfigObj
import configobj
def default_config():
config = configobj.ConfigObj('d:\\text.txt')
config['settings'] = {}
config['settings']['my_ip'] = None
config['settings']['rtsp_port'] = '5180'
config['settings']['http_port'] = '5081'
config.write()
@rez0n
rez0n / Allow arguments
Created March 4, 2014 22:05
NRPE in NSClient ++
[/settings/NRPE/server]
allow arguments=true
@rez0n
rez0n / todo.md
Created February 26, 2014 16:33 — forked from ZeroDragon/todo.md

##Features:

  • Hacer un How To play
  • Liberar el código en github

##Fixes

  • Hacer una zona de exclusión para los gatos en el onload