dhcp-script=/etc/detect_new_device.sh
Reference:
dhcp-script=/etc/detect_new_device.sh
Reference:
package passwordresetservice | |
import ( | |
"crypto/tls" | |
"fmt" | |
ldap "github.com/go-ldap/ldap" | |
"golang.org/x/text/encoding/unicode" | |
ber "gopkg.in/asn1-ber.v1" | |
) |
CREATE TABLE wssg.sysmon_logs_local ( Date Date, TimeStamp DateTime, ComputerName String, EventId UInt8, Task String, DstHost String, DstIp String, DstPort UInt16, DstPortName String, Image String, ProcessGuid String, ProcessId UInt32, Proto String, SrcHost String, SrcIp String, SrcPort UInt16, User String, CommandLine String, Company String, CurrentDirectory String, Description String, FileVersion String, Hashes String, IntegrityLevel String, LogonGuid String, LogonId String, ParentCommandLine String, ParentImage String, ParentProcessGuid String, ParentProcessId UInt32, Product String, TerminalSessionId UInt32, EventType String, TargetObject String, Details String, SourceImage String, SourceProcessGuid String, SourceProcessId String, StartAddress String, StartModule String, TargetImage String, TargetProcessGuid String, TargetProcessId UInt32, ImageLoaded String, Signature String, SignatureStatus String, Signed String, ConfigurationFileHash String, Configuration String, FileCreate String, TargetFilename Strin |
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
# accesslog2csv: Convert default, unified access log from Apache, Nginx | |
# servers to CSV format. | |
# | |
# Original source by Maja Kraljic, July 18, 2017 | |
# Modified by Joshua Wright to parse all elements in the HTTP request as | |
# different columns, December 16, 2019 | |
import csv | |
import re |
Это краткая памятка, которая подходит во время вспышки любого респираторного вирусного заболевания. Я ее пишу не для того, чтобы вы срочно начинали все это делать - никакого повода нет. Но, если вы хотите снизить вероятность получения или распространения вирусов - прочитайте.
#!/bin/sh | |
# Alerts via telegram when a new device joins OpenWRT wireless interface | |
# write-up at: spcr.me/openwrt-alert | |
# | |
# ~ note ~ | |
# Call from in /etc/rc.local | |
TELEGRAM="https://api.telegram.org/bot<YOUR_API_KEY>/sendMessage?chat_id=<YOUR_CHAT_ID_HERE>&text=" | |