Ketika kalian menjalankan perintah
wget -hMaka kalian bisa melihat opsi mirroring ada di menu Recursive download.
Recursive download: -r, --recursive specify recursive download -l, --level=NUMBER maximum recursion depth (inf or 0 for infinite) --delete-after delete files locally after downloading them -k, --convert-links make links in downloaded HTML or CSS point to local files --convert-file-only convert the file part of the URLs only (usually known as the basename) --backups=N before writing file X, rotate up to N backup files -K, --backup-converted before converting file X, back up as X.orig -m, --mirror shortcut for -N -r -l inf --no-remove-listing -p, --page-requisites get all images, etc. needed to display HTML page --strict-comments turn on strict (SGML) handling of HTML comments
Nah berikut adalah contoh untuk mirroring tampilan website menggunakan wget. Disini saya menggunakan opsi m (mirror) dan k (mengubah semua link source HTML dan CSS ke file kocal).
wget -mk https://git.linuxsec.orgContoh output:
Oke mungkin itu dulu sharing kali ini. Semoga bermanfaat. Jika ada yang ingin ditanyakan bisa tinggalkan komentar.
Jangan sampai lewatkan update terbaru dari LinuxSec, berlangganan memalui email sekarang.