Pustaka Taratsa

Cari

241 buku memuat "usr bin" · halaman 9 dari 13

  1. Mengekstrak File 7z di Ubuntu

    Onno Widodo Purbo

    … a 7z file ( 7zip file ) on Unix platform as shown below. Verify whether you have 7za command on your system. # whereis 7za 7za: /usr/bin/7za /usr/share/man/man1/7za.1.gz If you don’t have 7za command, install p7zip package as shown below. Install p7zip to …

    awal bukuBaca teks (EPUB)

  2. Hacking: web deface

    Onno Widodo Purbo

    … files: utmp, wtmp, lastlog, and .bash_history These files are usually in /var/log/ but I have heard of them being in /etc/ /usr/bin/ and other places. Since it is different on alot of boxes it is best to just do a find / -iname 'utmp'|find / -iname 'wtmp …

    sekitar 77% dari bukuBaca teks (EPUB)

  3. Script Mirror Repository Ubuntu 16.04

    Onno Widodo Purbo

    … : https://onnocenter.or.id/wiki/index.php/Script_Mirror_Repository_Ubuntu_16.04 #!/bin/bash export GNUPGHOME=/var/data/mirrorkeyring /usr/bin/debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 \ -d xenial,xenial …

    awal bukuBaca teks (EPUB)

  4. SquidGuard: Instalasi di Ubuntu 16.04

    Onno Widodo Purbo

    Edit squid.conf vi /etc/squid/squid.conf Tambahkan url_rewrite_program /usr/bin/squidGuard Cek sudo squidGuard -C all chown -R proxy:proxy /var/lib/squidguard/db sudo ls -l /var/lib/squidguard/db* Konfigurasi Edit squidguard.conf sudo su cp /etc/squidguard …

    sekitar 50% dari bukuBaca teks (EPUB)

  5. Hands-on: Gaining Root and Administrator Access in Linux and Windows (en)

    Onno Widodo Purbo

    … we can check what commands can be run without a password using: sudo -l Suppose the output is like this: (ALL) NOPASSWD: /usr/bin/find This means that the user can run the `find` command as root without a password. Exploit: With this capability, we can run …

    sekitar 33% dari bukuBaca teks (EPUB)

  6. Instalasi Oracle

    Onno Widodo Purbo

    … perlu memperbesar. Silahkan membaca-baca cara memperbesar swap Cek swap dengan free -m Reboot shutdown -r now Tweak sudo ln -s /usr/bin/awk /bin/awk sudo mkdir -p /var/lock/subsys sudo touch /var/lock/subsys/listener Perbaiki /dev/shm Untuk menghindari …

    sekitar 33% dari bukuBaca teks (EPUB)

  7. Jitsi

    Onno Widodo Purbo

    … ~20.04-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode) Jika di perlukan , kita bisa tambahkan JAVA_HOME environment variable: echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee -a /etc/profile source /etc/profile

    sekitar 33% dari bukuBaca teks (EPUB)

  8. Python: email

    Onno Widodo Purbo

    Here’s an example of how to unpack a MIME message like the one above, into a directory of files: #!/usr/bin/env python """Unpack a MIME message into a directory of files.""" import os import sys import email import errno import mimetypes from optparse …

    sekitar 60% dari bukuBaca teks (EPUB)

  9. Cyber Security: Python: Isolasi Outliar

    Onno Widodo Purbo

    … pip install pandas numpy scikit-learn 3. Buat script nano wazuh_archive_outlier.py Isi dengan script ini: #!/usr/bin/env python3 """ wazuh_archive_outlier.py Analisa outlier dari Wazuh archives.json. Output: - outliers.csv - outliers.jsonl - sample …

    awal bukuBaca teks (EPUB)

  10. Ubuntu: rc.local di ubuntu 18.04

    Onno Widodo Purbo

    … .168.0.253 /sbin/ifconfig enp2s0 up /sbin/ifconfig enp3s0 up sleep 10 /sbin/dhclient enp3s0 /sbin/dhclient enp2s0 /etc/init.d/smbd restart /etc/init.d/nfs-kernel-server restart /usr/bin/utserver -settingspath /opt/utorrent-server-alpha-v3_3/ -daemon exit 0

    awal bukuBaca teks (EPUB)

  11. Python: Selenium Login ke Twitter

    Onno Widodo Purbo

    Python: Selenium Login ke Twitter Sumber: https://onnocenter.or.id/wiki/index.php/Python:_Selenium_Login_ke_Twitter #!/usr/bin/env python # -*- coding: UTF-8 -*- import os import sys import codecs import pprint import unittest from selenium import …

    awal bukuBaca teks (EPUB)

  12. VoIP: Instalasi SIPp Webfrontend

    Onno Widodo Purbo

    … SIPpDB; \. /var/www/sipp/tables.sql quit Edit config.ini.php vi /var/www/sipp/config.ini.php EXECUTABLES 3.0 = "/usr/bin/sipp" CONFIG db_host = "localhost" db_user = "root" db_pwd = "123456" db_name = "SIPpDB" admin_pwd = "" Akses SIPp Webfrontend http …

    awal bukuBaca teks (EPUB)

  13. Smbclient

    Onno Widodo Purbo

    … , which allows one to mount and umount SMB shares. More on smbfs below. To see which shares are available on a given host, run: /usr/bin/smbclient -L host where 'host' is the name of the machine that you wish to view. this will return a list of 'service …

    awal bukuBaca teks (EPUB)

  14. SNORT: email alert

    Onno Widodo Purbo

    … log entries are multiline texts, seperated by 2 newlines, we also tell swatch to use the 2 new lines as a seperator: /usr/bin/swatch --daemon -c /var/ipfire/snort/swatchrc --input-record-separator='\n\n' -t /var/log/snort/alert To start this automatically …

    sekitar 75% dari bukuBaca teks (EPUB)

  15. Perl

    Onno Widodo Purbo

    #!/usr/bin/perl print "Hello, world!\n"; Jika program di atas ditulis dalam sebuah berkas bernama hello.pl , lalu dijalankan dengan perintah (contoh di Linux): $ perl hello.pl Maka di layar akan tercetak: Hello, World! $ Bahkan, sebuah program yang …

    sekitar 38% dari bukuBaca teks (EPUB)

  16. Linux: Lock Login

    Onno Widodo Purbo

    … to clear all counts every midnight or week from a cron job. crontab -e Reset failed login recover every week: @weekly /usr/bin/faillog -r Save and close the file. Recommended readings: => Read the pam_tally, faillog and pam man pages: $ man pam_tally …

    akhir bukuBaca teks (EPUB)

  17. SchoolOnffLine: Instalasi Apache2 & OpenSSH Server

    Onno Widodo Purbo

    … -xmlrpc libnet-ssleay-perl openssh-server catdoc Perbaiki MySQL chown -R mysql.mysql /var/run/mysqld/ chmod 755 /var/run/mysqld/ /usr/bin/mysqld_safe & Buang index.html dari /var/www/ rm /var/www/index.* Restart Server /etc/init.d/apache2 restart /etc/init …

    awal bukuBaca teks (EPUB)

  18. ScreenShot: Disable

    Onno Widodo Purbo

    … : Disable Sumber: https://onnocenter.or.id/wiki/index.php/ScreenShot:_Disable Remove executable permission from gnome-screenshot sudo chmod -x /usr/bin/gnome-screenshot Now print-screen disabled, if you want to get it work back just change from -x to +x

    awal bukuBaca teks (EPUB)

  19. Python: Transfer File Multithread di Localhost

    Onno Widodo Purbo

    Client # client2.py #!/usr/bin/env python import socket TCP_IP = 'localhost' TCP_PORT = 9001 BUFFER_SIZE = 1024 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((TCP_IP, TCP_PORT)) with open('received_file', 'wb') as f: print 'file opened' …

    sekitar 50% dari bukuBaca teks (EPUB)

  20. Free5GC: Install

    Onno Widodo Purbo

    … .6.3, Golang 1.11.4. sudo apt-get update sudo apt-get -y install mongodb wget git sudo systemctl start mongodb (if '/usr/bin/mongod' is not running) Check apakah golang sudah di instalasi go version Jika belum, jalankan perintah di bawah ini, wget -q https …

    sekitar 10% dari bukuBaca teks (EPUB)