This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/fail2ban/jail.local | |
| # Konfigurasi khusus untuk sistem kesehatan Indonesia | |
| # Author: Letda Kes dr. Muhammad Sobri Maulana, S.Kom, CEH, OSCP, OSCE | |
| [sshd] | |
| enabled = true | |
| port = 22 | |
| filter = sshd | |
| logpath = /var/log/auth.log | |
| maxretry = 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Bagi para pecinta dunia pentest, kecepatan dan efisiensi dalam menguji keamanan aplikasi web adalah segalanya. Bayangkan kalau kamu bisa melakukan serangan SQLi, XSS, hingga SSRF langsung dari tab DevTools di browser — tanpa harus buka banyak tools atau terminal tambahan. PegasusBar adalah jawaban dari kebutuhan itu. | |
| Dikembangkan oleh Letda Kes Dr. Sobri, S.Kom, PegasusBar adalah ekstensi browser ringan tapi penuh daya yang bisa menjadi “Swiss Army Knife” para pentester. Tersedia untuk Chrome dan Firefox, tool ini menyatu langsung di DevTools, membuat eksplorasi dan exploitasi jadi jauh lebih praktis. | |
| 🎯 Fitur Unggulan PegasusBar | |
| 🔹 Request Builder Canggih | |
| Bisa kirim request GET/POST lengkap dengan dukungan berbagai tipe konten: application/json, multipart/form-data, dan x-www-form-urlencoded. | |
| 🔹 SQL Injection Otomatis | |
| Langsung dump database, tabel, hingga kolom dari berbagai DBMS populer (MySQL, PostgreSQL, SQLite, MSSQL). Termasuk dukungan payload seperti Dump in One Shot dan Union Select. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import re | |
| import os | |
| import json | |
| import qrcode | |
| import nmap | |
| import selenium.webdriver as webdriver | |
| # 1️⃣ HTTP HEADER SECURITY ANALYZER | |
| def analyze_headers(url): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| # List header yang dicek beserta rekomendasinya | |
| SECURITY_HEADERS = { | |
| "Content-Security-Policy": "Melindungi dari XSS dan data injection.", | |
| "Strict-Transport-Security": "Memaksa HTTPS untuk menghindari serangan MITM.", | |
| "X-Frame-Options": "Mencegah clickjacking.", | |
| "X-XSS-Protection": "Mencegah serangan XSS di browser lama.", | |
| "X-Content-Type-Options": "Mencegah MIME-type sniffing.", | |
| "Referrer-Policy": "Mengontrol data referer yang dikirim ke pihak lain.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tensorflow as tf | |
| from tensorflow import keras | |
| from tensorflow.keras import layers | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # Load dataset (example using ImageDataGenerator for augmentation) | |
| datagen = keras.preprocessing.image.ImageDataGenerator( | |
| rescale=1./255, | |
| validation_split=0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import psutil | |
| import shutil | |
| import socket | |
| def check_cpu_usage(): | |
| return psutil.cpu_percent(interval=1) | |
| def check_memory_usage(): | |
| memory = psutil.virtual_memory() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Pegasus</title> | |
| <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> | |
| <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> | |
| <link rel="shortcut icon" href="favicon.png" type="image/x-icon"> | |
| <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet"> | |
| <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.js"></script> | |
| <style type="text/css"> |