Skip to content

Instantly share code, notes, and snippets.

View 0xAungkon's full-sized avatar
🎯
Focusing

Aungkon Malakar 0xAungkon

🎯
Focusing
View GitHub Profile
@0xAungkon
0xAungkon / Top_Public_Recursive_Name_Servers.md
Created October 20, 2023 16:55 — forked from mutin-sa/Top_Public_Recursive_Name_Servers.md
List of Top Public Recursive Name Servers
IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
77.88.8.8 2a02:6b8::feed:0ff AS13238 RU Worldwide (Anycast) Yandex.DNS Yandex
77.88.8.1 2a02:6b8:0:1::feed:0ff AS13238 RU Worldwide (Anycast) Yandex.DNS Yandex
1.1.1.1 2606:4700:4700::1111 AS13335 US *Worldwide
@0xAungkon
0xAungkon / gist:9c2748ca1e134f8c91062c404d7272ed
Created March 2, 2024 20:19
multiplication 2 lists (just sample)
def list_element_multiplection(list_1,list_2): #create a funtion
final='' #taking a empty string
for a in list_1: #run loop 1 (2 and 3)
for b in list_2: # run loop 2 (1,5,6)
final+=f'({a},{b}),' #combine them one by one (2,1),(2,5),(2,6)
return '{'+final[:-1]+'}' #removing the last extra comma and convert into string
a = [2,3] # list one
@0xAungkon
0xAungkon / autocommit.py
Created March 6, 2024 09:36
Git Auto-commit
import os
import time
while True:
os.system("rm -rf ./nohup.out")
os.system("git add .")
os.system("git commit -m \"auto commit\"")
os.system("git status")
os.system("git push")
time.sleep(60)
@0xAungkon
0xAungkon / Cpanel Port Scanner.py
Last active April 24, 2024 11:55
Cpanel Port Scanner
import socket
def scan_ports(host, start_port, end_port, ssh_ports):
open_ports = []
for port in range(start_port, end_port + 1):
try:
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.settimeout(0.1) # Set a timeout to speed up scanning
result = s.connect_ex((host, port))
if result == 0:
@0xAungkon
0xAungkon / mongo-compose.yml
Last active December 24, 2024 06:32
Mongodb Compose File #docker #mongo #node
#rename mongo-compose.yml to compose.yml
version: '3.1'
networks:
db_network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.18.0.0/16
# create a docker network
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
FROM node:latest
WORKDIR /app
COPY . .
RUN apt update; apt install nodejs npm -y
RUN npm install
RUN npm install -g nodemon
@0xAungkon
0xAungkon / Gnome NoVnc - Browser Based Remote Desktop Protocol.txt
Last active May 14, 2026 19:34
Gnome Vnc Server setup over NoVnc Protocol - Ubuntu 24.1 , Kali 24, Debian 12 Tested
# Replace {user} with your linux username
# e.g. @reboot /home/{user}/.start_vnc.sh -> @reboot /home/lenevo/.start_vnc.sh
sudo apt install task-gnome-desktop #debian
sudo apt install ubuntu-gnome-desktop #ubuntu
sudo apt install kali-desktop-gnome #ubuntu
#install gnome
sudo apt install tigervnc-standalone-server tigervnc-common git dbus-x11
#install tigervnc
@0xAungkon
0xAungkon / wnmap.sh
Last active December 24, 2024 06:31
Linux Bash Abstract Wrapper
#!/bin/bash
# example: nmapw (nmap wrapper) , a wrapper that does wrap another bash file over actual program
echo 'Nmap Starting......'
nmap "$@"
echo 'Bye! See You Next Time......'
# wnmap localhost -p- => nmap localhost -p-
# wnmap -A localhost -p 80,8001 => nmap -A localhost -p 80,8001
@0xAungkon
0xAungkon / Readme.md
Last active January 18, 2025 10:35
Git Standard Commit Message Best Practice Example Correct

Here’s a detailed table of enterprise-grade examples for Git commit messages tailored for large-scale solutions, considering high collaboration, scalability, and maintainability:

Type Description (When to Use) Commit Message Example
feat For introducing a new feature with clear business value. feat: implement multi-tenant support for enterprise clients
fix For resolving critical bugs or production issues. fix: address race condition in payment processing workflow
docs For