Skip to content

Instantly share code, notes, and snippets.

View yeungon's full-sized avatar
💭
In JavaScript we trust

Vuong Nguyen yeungon

💭
In JavaScript we trust
View GitHub Profile
@yeungon
yeungon / kiwipanel
Last active April 7, 2026 02:15
kiwipanel updated install bash script
#!/bin/bash
######################################################################
# KiwiPanel - a LOMP stack on Linux #
# #
# Author: Vuong Nguyen and contributors #
# Website: https://kiwipanel.org #
# @since: 2025 #
# Please do not remove copyright. Thanks! #
# Please do not copy under any circumstance for commercial reason! #
######################################################################
<?php
echo "<h2>🔒 PHP Security Audit</h2><pre>";
// ============ FUNCTION RESTRICTIONS ============
echo "=== DANGEROUS FUNCTIONS ===\n";
$dangerous = ['exec','shell_exec','system','passthru','popen','proc_open',
'pcntl_exec','pcntl_fork','dl','putenv','ini_set'];
foreach ($dangerous as $fn) {
echo str_pad($fn, 20) . ": " . (function_exists($fn) ? "⚠️ ENABLED" : "✅ DISABLED") . "\n";
}
@yeungon
yeungon / kiwipanel.sh
Last active April 7, 2026 02:00
install.sh
#!/bin/bash
######################################################################
# KiwiPanel - a LOMP stack on Linux #
# #
# Author: Vuong Nguyen and contributors #
# Website: https://kiwipanel.org #
# @since: 2025 #
# Please do not remove copyright. Thanks! #
# Please do not copy under any circumstance for commercial reason! #
######################################################################
#!/bin/bash
. /etc/wptt/.wptt.conf
if [[ $ngon_ngu = '' ]]; then
ngon_ngu='vi'
fi
. /etc/wptt/lang/$ngon_ngu.sh
echo "$wptangtoc_ols_dang_kiem_tra_he_thong"
clear
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
#!/bin/bash
# @author: Gia Tuấn
# @website: https://wptangtoc.com
# @email: giatuan@wptangtoc.com
# @since: 2025
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
stty iutf8 #từ latin1 sang utf8, nhiều khi anh em dùng bộ gõ tiếng việt: dùng à â nó thêm \xc3 hay \xa9 ... tương thích với bộ gõ tiếng việt telex khi nhập domain
@yeungon
yeungon / basic_security.sh
Created May 29, 2025 03:29 — forked from anhvandev/basic_security.sh
Basic security for vps
#!/bin/bash
# Linux Server Hardening Script for AlmaLinux and Ubuntu
# Author: Van Nguyen
# Version: 1.0
set -euo pipefail
# Colors for output
RED='\033[0;31m'
#!/bin/bash
#######################################################
# KiwiPanel Installer v0.0.1
# To install KiwiPanel type:
# curl -sLO https://raw.githubusercontent.com/yeungon/kiwiscript/main/install && chmod +x install && sudo bash install
#######################################################
LANG=en_US.UTF-8
@yeungon
yeungon / kiwi.sh
Last active September 19, 2023 07:01
#!/bin/bash
#######################################################
# Kiwiscript Installer v0.0.1
# To install Kiwiscript type:
# curl -sLO https://raw.githubusercontent.com/yeungon/kiwiscript/main/install && chmod +x install && sudo bash install
#######################################################
LANG=en_US.UTF-8
#!/bin/bash
#######################################################
# KiwiPanel Script Installer v0.1
# To install KiwiPanel Script type:
# curl -sO && bash install
#######################################################
install_go(){
sudo snap install go --classic
}
This file has been truncated, but you can view the full file.
# Rime dictionary
# encoding: utf-8
#
# Jyutping - 粵拼
#
# derived from scim-table-h Jyutping table.
#
---