Bulk Submission DefacerID
Panduan singkat dan jelas untuk menggunakan script PHP & Python DefacerID yang mengirim banyak mirror ke endpoint API.
Gambaran singkat
Script ini berjalan di CLI PHP. Fungsi utamanya adalah membaca daftar URL hasil mirror deface dari file teks lalu mengirim tiap URL ke https://api.defacer.id/notify
dalam format JSON. Outputnya adalah status response untuk tiap entry.
Cara pakai
- Buat file teks, 1 URL per baris. Simpan sebagai
list.txt
. - Pastikan PHP terpasang dan modul cURL aktif.
- Jalankan perintah di terminal:
php defacerid.php list.txt
Script akan meminta konfirmasi untuk notifier dan team sebelum mulai mengirim.
Contoh singkat output
http://example.com/mirror1 => successfully added to the database http://example.com/mirror2 => domain has beed added to the database http://example.com/mirror3 => Invalid JSON response
⚠️ Disclaimer
This article is intended solely for educational purposes. The creator shall not be held liable for any misuse, illegal activities, or damages resulting from the unauthorized use of this content.
Tips modifikasi cepat
- Ubah variabel
$notifier
dan$team
sesuai identitas kau. - Tambahkan retry logic bila API rate limit aktif.
- Simpan hasil responses ke file log untuk audit
found.txt
atauerrors.txt
. - Gunakan
--dry-run
(modifikasi) untuk verifikasi format tanpa kirim.
Troubleshooting singkat
- Invalid JSON response: Pastikan API merespon JSON. Cetak
curl_setopt($ch, CURLOPT_VERBOSE, true)
untuk debugging. - 403/401: Cek apakah endpoint berganti atau memerlukan authentication.
- Timeout: Tambah opsi timeout di cURL dan gunakan throttling loop untuk menghindari blokir.
Posting Komentar