Author - 오길호

Registry Monitoring (Delphi)

How to Use procedure RegistryMonitor(RootKey: HKEY; Key: string; Proc: TProc; WatchSub: boolean); begin TThread.CreateAnonymousThread(procedure var Reg: TRegistry; Event: cardinal; begin Reg := TRegistry.Create; Reg.RootKey := RootKey; if Reg.OpenKeyReadOnly(Key) then begin Event := CreateEvent(nil, False, False, nil); if Event > 0 then begin while True do begin RegNotifyChangeKeyValue(Reg.CurrentKey, WatchSub, REG_NOTIFY_CHANGE_LAST_SET, Event, True); if WaitForSingleObject(Event, INFINITE) =...

Morphological Analysis Installation and Usage (PHP)

Installation Environment: CentOS 7 default, PHP 7 yum install gcc-c++ java-1.7.0-openjdk-devel python-devel zlib-devel openssl openssl-devel git -y wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz tar xf Python-3.* cd Python-3.* ./configure make make altinstall pip3.6 install JPype1-py3 pip3.6 install konlpy cd .. wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz tar zxfv mecab-0.996-ko-0.9.2.tar.gz cd mecab-0.996-ko-0.9.2 ./configure make make install cd .. wget https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.1-20150920.tar.gz tar zxfv mecab-ko-dic-2.0.1-20150920.tar.gz cd...

Installing and Using Delphi 10.2 Tokyo Linux PAServer

Delphi has been updated to version 10.2. This is the first installation method for use on CentOS 7. # yum -y update # yum install -y firewalld # systemctl unmask firewalld # systemctl enable firewalld # systemctl start firewalld # firewall-cmd --permanent --add-port=64211/tcp # firewall-cmd --reload # yum group install "Development Tools" # yum install...

PHP Hacking: Risk Code Check Program

This program was created to easily monitor whether malicious PHP has been installed through server hacking and to check for potentially risky code. Upload the following code to your server account. <? /** * Name: Kilho's PHP Diagnosis * Author: Kilho Oh (prince@kilho.net) * Author URI: http://kilho.net/ */ class TDiagnosis { public $dir;public function __construct()...

SSHScript - Simplifying Linux (Web Hosting) Backups

How to Use Run the program. Click the File button, fill out the tasks as shown below and save it. (If you have multiple accounts, just repeat the process.) # Connect to the account to create a backup file. ssh://{username}:{password}@{ip}:{port} # Navigate to the location of the file you want to back up. cd {path}...