Categories: Kali Linux

Astsu : A Network Scanner Tool

Astsu is a network scanner tool, developed in Python 3 using scapy.

How it works?

  • Scan common ports : Send a TCP Syn packet to the destination on the defined port, if the port is open, use an nmap scan to check the service running on the port and prints all the ports found.
  • Discover hosts in network : Uses as a base the router’s ip to map all possible ips. It then sends an ICMP packet to each IP, and waits for a response, if it receives any response saved in an array the IP of the online host, and when it finishes checking all hosts, prints all hosts online.
  • OS Scan : Sends an ICMP packet to the destination and waits for a response. Then, extracts the TTL from the destination response and checks the possible OS in a list, if have founded, prints it.

How to install?

Clone this repository git clone https://github.com/ReddyyZ/astsu.git

  • Install python 3.
    • Linux
      • apt-get install python3
      • chmod +x *
      • python3 -m pip install -r requirements.txt
      • python3 install.py
      • Done!
    • Windows
      • Python 3, download and install
      • python3 -m pip install -r requirements.txt
      • python3 install.py
      • Done!

Arguments

  • -sC | Scan common ports
    • -p | Protocol to use in the scan
    • -i | Interface to use
    • -t | Timeout to each request
    • -st | Use stealth scan method (TCP)
  • -sA | Scan all ports
    • -p | Protocol to use in the scan
    • -i | Interface to use
    • -t | Timeout to each request
    • -st | Use stealth scan method (TCP)
  • -sP | Scan a range ports
    • -p | Protocol to use in the scan
    • -i | Interface to use
    • -t | Timeout to each request
    • -st | Use stealth scan method (TCP)
  • -sO | Scan OS of a target
  • -d | Discover hosts in the network
    • -p | Protocol to use in the scan
    • -i | Interface to use

OS Support

  • Windows ✔️
  • Linux ✔️
  • Mac
R K

Recent Posts

cp Command: Copy Files and Directories in Linux

The cp command, short for "copy," is the main Linux utility for duplicating files and directories. Whether…

5 days ago

Image OSINT

Introduction In digital investigations, images often hold more information than meets the eye. With the…

5 days ago

cat Command: Read and Combine File Contents in Linux

The cat command short for concatenate, It is a fast and versatile tool for viewing and merging…

6 days ago

Port In Networking

What is a Port? A port in networking acts like a gateway that directs data…

6 days ago

ls Command: List Directory Contents in Linux

The ls command is fundamental for anyone working with Linux. It’s used to display the files and…

6 days ago

pwd Command: Find Your Location in Linux

The pwd (Print Working Directory) command is essential for navigating the Linux filesystem. It instantly shows your…

6 days ago