https://github.com/codejake/urltool2
A simple script that parses and decodes URLs in useful ways.
https://github.com/codejake/urltool2
Last synced: 10 months ago
JSON representation
A simple script that parses and decodes URLs in useful ways.
- Host: GitHub
- URL: https://github.com/codejake/urltool2
- Owner: codejake
- License: mit
- Created: 2024-05-17T19:59:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T20:31:02.000Z (about 2 years ago)
- Last Synced: 2025-06-29T18:03:30.152Z (12 months ago)
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# urltool2
A small Python script that helps with repetitive cybersecurity work by parsing
and decoding URL elements in useful ways. It contains no external dependencies
and should run on any platform that supports Python 3, including macOS, Linux,
Windows, and WSL.
I plan on fixing more bugs and adding more functionality to it during future
lunches. See [TODO.md](TODO.md).
Feedback appreciated.
## Installation
1. Have a recent version of Python 3 installed on your system.
2. Download `urltool2.py` and run it.
## Usage
### Option 1. Get asked for the URL
```bash
% ./urltool2.py
Enter a URL: https://url2.mailanyone.net/scanner?m=1s7vXH-087vxcm-3J&d=4%7Cmail%2F90%2F1719544200%2F1s7vXH-007xcm-3J%7Cin2c%7C57e55b682%7C17902772%7C12174482%7C6647356560D7825FF92FF08A4B666BA9C&o=%2Fphtm%3A%2Fatsmoc.rapbi&s=7yueudfref77wTq83xHw_rBolyj8
Proto: https
Netloc: url2.mailanyone.net (104.18.11.14)
Path: /scanner
Params:
Query: m=1s7vXH-087vxcm-3J&d=4%7Cmail%2F90%2F1719544200%2F1s7vXH-007xcm-3J%7Cin2c%7C57e55b682%7C17902772%7C12174482%7C6647356560D7825FF92FF08A4B666BA9C&o=%2Fphtm%3A%2Fatsmoc.rapbi&s=7yueudfref77wTq83xHw_rBolyj8
Decoded query details:
m = 1s7vXH-087vxcm-3J
d = 4|mail/90/1719544200/1s7vXH-007xcm-3J|in2c|57e55b682|17902772|12174482|6647356560D7825FF92FF08A4B666BA9C
o = /phtm:/atsmoc.rapbi
s = 7yueudfref77wTq83xHw_rBolyj8
Fragment:
Username: None
Password: None
Hostname: url2.mailanyone.net
Port: None
Defanged: hxxps://url2[.]mailanyone[.]net/scanner?m=1s7vXH-087vxcm-3J&d=4%7Cmail%2F90%2F1719544200%2F1s7vXH-007xcm-3J%7Cin2c%7C57e55b682%7C17902772%7C12174482%7C6647356560D7825FF92FF08A4B666BA9C&o=%2Fphtm%3A%2Fatsmoc.rapbi&s=7yueudfref77wTq83xHw_rBolyj8
```
### Option 2. Specify the URL on the command-line
*Note: Be sure to enclose the URL in single quotes to prevent errors!*
```bash
% ./urltool2.py 'https://url2.mailanyone.net/scanner?m=1s7vXH-087vxcm-3J'