Cari
124 buku memuat "bin bash" · halaman 6 dari 7
Instalasi Oracle
Buat Script edit chkconfig sudo vi /sbin/chkconfig #!/bin/bash # Oracle 11gR2 XE installer chkconfig hack for Ubuntu file=/etc/init.d/oracle-xe if grep INIT` ; then echo >> $file echo '### BEGIN INIT INFO' >> $file echo '# Provides: OracleXE' >> $file echo …
SchoolOnffLine: Instalasi dan Konfigurasi Server Standard
… Sebaiknya dilakukan manual apt-get install mysql-server Sampai "hang". Melalui terminal lain cek ps ax 4912 pts/4 S+ 0:00 /bin/bash -e /var/lib/dpkg/info/mysql-server-5.1.pos... $ sudo kill 4912 Lakukan instalasi Server lainnya menggunakan perintah apt-get …
Remaster Ubuntu LiveUSB Menggunakan Text Mode
Lakukan chroot sesudah semua siap $ sudo chroot /tmp/ubuntu_usb_image /bin/bash # Customisasi Sekarang kita sudah berada di lingkungan yang baru yang dapat di modifikasi habis-habisan. Contoh, kita dapat menginstalasi paket tambahan berikut, # apt-get …
Backtrack: Mirror Repository Backtrack 4.0
… building of Ubuntu mirror ##### ## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED #!/bin/bash ## Setting variables with explanations. # # Don't touch the user's keyring, have our own instead # export GNUPGHOME=/home/media …
Firewall Untuk Proxy DansGuardian
… Bagian ini memang sifatnya optional, tapi sangat di sarankan. Copy perintah berikut ke file /etc/network/if-up.d/iptables-config #!/bin/bash iptables -F # set the default policy for each of the pre-defined chains iptables -P INPUT ACCEPT iptables -P OUTPUT …
Internet Offline: IPv6 pps measurement
… on an interface. For these scripts to work, you do not need to install anything. Measure Packets per Second on an Interface #!/bin/bash INTERVAL="1" # update interval in seconds if -z "$1" ; then echo echo usage: $0 network-interface echo echo e.g. $0 …
Kali Linux: Masalah dengan 'grub-pc' failed to install into /target/
… /pts /mnt/dev/pts sudo mount --bind /sys /mnt/sys sudo mount -t proc /proc /mnt/proc sudo chroot /mnt /bin/bash mount -a Tambahkan debian squeeze repository vim /etc/apt/source.list tambahkan ## Security updates deb http://security.kali.org/kali-security …
Script Mirror Ubuntu 12.04 32 & 64 bit
… 12.04 32 & 64 bit Sumber: https://onnocenter.or.id/wiki/index.php/Script_Mirror_Ubuntu_12.04_32_&_64_bit #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 …
Script Mirror Ubuntu 14.04 32 & 64 bit
… 14.04 32 & 64 bit Sumber: https://onnocenter.or.id/wiki/index.php/Script_Mirror_Ubuntu_14.04_32_&_64_bit #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 …
Script Mirror Ubuntu 14.10 32 & 64 bit
… 14.10 32 & 64 bit Sumber: https://onnocenter.or.id/wiki/index.php/Script_Mirror_Ubuntu_14.10_32_&_64_bit #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 …
Script Mirror Ubuntu 15.04 32 & 64 bit
… 15.04 32 & 64 bit Sumber: https://onnocenter.or.id/wiki/index.php/Script_Mirror_Ubuntu_15.04_32_&_64_bit #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 …
DVWA: Command Execution
… | ls 1 | pwd & whoami & ps 1 | uname -a & users & id & w 1 | cat /etc/group 1 | cat /etc/passwd 1 | netcat -v -e ‘/bin/bash’ -l -p 31337 Dari kali linux lakukan netcat -v 192.168.0.80 31337 open whami pwd users cat /etc/passwd Referensi https://pentestlab …
OpenVPN: Instalasi di Ubuntu 16.04
… ~/client-configs: nano ~/client-configs/make_config.sh Di dalam, paste script berikut: ~/client-configs/make_config.sh #!/bin/bash # First argument: Client identifier KEY_DIR=~/openvpn-ca/keys OUTPUT_DIR=~/client-configs/files BASE_CONFIG=~/client-configs …
Tshark: Mengukur Jitter
… .or.id/wiki/index.php/Tshark:_Mengukur_Jitter tshark -nr rtp.pcap -q -z rtp,streams The output will also show jitter values. #!/bin/bash if -z $1 then echo "+ $0 capture.pcap" exit fi if ! -z $2 then limit=$2 else limit=0 fi #tshark -r $1 …
Script untuk sniffing password dan data di lan/wlan menggunakan ettercap, sslstrip, urlsnarf
… a new text file and save as anything.sh (make sure to chmod to execute, right click->properties->permissions->check "is executable") Code: #!/bin/bash echo -n "Do you want to execute Wireshark when done? If yes, LEAVE BLANK " read -e NOYES echo -n "Do you …
Burp Suite: Intruder Payload
… _Payload Sebagian ada di github, instalasinya juga cukup mudah https://github.com/1N3/IntruderPayloads Script Install.sh #!/bin/bash mkdir Repositories/ cd Repositories git clone --depth=1 https://github.com/swisskyrepo/PayloadsAllTheThings.git git clone …
Script NAT Proxy untuk Modem 3G
… perlu di perhatikan yaitu UPLINK NAT INTERFACES Pastikan bahwa anda mengisi ketiga-nya dengan benar. Script Internet Connection Sharing #!/bin/bash # From: AHK <[email protected]> # To: [email protected] # Save this file and activate through # file …
Repository: BlankOn 9
… .or.id --method=http -r blankon -d \ kambing.ui.edu --method=http -r blankon -d \ Untuk membuat script tambahkan #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring debmirror -p -v --nosource --rsync-extra=none -h \ 152.118.24.30 --method=http -r …
DevStack: Install OpenStack
Save dan update apt update Buat user stack (sudoer) untuk menjalankan DevStack, sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack Pindah user sudo su - stack Download & Setup Download git …
Ubuntu password
… steps 1. Reboot your computer 2. Press SHIFT or ESC at the grub prompt (as earlier). 3. Select your image. 4. Highlight the line that begins kernel and press 'e' to edit 5. Go to the very end of the line, change the ro to rw and add init=/bin/bash