Skip to main content

A premium interactive CLI network traffic analyzer with Gemini AI integration

Project description

AuraSniff

PyPI version License: MIT GitHub Repository

AuraSniff is a premium, interactive terminal-based network packet capture (PCAP) analyzer. It extracts key protocol features, automatically hunts down cleartext credentials, scans for security anomalies (like port scans, ARP spoofing, and DNS tunneling), and lets you query your network capture files in natural language using the Gemini AI API.


Features

  • ⚡ Offline PCAP parsing: Streams and parses .pcap and .pcapng files locally without relying on external servers or a local Wireshark installation.
  • 🔑 Automatic Credentials Harvester: Instantly pulls cleartext logins from SMTP, POP3, IMAP, FTP, and HTTP POST forms.
  • 🚨 Threat & Anomaly Engine: Detects port scanning, ARP anomalies, and DNS tunneling indicators right from the dashboard.
  • 💻 Interactive AI Chat Shell: Connect your Gemini API Key to talk with your PCAP file. Type questions like "Find traffic from John's iPad" or "Is there any suspicious port scanning?" and let Gemini build search filters to query the packet log.
  • 🔍 Deep Packet Inspection: Explores packet layer hierarchies and side-by-side colorized hex-ASCII payload dumps directly in the terminal.

Installation

AuraSniff can be installed directly from PyPI:

pip install aurasniff

Quick Start

1. Run Complete Dashboard Analysis

To parse a PCAP file and output a comprehensive console dashboard:

aurasniff analyze <path_to_file.pcap>

2. Configure Gemini API Key (Optional)

To use natural language queries, configure your Gemini API key:

aurasniff config set-key <YOUR_GEMINI_API_KEY>

Note: If no key is set, AuraSniff defaults to a local keyword/rule-based search fallback.

3. Open Interactive AI Prompt Shell

Launch the shell REPL:

aurasniff shell <path_to_file.pcap>

Example Commands Inside Shell:

  • creds - Show all captured passwords.
  • dns - View DNS lookups.
  • detail 45 - Deep inspect packet #45.
  • "Which website did the device with IP 192.168.1.15 contact?"
  • "Who is scanning ports?"

4. Single-Query Command

Ask a quick question from standard command line:

aurasniff query <path_to_file.pcap> "what HTTP log-ins did you find?"

License

Distributed under the MIT License. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aurasniff-0.1.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aurasniff-0.1.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file aurasniff-0.1.0.tar.gz.

File metadata

  • Download URL: aurasniff-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aurasniff-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebd850eb8066b02f9c6c69c647d50551b3eb9333fe66f6d63085d599bb909e73
MD5 ca52420abdfcdbe710a423d0eaf5c8f5
BLAKE2b-256 78ab1b5072d9fce44a13fcba9dfb646bb4d0b93ff0f56cb3aee0a45f88da24ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for aurasniff-0.1.0.tar.gz:

Publisher: publish.yml on vatsalgargg/aurasniff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aurasniff-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aurasniff-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aurasniff-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5829dc2ae1319aa7cb64520b8c72d95497f8f4e6d3b97a5de6bfb68b8086ec3
MD5 772e11e958002178dd425d23d215de2a
BLAKE2b-256 c0912571cb53b499e42471fedf2639dd331d8768abfc7013938599fb22e116ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for aurasniff-0.1.0-py3-none-any.whl:

Publisher: publish.yml on vatsalgargg/aurasniff

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page