Cari
241 buku memuat "usr bin" · halaman 10 dari 13
KI: PRAKTEK 10: AI untuk Deteksi Anomali
… parse_authlog.py — parse auth.log → dataset fitur Buat file: nano ~/modul10-ai-anomali/scripts/parse_authlog.py Isi: #!/usr/bin/env python3 import re import json from datetime import datetime, timedelta from collections import deque, defaultdict # Auth log …
KI: PRAKTEK 11: AI untuk Audit Data Pribadi
Tahap 2 — Bangun “AI Data Scanner” Versi 1 (Regex Engine) Buat file ai_auditor.py: #!/usr/bin/env python3 import re import json from pathlib import Path from datetime import datetime # --- Pola PII (sengaja sederhana dulu, nanti bisa ditingkatkan) --- …
Bitcoin Miner: cgminer
… : https://onnocenter.or.id/wiki/index.php/Bitcoin_Miner:_cgminer cgminer adalah miner untuk menggunakan GPU caranya apt install cgminer Jalankan cd /usr/bin ./cgminer --userpass userID.workerID:any-password --url stratum+tcp://stratum.slushpool.com:3333
Setup Satellite Internet Connection
… dvb cards. Option A: # szap -c /etc/channels.conf -n 1 > /dev/null 2>&1 & Option B: # start-stop-daemon --start --background --exec /usr/bin/szap -- -c /etc/channels.conf -n 1 6. Set up DVB network interface Your ISP provides you the PID, which is used for …
Fritzing: Instalasi di Ubuntu 16.04
… di Ubuntu 16.04 Sumber: https://onnocenter.or.id/wiki/index.php/Fritzing:_Instalasi_di_Ubuntu_16.04 sudo su apt update apt -y install fritzing fritzing-data fritzing-parts Run Fritzing Perhatikan "F" besar. Atau langsung di shell /usr/bin/Fritzing
Fritzing: Instalasi di Ubuntu 20.04
Fritzing: Instalasi di Ubuntu 20.04 Sumber: https://onnocenter.or.id/wiki/index.php/Fritzing:_Instalasi_di_Ubuntu_20.04 sudo su apt update apt -y install fritzing fritzing-data fritzing-parts Run fritzing /usr/bin/fritzing
Instalasi dan Konfigurasi rsync
… daemon rsync --daemon atau /etc/init.d/rsync restart Jika perlu masukan ke rc.local # vi /etc/rc.local isi /usr/bin/rsync --daemon & atau /etc/init.d/rsync restart Client Untuk memudahkan proses rsync ada baiknya Mempersiapkan SSH untuk melakukan SCP Batch …
VoIP Cookbook: Installation of SIPp Webfrontend
… ; \. /var/www/sipp/tables.sql quit Edit config.ini.php vi /var/www/sipp/config.ini.php Such that EXECUTABLES 3.0 = "/usr/bin/sipp" CONFIG db_host = "localhost" db_user = "root" db_pwd = "123456" db_name = "SIPpDB" admin_pwd = "" To make it easier for …
Hadoop: Pemrogramman dengan Python
… execution permission (chmod +x /home/hduser/mapper.py should do the trick) or you will run into problems. mapper.py #!/usr/bin/env python import sys # input comes from STDIN (standard input) for line in sys.stdin: # remove leading and trailing whitespace …
Filosofy: Bagaimana proses hacking dilakukan?
… biasanya dianggap paling aman di jaringan. Start dengan check akses & eksport NFS ke berbagai direktori yang kritis seperti /usr/bin, /etc dan /home. Eksploitasi mesin melalui kelemahan Common Gateway Interface (CGI), dengan akses ke file /etc/hosts.allow …
Python: Tipe Variable
#!/usr/bin/python counter = 100 # An integer assignment miles = 1000.0 # A floating point name = "John" # A string print counter print miles print name Disini 100, 1000.0 dan "John" adalah nilai yang di masukan ke variabel counter, miles, dan name. Ini …
20 Linux System Monitoring Tool
# pmap -d 47394 Contoh keluaran: 47394: /usr/bin/php-cgi Address Kbytes Mode Offset Device Mapping 0000000000400000 2584 r-x-- 0000000000000000 008:00002 php-cgi 0000000000886000 140 rw--- 0000000000286000 008:00002 php-cgi 00000000008a9000 52 rw--- …
CTF RED 1: Walkthrough
… 22:28, 0.00s elapsed Initiating NSE at 22:28 Completed NSE at 22:28, 0.00s elapsed Read data files from: /usr/bin/../share/nmap Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host …
Python: File
… ') file_.close() Argumen usage: test.py -i <inputfile> -o <outputfile> Here is the following script to test.py − #!/usr/bin/python import sys, getopt def main(argv): inputfile = outputfile = try: opts, args = getopt.getopt(argv,"hi:o:",["ifile=","ofile …
Hadoop: Python Map Reduce
… execution permission (chmod +x /home/hduser/mapper.py should do the trick) or you will run into problems. mapper.py #!/usr/bin/env python import sys # input comes from STDIN (standard input) for line in sys.stdin: # remove leading and trailing whitespace …
IPv6 Security: Audit Security
… /tcp open https 445/tcp open microsoft-ds MAC Address: 08:00:27:13:AF:DF (Oracle VirtualBox virtual NIC) Read data files from: /usr/bin/../share/nmap Nmap done: 1 IP address (1 host up) scanned in 3.36 seconds Raw packets sent: 1030 (65.928KB) | Rcvd: 1030 …
LLM: RAG ollama menggunakan open-webui dan postgresql docker
… /systemd/system/ollama.service Isi dengan: Unit Description=Ollama Service After=network-online.target Service ExecStart=/usr/bin/ollama serve User=ollama Group=ollama Restart=always RestartSec=3 Install WantedBy=default.target Kemudian, aktifkan dan …
Nrss
… add " http://opensource.telkomspeedy.com/forum/rss.php " "KIOSS" #Change rate for Slashdot rate "30" "Slashdot" #These aren't defaults, but examples browser "/usr/bin/lynx %u" #Text browsers should enable this browser_wait "1" Pranala Menarik Linux Howto
PM: Bottleneck Detection
… dan tampilkan TOP-N bottleneck Install (sekali saja) pip install pm4py pandas numpy 1) Script utama — `bottleneck_pm4py.py` #!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import sys from pathlib import Path import numpy as np import pandas …
PM: Transition System Miner
… # pastikan sistem punya Graphviz binary (dot). Linux (Debian/Ubuntu): # sudo apt-get install graphviz transition_system_miner.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import sys from pathlib import Path import pandas as pd from …