aurasniff 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Vatsal Garg
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.4
2
+ Name: aurasniff
3
+ Version: 0.1.0
4
+ Summary: A premium interactive CLI network traffic analyzer with Gemini AI integration
5
+ Author-email: Vatsal Garg <vatsal@example.com>
6
+ Project-URL: Homepage, https://github.com/vatsalgargg/aurasniff
7
+ Project-URL: Bug-Tracker, https://github.com/vatsalgargg/aurasniff/issues
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Topic :: Security
12
+ Classifier: Topic :: System :: Networking :: Monitoring
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: scapy>=2.5.0
17
+ Requires-Dist: rich>=13.0.0
18
+ Requires-Dist: google-genai>=1.0.0
19
+ Dynamic: license-file
20
+
21
+ # AuraSniff
22
+
23
+ [![PyPI version](https://img.shields.io/pypi/v/aurasniff.svg)](https://pypi.org/project/aurasniff/)
24
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
25
+ [![GitHub Repository](https://img.shields.io/badge/GitHub-Repository-blue.svg)](https://github.com/vatsalgargg/aurasniff)
26
+
27
+ **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.
28
+
29
+ ---
30
+
31
+ ## Features
32
+
33
+ * **⚡ Offline PCAP parsing**: Streams and parses `.pcap` and `.pcapng` files locally without relying on external servers or a local Wireshark installation.
34
+ * **🔑 Automatic Credentials Harvester**: Instantly pulls cleartext logins from SMTP, POP3, IMAP, FTP, and HTTP POST forms.
35
+ * **🚨 Threat & Anomaly Engine**: Detects port scanning, ARP anomalies, and DNS tunneling indicators right from the dashboard.
36
+ * **💻 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.
37
+ * **🔍 Deep Packet Inspection**: Explores packet layer hierarchies and side-by-side colorized hex-ASCII payload dumps directly in the terminal.
38
+
39
+ ---
40
+
41
+ ## Installation
42
+
43
+ AuraSniff can be installed directly from PyPI:
44
+
45
+ ```bash
46
+ pip install aurasniff
47
+ ```
48
+
49
+ ---
50
+
51
+ ## Quick Start
52
+
53
+ ### 1. Run Complete Dashboard Analysis
54
+ To parse a PCAP file and output a comprehensive console dashboard:
55
+ ```bash
56
+ aurasniff analyze <path_to_file.pcap>
57
+ ```
58
+
59
+ ### 2. Configure Gemini API Key (Optional)
60
+ To use natural language queries, configure your Gemini API key:
61
+ ```bash
62
+ aurasniff config set-key <YOUR_GEMINI_API_KEY>
63
+ ```
64
+ *Note: If no key is set, AuraSniff defaults to a local keyword/rule-based search fallback.*
65
+
66
+ ### 3. Open Interactive AI Prompt Shell
67
+ Launch the shell REPL:
68
+ ```bash
69
+ aurasniff shell <path_to_file.pcap>
70
+ ```
71
+ **Example Commands Inside Shell:**
72
+ * `creds` - Show all captured passwords.
73
+ * `dns` - View DNS lookups.
74
+ * `detail 45` - Deep inspect packet #45.
75
+ * *"Which website did the device with IP 192.168.1.15 contact?"*
76
+ * *"Who is scanning ports?"*
77
+
78
+ ### 4. Single-Query Command
79
+ Ask a quick question from standard command line:
80
+ ```bash
81
+ aurasniff query <path_to_file.pcap> "what HTTP log-ins did you find?"
82
+ ```
83
+
84
+ ---
85
+
86
+ ## License
87
+
88
+ Distributed under the MIT License. See `LICENSE` for more information.
@@ -0,0 +1,68 @@
1
+ # AuraSniff
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/aurasniff.svg)](https://pypi.org/project/aurasniff/)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![GitHub Repository](https://img.shields.io/badge/GitHub-Repository-blue.svg)](https://github.com/vatsalgargg/aurasniff)
6
+
7
+ **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.
8
+
9
+ ---
10
+
11
+ ## Features
12
+
13
+ * **⚡ Offline PCAP parsing**: Streams and parses `.pcap` and `.pcapng` files locally without relying on external servers or a local Wireshark installation.
14
+ * **🔑 Automatic Credentials Harvester**: Instantly pulls cleartext logins from SMTP, POP3, IMAP, FTP, and HTTP POST forms.
15
+ * **🚨 Threat & Anomaly Engine**: Detects port scanning, ARP anomalies, and DNS tunneling indicators right from the dashboard.
16
+ * **💻 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.
17
+ * **🔍 Deep Packet Inspection**: Explores packet layer hierarchies and side-by-side colorized hex-ASCII payload dumps directly in the terminal.
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ AuraSniff can be installed directly from PyPI:
24
+
25
+ ```bash
26
+ pip install aurasniff
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Quick Start
32
+
33
+ ### 1. Run Complete Dashboard Analysis
34
+ To parse a PCAP file and output a comprehensive console dashboard:
35
+ ```bash
36
+ aurasniff analyze <path_to_file.pcap>
37
+ ```
38
+
39
+ ### 2. Configure Gemini API Key (Optional)
40
+ To use natural language queries, configure your Gemini API key:
41
+ ```bash
42
+ aurasniff config set-key <YOUR_GEMINI_API_KEY>
43
+ ```
44
+ *Note: If no key is set, AuraSniff defaults to a local keyword/rule-based search fallback.*
45
+
46
+ ### 3. Open Interactive AI Prompt Shell
47
+ Launch the shell REPL:
48
+ ```bash
49
+ aurasniff shell <path_to_file.pcap>
50
+ ```
51
+ **Example Commands Inside Shell:**
52
+ * `creds` - Show all captured passwords.
53
+ * `dns` - View DNS lookups.
54
+ * `detail 45` - Deep inspect packet #45.
55
+ * *"Which website did the device with IP 192.168.1.15 contact?"*
56
+ * *"Who is scanning ports?"*
57
+
58
+ ### 4. Single-Query Command
59
+ Ask a quick question from standard command line:
60
+ ```bash
61
+ aurasniff query <path_to_file.pcap> "what HTTP log-ins did you find?"
62
+ ```
63
+
64
+ ---
65
+
66
+ ## License
67
+
68
+ Distributed under the MIT License. See `LICENSE` for more information.
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "aurasniff"
7
+ version = "0.1.0"
8
+ authors = [
9
+ { name = "Vatsal Garg", email = "vatsal@example.com" }
10
+ ]
11
+ description = "A premium interactive CLI network traffic analyzer with Gemini AI integration"
12
+ readme = "README.md"
13
+ requires-python = ">=3.8"
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Operating System :: OS Independent",
18
+ "Topic :: Security",
19
+ "Topic :: System :: Networking :: Monitoring",
20
+ ]
21
+ dependencies = [
22
+ "scapy>=2.5.0",
23
+ "rich>=13.0.0",
24
+ "google-genai>=1.0.0"
25
+ ]
26
+
27
+ [project.urls]
28
+ Homepage = "https://github.com/vatsalgargg/aurasniff"
29
+ Bug-Tracker = "https://github.com/vatsalgargg/aurasniff/issues"
30
+
31
+ [project.scripts]
32
+ aurasniff = "aurasniff.aurasniff:main"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"
@@ -0,0 +1,4 @@
1
+ from .aurasniff import main
2
+
3
+ if __name__ == "__main__":
4
+ main()