ridzimeko / penyiraman-iot.ino
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | #include <WiFi.h> |
| 2 | #include <Firebase_ESP_Client.h> |
| 3 | #include <DHT.h> |
| 4 | #include "addons/TokenHelper.h" |
| 5 | #include "addons/RTDBHelper.h" |
| 6 | |
| 7 | // ====== KONFIGURASI WIFI ====== |
| 8 | #define WIFI_SSID "REDMI 15C" |
| 9 | #define WIFI_PASSWORD "12312345" |
ridzimeko / Suricata Ruleset
0 喜欢
0 派生
2 文件
最后活跃于
| 1 | #alert tcp any any -> $HOME_NET any ( msg:"POTENSI DDoS SYN Flood"; flags:S; flow:stateless; threshold:type both, track by_dst, count 1000, seconds 10; classtype:attempted-dos; priority:2; sid:2000012; rev:1; ) |
| 2 | alert arp any any -> any any ( msg:"POTENSI ARP Spoofing - ARP Reply mencurigakan"; arp_opcode:2; # opcode 2 = ARP reply detection_filter:track by_src, count 5, seconds 10; classtype:network-scan; priority:2; sid:2000013; rev:1; ) |
| 3 | alert tcp !$HOME_NET any -> $HOME_NET any (flags: A; msg:"Possible ACK DoS"; flow: stateless; threshold: type both, track by_dst, count 1000, seconds 3; classtype:attempted-dos; sid:10001;rev:1;) |
| 4 | alert tcp !$HOME_NET any -> $HOME_NET any (flags: R; msg:"Possible RST DoS"; flow: stateless; threshold: type both, track by_dst, count 1000, seconds 3; classtype:attempted-dos; sid:10003;rev:1;) |
| 5 | alert tcp !$HOME_NET any -> $HOME_NET any (flags: F; msg:"Possible FIN DoS"; flow: stateless; threshold: type both, track by_dst, count 1000, seconds 3; classtype:attempted-dos; sid:10004;rev:1;) |
| 6 | alert udp !$HOME_NET any -> $HOME_NET any (msg:"Possible UDP DoS"; flow: stateless; threshold: type both, track by_dst, count 1000, seconds 3; classtype:attempted-dos; sid:10005;rev:1;) |
| 7 | |
| 8 | # SYN SCAN -sS (speeds T1-T5) |
| 9 | |
| 10 | alert tcp any any -> any [21,22,23,25,53,80,88,110,135,137,138,139,143,161,389,443,445,465,514,587,636,853,993,995,1194,1433,1720,3306,3389,8080,8443,11211,27017,51820] (msg:"POSSBL PORT SCAN (NMAP -sS)"; flow:to_server,stateless; flags:S; window:1024; tcp.mss:1460; threshold:type threshold, track by_src, count 20, seconds 70; classtype:attempted-recon; sid:3400001; priority:2; rev:1;) |
ridzimeko / PHP+NGINX+MariaDB Docker Compose
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | |
| 2 | version: "3.9" |
| 3 | services: |
| 4 | nginx: |
| 5 | build: ./nginx/ |
| 6 | ports: |
| 7 | - 80:80 |
| 8 | |
| 9 | volumes: |
| 10 | - ./php_code/:/var/www/html/ |
ridzimeko / Wordpress + MySQL Docker Compose
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | services: |
| 2 | wordpress: |
| 3 | image: wordpress:php8.3 |
| 4 | restart: unless-stopped |
| 5 | mem_limit: 128M |
| 6 | mem_reservation: 128M |
| 7 | memswap_limit: 512M |
| 8 | cpus: "0.5" |
| 9 | ports: |
| 10 | - 2233:80 |
ridzimeko / Install Flutter Fedora
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | sudo dnf install bash curl file git unzip which xz zip mesa-libGLU clang cmake ninja-build pkg-config gtk3-devel |
ridzimeko / Firebase Studio IDX Config
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | {pkgs}: { |
| 2 | channel = "stable-24.05"; |
| 3 | packages = [ |
| 4 | pkgs.nodejs_22 |
| 5 | pkgs.volta |
| 6 | ]; |
| 7 | |
| 8 | services = { |
| 9 | postgres = { |
| 10 | enable = true; |
ridzimeko / My VPS Setup
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | # --- install caddy --- |
| 2 | |
| 3 | sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl |
| 4 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg |
| 5 | curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list |
| 6 | sudo apt update |
| 7 | sudo apt install caddy |
| 8 | |
| 9 | |
| 10 | # --- install docker --- |
ridzimeko / Traefik Boilerplate
0 喜欢
0 派生
1 文件
最后活跃于
| 1 | version: "3" |
| 2 | services: |
| 3 | reverse-proxy: |
| 4 | # The official v3 Traefik docker image |
| 5 | image: traefik:v3.1 |
| 6 | ports: |
| 7 | # The HTTP port |
| 8 | - "80:80" |
| 9 | # The Web UI (Don't use this in production!) |
| 10 | - "8080:8080" |
ridzimeko / Siakad Kuesioner Auto Answer
0 喜欢
0 派生
1 文件
最后活跃于
Manipulasi DOM untuk menjawab semua pertanyaan kuesioner secara otomatis
| 1 | // Mendapatkan semua elemen dengan class "question-list" |
| 2 | let questionList = document.querySelectorAll( |
| 3 | '[class*="not-filled-in question-"]' |
| 4 | ); |
| 5 | |
| 6 | // Melakukan perulangan untuk setiap pertanyaan |
| 7 | questionList.forEach((radioGroup, i) => { |
| 8 | // Mendapatkan semua input radio dalam satu grup |
| 9 | const radioOptions = radioGroup.querySelectorAll(".option-jawaban"); |
ridzimeko / rsync-cheatsheet
1 喜欢
0 派生
1 文件
最后活跃于
| 1 | # filter directory based on .gitignore file |
| 2 | --filter=":- .gitignore" |
| 3 | |
| 4 | # exclude .git folder |
| 5 | --exclude='/.git' |
| 6 | |
| 7 | # run rsync as sudo |
| 8 | --rsync-path="sudo rsync" |
| 9 | |
| 10 | # Run rsync as sudo with gitignore and exclude .git folder |
更新
更早