Cari
124 buku memuat "bin bash" · halaman 1 dari 7
CTF PwnLab: init: Walkthrough
… mike! Contoh shell scripting bisa di baca2 di root-me.org. Lakukan script di bawah ini, kane@pwnlab:~$ echo "/bin/bash" > cat echo "/bin/bash" > cat kane@pwnlab:~$ chmod 777 cat chmod 777 cat kane@pwnlab:~$ export PATH=/home/kane export PATH=/home/kane …
CTF RED 1: Walkthrough
… ::/run/sshd:/usr/sbin/nologin systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin john:x:1000:1000:john:/home/john:/bin/bash lxd:x:998:100::/var/snap/lxd/common/lxd:/bin/false mysql:x:113:117:MySQL Server,,,:/nonexistent:/bin/false ippsec:x …
Pengantar Pemrograman Bash Shell di Linux
… PATH=$PATH:. setelah itu script diatas dapat dijalankan dengan cara fajar@linux$tes Hello, apa khabar tanda #! pada /bin/bash dalam script tes adalah perintah yang diterjemahkan ke kernel linux untuk mengeksekusi path yang disertakan dalam hal ini …
Nmap: phpmyadmin dir travesal
… :101:103::/home/syslog:/bin/false | sshd:x:102:65534::/var/run/sshd:/usr/sbin/nologin | dps:x:1000:1000:dps,,,:/home/dps:/bin/bash | vboxadd:x:999:1::/var/run/vboxadd:/bin/false | mysql:x:103:110:MySQL Server,,,:/nonexistent:/bin/false | memcache:x:104:112 …
Membuat Repository Ubuntu Lokal i386 amd64
… misalnya di file /usr/local/bin/cerminrepo.14.04.sh /usr/local/bin/cerminrepo.16.04.sh Contoh script 12.04 LTS #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 91.189.88.17 …
LLM: docker shell access
… yang sedang aktif. `-i` menjaga input terminal tetap terbuka. `-t` membuat terminal interaktif. `ollama` adalah nama container. `/bin/bash` membuka shell Bash di dalam container. Jika muncul error bahwa `bash` tidak ditemukan, gunakan: docker exec -it …
Linux: file /etc/rc.local
… . Buat /etc/rc.local touch /etc/rc.local chmod +x /etc/rc.local Isi /etc/rc.local Isi dengan #!/bin/sh #atau #!/bin/bash # script/program yang mau jalankan, contoh /usr/bin/python3 /home/onno/program.py & exit 0 entry /usr/bin/python3 dst bisa diubah …
DVWA: Brute Force login
… 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 #!/bin/bash # Quick PoC template for HTTP GET form brute force # Target: DVWA v1.10 (Brute Force - Low) # Date: 2015-10-25 # Author: g0tmi1k ~ https://blog.g0tmi1k.com …
CTF Stapler: Walkthrough
… /bin/sh: 0: can't access tty; job control turned off $ Gunakan python untuk mengaktifkan bash $ python -c 'import pty;pty.spawn("/bin/bash")' www-data@red:/var/www/https/blogblog/wp-content/uploads$ cd / cd / www-data@red:/$ ls ls bin etc lib mnt root snap …
Awstats
… above command on a daily or hourly basis. Here is a small BASH script that can be run through cron: ! /bin/bash Update the statistics database perl /home/jsmith/awstats/wwwroot/cgi-bin/awstats.pl -config=mysite -update -showcorrupted Calculate Total Visits …
Red5: Instalasi dari SVN Server
… /red5 RED5_PROG=red5 test -x $RED5_HOME/$RED5_PROG.sh || exit 5 case "$1" in start) echo -n "Starting Red5" echo -n " " cd $RED5_HOME su -s /bin/bash -c "$RED5_HOME/$RED5_PROG.sh &" $RED5_USER sleep 2 ;; stop) echo -n "Shutting down Red5" echo -n " " su -s …
Buffalo: WZRHPG450H Cara Recovery
… .11.1 02:aa:bb:cc:dd:23 curl -T openwrt-18.06.5-ar71xx-generic-wzr-hp-g450h-squashfs-tftp.bin tftp://192.168.11.1 Buat Script vi setip.sh Isi dengan #!/bin/bash while true ; do ifconfig eth0 192.168.11.2 arp -s 192.168.11.1 02:aa:bb:cc:dd:23 done atau …
CTF /dev/random: Walkthrough
… This gave me the name of 2 users on the machine: 1 2 3 --- mauk:x:1001:1001::/home/mauk:/bin/bash jetta:x:1002:1002::/home/jetta:/bin/bash Next I looked around some more, and when listing the home directories, I noticed that mauk’s home folder permissions …
Mkfifo: cara kerja
… < nama_pipa Contoh penggunaan: Misalkan kita memiliki dua skrip: Skrip 1 (penulis): #!/bin/bash while true; do echo "Data dari skrip 1" > mypipe sleep 1 done Skrip 2 (pembaca): #!/bin/bash while true; do read line < mypipe echo "Data yang diterima: $line …
Mkfifo: how it works (en)
… " > pipe_name Usage Example: Suppose we have two scripts: Script 1 (writer): #!/bin/bash while true; do echo "Data from script 1" > mypipe sleep 1 done Script 2 (reader): #!/bin/bash while true; do read line < mypipe echo "Received data: $line" done Script …
LLM: ubuntu 24.04 ollama + open-webio full docker
… atau ID kontainernya, akses shell interaktif di dalamnya: docker exec -it nama_atau_id_kontainer /bin/bash docker exec -it ollama /bin/bash 2. Menampilkan Daftar Model : Setelah berada di dalam kontainer, jalankan perintah berikut untuk menampilkan daftar …
LLM: ubuntu 24.04 ollama + open-webio + n8n full docker
… atau ID kontainernya, akses shell interaktif di dalamnya: docker exec -it nama_atau_id_kontainer /bin/bash docker exec -it ollama /bin/bash 2. Menampilkan Daftar Model : Setelah berada di dalam kontainer, jalankan perintah berikut untuk menampilkan daftar …
USB OFFLINE: Ubuntu 24.04 LLM Ollama Open-WebUI
… atau ID kontainernya, akses shell interaktif di dalamnya: sudo docker exec -it nama_atau_id_kontainer /bin/bash sudo docker exec -it ollama /bin/bash 2. Menampilkan Daftar Model : ollama list Perintah ini akan menampilkan semua model yang saat ini tersedia …
WiFi: Mesh Potato HOWTOs
… up. If you think you may be doing this often, you can save the text below as a bash script and automate the above commands. #!/bin/bash ARGS=2 if "$(id -u)" != "0" ; then echo "" echo " Sorry, this script must be run as root." echo " Try sudo $0 name_of …
ROM Android: Compile bagian tertentu dari source Android
… name, for example “buildessentials”, open the file with your favorite text editor (gedit is recommended) and place this line at the very top of your document: #!/bin/bash This indicates that this file should call /bin/bash, which is the shell interpreter.