Skip to content

Instantly share code, notes, and snippets.

View aksisoftsby's full-sized avatar
🍜
OK

aksigit aksisoftsby

🍜
OK
  • Surabaya - Sidoarjo
View GitHub Profile
@aksisoftsby
aksisoftsby / 1-laporan-ibenews-id.md
Last active June 3, 2023 10:30
Hasil pengecekan file system ibenews.id

Data File terkena injeksi

Data File ada dibawah

  1. File public_html/wp-content/themes/Detak Terkini/footer.php Keterangan : dugaan injeksi link tapi darimana tidak tahu, file sementara akan di lock supaya tidak bisa diubah hanya untuk dibaca

Dugaan

  1. Dari pengalaman kami script facebook kadang bisa jadi penyebab injeksi (komentar) ataupun facebook embed bisa jadi penyebab iklan maupun link yang tidak benar jika diklik.
@aksisoftsby
aksisoftsby / daftar-harga.md
Last active June 1, 2023 12:00
daftar harga untuk migrasi dan untuk perbaikan website

Daftar Harga

1. Membersihkan Virus Rp. 300.000

Background : website terkena virus / iklan nakal ketika dibuka, bahkan ketika diklik link tidak mengakses halaman sebagaimana mestinya

Kerja :

  1. mendownload keseluruhan file (compiling zip / tar.gz)
  2. mempelajari file yang terkena malware atau injeksi virus
  3. Memberikan informasi dimana letak informasi virus / malware yang ada kemudian menghapus (hanya bagian yang terinjeksi, jadi tidak menghapus keseluruhan file, guna menjaga kestabilan system. karena dari pengalaman kami malware hanya injeksi bagian file tidak keseluruhan file)
  4. mengecek kembali malware / virus dengan membuka halaman utama dan halaman halaman posting

Kabar

Unlock Deep Freeze, enable writable folder, execute dimanapun

chown -R www-data:www-data /var/www/html/

Lock Folder dan enable folder writable untuk uploads dan cache

chown -R root:root /var/www/html
# Enable Compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
@aksisoftsby
aksisoftsby / ftp_download.php
Created July 23, 2018 00:41 — forked from staatzstreich/ftp_download.php
Download a directory from an FTP Server
<?php
// ftp_sync - copy directory and file structure
// based on http://www.php.net/manual/es/function.ftp-get.php#90910
// main function witch is called recursivly
function ftp_sync($dir, $conn_id) {
if ($dir !== '.') {
if (ftp_chdir($conn_id, $dir) === FALSE) {
echo 'Change dir failed: ' . $dir . PHP_EOL;
return;
@aksisoftsby
aksisoftsby / 00.howto_install_phantomjs.md
Created July 12, 2018 04:12 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev