Automasi dan Skrip Hacking di Termux

Automasi & Skrip Hacking di Termux - Nyx6st

Automasi dan Skrip Hacking di Termux: Bash & Python

Artikel ini akan membahas dari artikel sebelumnya
Hacking pentesting di termux

Author: Nyx6st

Mengapa Automasi Penting?

Dalam dunia pentesting, efisiensi sangat penting. Mengetik perintah yang sama berulang kali akan membuang waktu. Dengan Bash atau Python, kita bisa membuat skrip yang mengotomatisasi proses scanning, login brute-force, bahkan deploy payload.

Contoh Skrip Bash Sederhana untuk Nmap Scan



#!/bin/bash

# auto-nmap.sh

echo "Masukkan target:"

read target

nmap -sS -A $target -oN hasil-scan.txt

echo "Scan selesai. Lihat hasil di hasil-scan.txt"

    

Cara pakai:



chmod +x auto-nmap.sh

./auto-nmap.sh

    

Contoh Python Script Otomatisasi SQLi



# auto_sql.py

import os

target = input("Masukkan URL target: ")

os.system(f"sqlmap -u '{target}' --batch --dbs")

    

Cara pakai:



python auto_sql.py

    

Skrip ini akan otomatis menjalankan SQLMap dengan target yang dimasukkan user.

Tips Praktis Automasi

  • Buat skrip untuk proses yang kamu lakukan berulang (scan, inject, recon, enum)
  • Simpan output ke file otomatis (dengan `> hasil.txt` atau `-oN`)
  • Jadikan skrip executable (`chmod +x`)
  • Gabungkan beberapa tools dalam satu pipeline skrip

Contoh: Multi Tool Automation



#!/bin/bash

# auto-recon.sh

read -p "Target (domain/IP): " target

echo "[*] Memulai recon ke $target"

nmap -sV $target -oN nmap.txt

nikto -h http://$target > nikto.txt

whatweb http://$target > whatweb.txt

echo "Recon selesai. Lihat folder ini untuk output lengkap."

    

Rekomendasi Tools untuk Skrip Otomatis:

  • cron: Menjadwalkan otomatisasi
  • Termux:Tasker: Integrasi dengan Android Tasker
  • tmux: Menjalankan banyak sesi skrip paralel

Penutup

Automasi bukan cuma bikin kerjaan lebih ringan, tapi juga meningkatkan efisiensi dalam hunting bug maupun pentesting. Latih terus skrip kamu—mulai dari dasar, lalu kembangkan jadi modul attack chain otomatis 💥

Nantikan artikel selanjutnya: Monitoring dan Keamanan di Termux.

Post a Comment

Lebih baru Lebih lama

Mengenai Saya

Foto saya
6ickzone
I've been deep in the world of cybersecurity, crypto, AI, and hacking for years. This blog is where I share my journey, tools, tips, and everything I learn along the way. But beyond code and exploits, there's also rhythm. I'm also exploring the digital soundscape — producing beats, fusing dark tech vibes with trap, drill, and EDM. Music is my second language, and it's where I channel the energy of the underground digital world. From my early days as a defacer to my current focus on ethical hacking and experimental music, I’m building 6ickzone as a hybrid space where hacking meets art. Why 6ickzone? 6ickzone is more than just a blog — it's a realm where hackers, beatmakers, and digital renegades gather. Whether you're here for the tools or the tunes, welcome to the zone.
Lihat profil lengkapku

Cari Blog Ini

About