Skip to content

Instantly share code, notes, and snippets.

View p0unter's full-sized avatar
:shipit:
You got a dream... you gotta protect it.

Yavuz p0unter

:shipit:
You got a dream... you gotta protect it.
View GitHub Profile
@p0unter
p0unter / GitLogin.md
Created August 17, 2025 15:57
CLI github login with SSH / Token.
@p0unter
p0unter / SuperUser.md
Created August 17, 2025 15:54
Be Super User on the Kali Linux.

Switch to root user

sudo passwd root 

The root user of give new password.

su root
@p0unter
p0unter / WlanFix.sh
Created August 17, 2025 15:46
Wlan fix script file (pls read before running for integration).
#!/bin/bash
# Description: Script to fix WLAN issues on Kali Linux by restarting interfaces and services.
# Logs all actions with timestamps to wlan_fix.log.
LOGFILE="wlan_fix.log"
# Function to log messages with timestamp
log() {
echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOGFILE"
@p0unter
p0unter / Waybar Refresh.md
Created August 17, 2025 15:44
Hyprland Waybar refresh process with Command & Script(auto...)

It's just for waybar of hyprland config :

killall -SIGUSR2 waybar

Bash script for all time listening changes:

#!/bin/bash

CONFIG_LOC="/home/user/.config/waybar/config"
@p0unter
p0unter / Audio Solution.md
Created August 17, 2025 15:42
Audio problem solution on ArchLinux (Intel Process).

important libs:

sudo pacman -S sof-firmware alsa-ucm-conf linux-firmware pipewire pipewire-alsa pipewire-pulse wireplumber

for pipewire:

sudo pacman -S pipewire pipewire-pulse wireplumber lib32-pipewire

learn current audio card stat

@p0unter
p0unter / pps_test.c
Created August 17, 2025 15:40
Packets per second test tool in C language.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <sched.h>
@p0unter
p0unter / Meterpreter.md
Created August 17, 2025 15:38
Meterpreter using commands in Metasploit.
systeminfo # displays system info
show_mount # displays the connected disk (partitions)
idletime && localtime # displays system idle time and local time
shutdown && reboot # close system or restart
ipconfig # displays the system ip config
route # allows routes to be displayed and modified
ps # displays running processes
kill <PID> # terminates the process of the related PID.
getpid # displays which PID the session is running on
@p0unter
p0unter / Nmap Notes.md
Created August 17, 2025 15:27
Nmap tool important commands.

Cheat Sheet

nmap -p80,443,445 -sV -O --osscan-guess 192.168.1.10-50 -T4
nmap 192.168.1.15 # single ip scan
nmap 192.168.1.15 192.168.1.52 # more ip scan
nmap 192.168.1.1-254 # ip range defination
nmap 192.168.1.0/24 # with net mask
nmap abc.com # with domain
nmap -iL target.txt # with file