heelele 0.4.1__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.
heelele-0.4.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Trid147
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.
heelele-0.4.1/PKG-INFO ADDED
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.4
2
+ Name: heelele
3
+ Version: 0.4.1
4
+ Summary: Async OSINT Swiss Army Knife focused on CIS platforms
5
+ Author: Trid147
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/Trid147/heelele
8
+ Project-URL: Repository, https://github.com/Trid147/heelele
9
+ Project-URL: Issues, https://github.com
10
+ Keywords: osint,reconnaissance,username,cis,cybersecurity
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Topic :: Security
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: httpx[http2,socks]>=0.27.0
19
+ Requires-Dist: colorama>=0.4.6
20
+ Requires-Dist: selectolax>=1.0.0
21
+ Dynamic: license-file
22
+
23
+
24
+ # 🔎 Heelele - Username Search OSINT Tool
25
+
26
+ Heelele is a flexible, asynchronous, console-based Open Source Intelligence tool with a focus on the CIS space.
27
+
28
+ ![heelele](assets/demo.gif)
29
+
30
+ ## 📃 Summary
31
+ *Fast, configurable username reconnaissance across many platforms.*
32
+
33
+ Heelele instantly checks links with username inside existence on widely visited CIS sites and returns the results.
34
+
35
+ **Heelele does:**
36
+ * Retrieve information via asynchronous HTTP GET requests
37
+ * Run on python3
38
+ * Work completely silently
39
+
40
+ ## 📍 Supported Sites
41
+ - vkontakte
42
+ - github
43
+ - telegram
44
+ - odnoklassniki
45
+ - youtube
46
+ - codeforces
47
+ - instagram
48
+ - facebook
49
+ - habr
50
+ - pikabu
51
+ - kwork
52
+ - vc_ru
53
+ - drive2
54
+ - boosty
55
+ - dtf
56
+ - twitter
57
+ - reddit
58
+ - snapchat
59
+ - pinterest
60
+ - threads
61
+ - linkedin
62
+ - tiktok
63
+ - tumblr
64
+ - steam
65
+ - gravatar
66
+
67
+ ## 🛠️ Installation
68
+ ### With pipx
69
+ ```bash
70
+ pipx install git+https://github.com/trid147/heelele.git
71
+ pipx ensurepath
72
+ source ~/.bashrc
73
+ ```
74
+
75
+ ### Updating
76
+ ```bash
77
+ pipx upgrade heelele
78
+ ```
79
+
80
+ ### With PyPI
81
+ ```bash
82
+ pip3 install heelele
83
+ ```
84
+
85
+ ### From GitHub
86
+ ```bash
87
+ git clone https://github.com/trid147/heelele.git
88
+ ```
89
+
90
+ ## 🚀 Quick start
91
+ Only Terminal and Python 3.10+ needed to start Heelele.
92
+
93
+ ## 🔰 Command example
94
+
95
+ ### Basic scan
96
+ ```bash
97
+ heelele superdude -m
98
+ ```
99
+
100
+ ### Deep scan & Export to JSON
101
+ ```bash
102
+ heelele superdude -d -m -o results.json
103
+ ```
104
+
105
+ ### Scan with Tor
106
+ ```bash
107
+ # Requires active Tor daemon or Tor Browser
108
+ heelele superdude --tor
109
+ ```
110
+
111
+ ### Scan with proxy
112
+ ```bash
113
+ heelele superdude --proxy http://127.0.0.1:8080
114
+ ```
115
+
116
+ ### Help command
117
+ ```bash
118
+ heelele --help
119
+ ```
120
+
121
+ ![heelele](assets/help.png)
122
+
123
+ ## 🤝 Contributing
124
+
125
+ Contributions are welcome! The easiest way to help is by adding new websites or fixing old ones.
126
+
127
+ ### How to add a new site:
128
+ 1. Fork the repository and create a new branch (`git checkout -b add-sitename`).
129
+ 2. Open `src/heelele/modules/username/sites.json`.
130
+ 3. Add a new entry following the existing format:
131
+ ```json
132
+ "example_site": {
133
+ "url": "https://example.com/{username}",
134
+ "error_type": "status_code",
135
+ "extract": {
136
+ "name": "span.p-name",
137
+ "bio": "div.p-note",
138
+ "location": "span.p-label"
139
+ }
140
+ }
141
+ ```
142
+ 4. Test your changes locally (`heelele testuser`) to make sure there are no false positives.
143
+ 5. Open a **Pull Request**!
144
+
145
+ ## 📆 Future Roadmap
146
+ * [x] Metadata extraction
147
+ * [x] Structured output formats
148
+ * [x] Proxy & Tor support
149
+ * [ ] Avatar hash matching
150
+ * [ ] Cyrillic-to-Latin transliteration
151
+ * [ ] Phone number module
152
+
153
+ ## ⚠️ Disclaimer
154
+ This tool is intended strictly for educational purposes, authorized security research, and lawful OSINT investigations using publicly available data.
@@ -0,0 +1,132 @@
1
+
2
+ # 🔎 Heelele - Username Search OSINT Tool
3
+
4
+ Heelele is a flexible, asynchronous, console-based Open Source Intelligence tool with a focus on the CIS space.
5
+
6
+ ![heelele](assets/demo.gif)
7
+
8
+ ## 📃 Summary
9
+ *Fast, configurable username reconnaissance across many platforms.*
10
+
11
+ Heelele instantly checks links with username inside existence on widely visited CIS sites and returns the results.
12
+
13
+ **Heelele does:**
14
+ * Retrieve information via asynchronous HTTP GET requests
15
+ * Run on python3
16
+ * Work completely silently
17
+
18
+ ## 📍 Supported Sites
19
+ - vkontakte
20
+ - github
21
+ - telegram
22
+ - odnoklassniki
23
+ - youtube
24
+ - codeforces
25
+ - instagram
26
+ - facebook
27
+ - habr
28
+ - pikabu
29
+ - kwork
30
+ - vc_ru
31
+ - drive2
32
+ - boosty
33
+ - dtf
34
+ - twitter
35
+ - reddit
36
+ - snapchat
37
+ - pinterest
38
+ - threads
39
+ - linkedin
40
+ - tiktok
41
+ - tumblr
42
+ - steam
43
+ - gravatar
44
+
45
+ ## 🛠️ Installation
46
+ ### With pipx
47
+ ```bash
48
+ pipx install git+https://github.com/trid147/heelele.git
49
+ pipx ensurepath
50
+ source ~/.bashrc
51
+ ```
52
+
53
+ ### Updating
54
+ ```bash
55
+ pipx upgrade heelele
56
+ ```
57
+
58
+ ### With PyPI
59
+ ```bash
60
+ pip3 install heelele
61
+ ```
62
+
63
+ ### From GitHub
64
+ ```bash
65
+ git clone https://github.com/trid147/heelele.git
66
+ ```
67
+
68
+ ## 🚀 Quick start
69
+ Only Terminal and Python 3.10+ needed to start Heelele.
70
+
71
+ ## 🔰 Command example
72
+
73
+ ### Basic scan
74
+ ```bash
75
+ heelele superdude -m
76
+ ```
77
+
78
+ ### Deep scan & Export to JSON
79
+ ```bash
80
+ heelele superdude -d -m -o results.json
81
+ ```
82
+
83
+ ### Scan with Tor
84
+ ```bash
85
+ # Requires active Tor daemon or Tor Browser
86
+ heelele superdude --tor
87
+ ```
88
+
89
+ ### Scan with proxy
90
+ ```bash
91
+ heelele superdude --proxy http://127.0.0.1:8080
92
+ ```
93
+
94
+ ### Help command
95
+ ```bash
96
+ heelele --help
97
+ ```
98
+
99
+ ![heelele](assets/help.png)
100
+
101
+ ## 🤝 Contributing
102
+
103
+ Contributions are welcome! The easiest way to help is by adding new websites or fixing old ones.
104
+
105
+ ### How to add a new site:
106
+ 1. Fork the repository and create a new branch (`git checkout -b add-sitename`).
107
+ 2. Open `src/heelele/modules/username/sites.json`.
108
+ 3. Add a new entry following the existing format:
109
+ ```json
110
+ "example_site": {
111
+ "url": "https://example.com/{username}",
112
+ "error_type": "status_code",
113
+ "extract": {
114
+ "name": "span.p-name",
115
+ "bio": "div.p-note",
116
+ "location": "span.p-label"
117
+ }
118
+ }
119
+ ```
120
+ 4. Test your changes locally (`heelele testuser`) to make sure there are no false positives.
121
+ 5. Open a **Pull Request**!
122
+
123
+ ## 📆 Future Roadmap
124
+ * [x] Metadata extraction
125
+ * [x] Structured output formats
126
+ * [x] Proxy & Tor support
127
+ * [ ] Avatar hash matching
128
+ * [ ] Cyrillic-to-Latin transliteration
129
+ * [ ] Phone number module
130
+
131
+ ## ⚠️ Disclaimer
132
+ This tool is intended strictly for educational purposes, authorized security research, and lawful OSINT investigations using publicly available data.
@@ -0,0 +1,40 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "heelele"
7
+ version = "0.4.1"
8
+ description = "Async OSINT Swiss Army Knife focused on CIS platforms"
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ authors = [
12
+ { name = "Trid147" }
13
+ ]
14
+ requires-python = ">=3.10"
15
+ keywords = ["osint", "reconnaissance", "username", "cis", "cybersecurity"]
16
+ classifiers = [
17
+ "Programming Language :: Python :: 3",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: OS Independent",
20
+ "Topic :: Security",
21
+ ]
22
+ dependencies = [
23
+ "httpx[http2,socks]>=0.27.0",
24
+ "colorama>=0.4.6",
25
+ "selectolax>=1.0.0",
26
+ ]
27
+
28
+ [project.urls]
29
+ Homepage = "https://github.com/Trid147/heelele"
30
+ Repository = "https://github.com/Trid147/heelele"
31
+ Issues = "https://github.com"
32
+
33
+ [project.scripts]
34
+ heelele = "heelele.cli:entry_point"
35
+
36
+ [tool.setuptools.packages.find]
37
+ where = ["src"]
38
+
39
+ [tool.setuptools.package-data]
40
+ "heelele.modules.username" = ["*.json"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
@@ -0,0 +1,105 @@
1
+ #!/usr/bin/env python3
2
+ import asyncio
3
+ import argparse
4
+ import itertools
5
+ import sys
6
+ from colorama import Fore, init
7
+ from pathlib import Path
8
+ from heelele.modules.username.scanner import scan_username, get_current_ip, detect_tor_proxy
9
+ from heelele.modules.username.mutations import generate_variations
10
+ from heelele.core.exporter import export_results
11
+ from heelele.core.banner import print_banner
12
+
13
+ init(autoreset=True)
14
+
15
+ async def main():
16
+ parser = argparse.ArgumentParser(description='Heelele - Username Search OSINT Tool')
17
+ parser.add_argument('username', nargs='?', help='Target username')
18
+ parser.add_argument('--wordlist', help='Path to a wordlist file')
19
+ parser.add_argument('--format', choices=['txt', 'json', 'csv'], help='Force output format')
20
+ parser.add_argument('--proxy', help='Proxy URL')
21
+ parser.add_argument('-q', '--no-banner', action='store_true', help='Hide the startup ASCII banner')
22
+ parser.add_argument('-t', '--tor', action='store_true', help='Route traffic through local Tor SOCKS5 proxy')
23
+ parser.add_argument('-d', '--deep', action='store_true', help='Enables deep scan with mutations')
24
+ parser.add_argument('-o', '--output', help='Saves found results to a file')
25
+ parser.add_argument('-m', '--metadata', action='store_true', help='Outputs web page metadata')
26
+ args = parser.parse_args()
27
+
28
+ if not args.no_banner:
29
+ print(Fore.GREEN + 'Welcome to heelele!')
30
+ print_banner()
31
+
32
+ if not args.username and not args.wordlist:
33
+ print(Fore.RED + 'Error: Provide a username or --wordlist!')
34
+ return
35
+
36
+ proxy_url = args.proxy
37
+
38
+ if args.tor:
39
+ print(Fore.YELLOW + '[*] Detecting active Tor services...')
40
+ proxy_url = await detect_tor_proxy()
41
+ if not proxy_url:
42
+ print(Fore.RED + 'Error: Tor is not running! Start Tor browser or the tor service first.')
43
+ return
44
+ print(Fore.GREEN + f'[+] Tor proxy active!')
45
+
46
+ if proxy_url:
47
+ print(Fore.YELLOW + f'[*] Checking proxy connection ({proxy_url})...')
48
+ exit_ip = await get_current_ip(proxy_url)
49
+ if not exit_ip:
50
+ print(Fore.RED + 'Error: Could not connect to proxy.')
51
+ return
52
+ print(Fore.GREEN + f'[+] Proxy active! Exit IP: {exit_ip}\n')
53
+
54
+
55
+ targets = []
56
+
57
+ if args.username:
58
+ targets.append(args.username.strip())
59
+
60
+ if args.wordlist:
61
+ wordlist = Path(args.wordlist)
62
+ if not wordlist.is_file():
63
+ print(Fore.RED + f'Error: {wordlist} file not found.')
64
+ return
65
+
66
+ with open(wordlist, 'r', encoding='utf-8') as file:
67
+ targets.extend(line.strip() for line in file if line.strip())
68
+
69
+ if args.deep:
70
+ expanded = set()
71
+ for target in targets:
72
+ expanded.update(generate_variations(target))
73
+ targets = list(expanded)
74
+ else:
75
+ targets = list(dict.fromkeys(targets))
76
+
77
+ spinner = itertools.cycle(r'\|/-')
78
+
79
+ def show_progress(completed: int, total: int, found_count: int):
80
+ percent = int((completed / total) * 100)
81
+ char = next(spinner)
82
+ sys.stdout.write(f'\r{Fore.CYAN}[{char}] Scanning: {completed}/{total} ({percent}%) | Found: {Fore.GREEN}{found_count}')
83
+ sys.stdout.flush()
84
+
85
+ found_profiles = await scan_username(targets, on_progress=show_progress, extract=args.metadata, proxy=proxy_url)
86
+ print('\n' + Fore.GREEN + 'Results:')
87
+
88
+ if not found_profiles:
89
+ print(Fore.CYAN + 'Nothing found.')
90
+ else:
91
+ for item in found_profiles:
92
+ print(f'{Fore.CYAN}[+] {item['site']} ({Fore.YELLOW}{item['username']}{Fore.CYAN}): {item['url']}')
93
+ if args.metadata:
94
+ for k, v in item.get('metadata', {}).items():
95
+ print(f' {Fore.YELLOW}↳ {k.capitalize()}: {Fore.WHITE}{v}')
96
+ if args.output:
97
+ saved_fmt = export_results(found_profiles, args.output, args.format)
98
+ print(f'\n{Fore.YELLOW} Saved {len(found_profiles)} results to {args.output} ({saved_fmt})')
99
+
100
+ #pyproject.toml specifies on this function only
101
+ def entry_point():
102
+ asyncio.run(main())
103
+
104
+ if __name__ == '__main__':
105
+ entry_point()
File without changes
@@ -0,0 +1,12 @@
1
+ from colorama import Fore, Style
2
+
3
+ BANNER = rf"""{Fore.CYAN}
4
+ _ _ _ _
5
+ | | | | ___ ___| | ___| | ___
6
+ | |_| |/ _ \/ _ \ |/ _ \ |/ _ \
7
+ | _ | __/ __/ | __/ | __/
8
+ |_| |_|\___|\___|_|\___|_|\___| {Fore.YELLOW}v0.4.1{Style.RESET_ALL}
9
+ {Fore.GREEN}Async CIS OSINT Reconnaissance Tool{Style.RESET_ALL}
10
+ """
11
+
12
+ def print_banner(): print(BANNER)
@@ -0,0 +1,32 @@
1
+ import csv
2
+ import json
3
+ from pathlib import Path
4
+ from typing import Dict, List
5
+
6
+ def export_results(results: List[Dict], output_path: str, fmt: str | None = None) -> str:
7
+ path = Path(output_path)
8
+ export_format = (fmt or path.suffix.lstrip('.')).lower()
9
+
10
+ if export_format == 'json':
11
+ with open(path, 'w', encoding='utf-8') as file:
12
+ json.dump(results, file, ensure_ascii=False, indent=4)
13
+ return 'JSON'
14
+ elif export_format == 'csv':
15
+ meta_keys = sorted({key for item in results for key in item.get('metadata', {}).keys()})
16
+ fieldnames = ['site', 'username', 'url', 'status'] + meta_keys
17
+
18
+ with open(path, 'w', encoding='utf-8-sig', newline='') as file:
19
+ writer = csv.DictWriter(file, fieldnames=fieldnames)
20
+ writer.writeheader()
21
+ for item in results:
22
+ row = {'site': item.get('site', ''), 'username': item.get('username', ''), 'url': item.get('url', ''), 'status': item.get('status', 'Found')}
23
+ row.update(item.get('metadata', {}))
24
+ writer.writerow(row)
25
+ return 'CSV'
26
+ else:
27
+ with open(path, 'w', encoding='utf-8') as file:
28
+ for item in results:
29
+ file.write(f'[+] {item['site']} ({item['username']}): {item['url']}\n')
30
+ for k, v in item.get('metadata', {}).items():
31
+ file.write(f' ↳ {k.capitalize()}: {v}\n')
32
+ return 'TXT'
File without changes
File without changes
@@ -0,0 +1,37 @@
1
+ import re
2
+ from selectolax.lexbor import LexborHTMLParser as HTMLParser
3
+ from typing import Dict
4
+
5
+ def extract_metadata(html: str, rules: Dict[str, str]) -> Dict[str, str]:
6
+ if not rules:
7
+ return {}
8
+
9
+ tree = HTMLParser(html)
10
+ extracted = {}
11
+
12
+ for field, selector in rules.items():
13
+ if selector.startswith('meta:'):
14
+ prop = selector.split('meta:', 1)[1]
15
+ node = tree.css_first(f'meta[property="{prop}"], meta[name="{prop}"]')
16
+ if node:
17
+ content = node.attributes.get('content')
18
+ if content:
19
+ value = content.strip()
20
+ if value:
21
+ extracted[field] = value
22
+ elif selector.startswith('regex:'):
23
+ pattern = selector.split('regex:', 1)[1]
24
+ match = re.search(pattern, html)
25
+ if match:
26
+ value = match.group(1) if match.groups() else match.group(0)
27
+ if value.strip():
28
+ extracted[field] = value
29
+
30
+ else:
31
+ node = tree.css_first(selector)
32
+ if node:
33
+ value = node.text(strip=True)
34
+ if value:
35
+ extracted[field] = value
36
+
37
+ return extracted
@@ -0,0 +1,43 @@
1
+ from typing import List
2
+
3
+ def generate_variations(username: str) -> List:
4
+ base = username.strip()
5
+ variations = set()
6
+
7
+ variations.add(base)
8
+ variations.add(base.lower())
9
+ variations.add(base.capitalize())
10
+
11
+ common_affixes = [
12
+ f'{base}_',
13
+ f'_{base}',
14
+ f'{base}1',
15
+ f'{base}01',
16
+ f'{base}67',
17
+ f'{base}69',
18
+ f'{base}147',
19
+ f'{base}123',
20
+ f'{base}228',
21
+ f'{base}777',
22
+ f'{base}666',
23
+ f'{base}3310',
24
+ f'{base}_3310',
25
+ f'the_{base}',
26
+ f'real_{base}',
27
+ f'im_{base}',
28
+ f'super_{base}',
29
+ f'ultra_{base}',
30
+ f'{base}_official',
31
+ f'{base}_ru',
32
+ f'{base}_tv',
33
+ f'{base}_play',
34
+ f'{base}_exe',
35
+ f'{base}_doe'
36
+ ]
37
+ variations.update(common_affixes)
38
+
39
+ for year in range(1990, 2030):
40
+ variations.add(f'{base}{year}')
41
+ variations.add(f'{base}_{year}')
42
+
43
+ return list(variations)
@@ -0,0 +1,93 @@
1
+ import asyncio
2
+ import json
3
+ import httpx
4
+ from typing import Callable, Dict, List
5
+ from importlib import resources
6
+
7
+ from heelele.modules.username.extractor import extract_metadata
8
+
9
+ HEADERS = {
10
+ 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
11
+ 'Accept-Language': 'en-US,en;q=0.9'
12
+ }
13
+
14
+ def load_sites() -> dict:
15
+ data_file = resources.files('heelele.modules.username').joinpath('sites.json')
16
+ return json.loads(data_file.read_text(encoding='utf-8'))
17
+
18
+ async def get_current_ip(proxy: str | None = None) -> str | None:
19
+ try:
20
+ async with httpx.AsyncClient(proxy=proxy, timeout=8.0) as client:
21
+ response = await client.get('https://api.ipify.org')
22
+ if response.status_code == 200:
23
+ return response.text.strip()
24
+ except httpx.RequestError:
25
+ return None
26
+ return None
27
+
28
+ async def detect_tor_proxy() -> str | None:
29
+ for port in (9050, 9150):
30
+ proxy_url = f'socks5h://127.0.0.1:{port}'
31
+ if await get_current_ip(proxy_url):
32
+ return proxy_url
33
+ return None
34
+
35
+ async def check_site(client: httpx.AsyncClient, semaphore: asyncio.Semaphore, site_name: str, site_data: dict, username: str, extract: bool = False) -> Dict | None:
36
+ url = site_data['url'].format(username=username)
37
+ error_type = site_data.get('error_type', 'status_code')
38
+ real_url = site_data.get('real_url', None)
39
+
40
+ async with semaphore:
41
+ try:
42
+ response = await client.get(url, follow_redirects=True)
43
+
44
+ if response.status_code != 200:
45
+ return None
46
+
47
+ found = False
48
+ if error_type == 'status_code':
49
+ found = True
50
+ elif error_type == 'redirect':
51
+ if str(response.url).rstrip('/') == url.rstrip('/'):
52
+ found = True
53
+ elif error_type == 'error_text':
54
+ if site_data['error_text'] not in response.text:
55
+ found = True
56
+ elif error_type == 'success_text':
57
+ if site_data['success_text'] in response.text:
58
+ found = True
59
+
60
+ if found:
61
+ metadata = extract_metadata(response.text, site_data.get('extract', {})) if extract else {}
62
+ if real_url: url = site_data['real_url'].format(username=username)
63
+ return {'site': site_name, 'url': url, 'status': 'Found', 'username': username, "metadata": metadata}
64
+
65
+ except httpx.RequestError:
66
+ return None
67
+
68
+ return None
69
+
70
+ async def scan_username(usernames: List, on_progress: Callable[[int, int, int], None] | None = None, extract: bool = False, proxy: str | None = None) -> List[Dict]:
71
+ sites = load_sites()
72
+
73
+ semaphore = asyncio.Semaphore(30)
74
+ timeout_value = 15.0 if proxy else 5.0
75
+ timeout = httpx.Timeout(timeout_value, connect=10.0 if proxy else 3.0)
76
+
77
+ async with httpx.AsyncClient(headers=HEADERS, timeout=timeout, proxy=proxy) as client:
78
+ tasks = [check_site(client, semaphore, name, data, username, extract) for username in usernames for name, data in sites.items()]
79
+
80
+ total = len(tasks)
81
+ completed = 0
82
+ found_results = []
83
+
84
+ for task in asyncio.as_completed(tasks):
85
+ result = await task
86
+ completed += 1
87
+ if result is not None:
88
+ found_results.append(result)
89
+
90
+ if on_progress:
91
+ on_progress(completed, total, len(found_results))
92
+
93
+ return found_results
@@ -0,0 +1,207 @@
1
+ {
2
+ "vkontakte": {
3
+ "url": "https://vk.ru/{username}",
4
+ "error_type": "status_code",
5
+ "extract": {
6
+ "name": "regex:\"method\":\"users\\.get\"[\\s\\S]*?\"first_name\":\"([^\"]+)",
7
+ "last_name": "regex:\"method\":\"users\\.get\"[\\s\\S]*?\"last_name\":\"([^\"]+)",
8
+ "bio": "regex:\"method\":\"users\\.get\"[\\s\\S]*?\"owner_state\":\\{[^}]*?\"description\":\"([^\"]+)",
9
+ "location": "regex:\"method\":\"users\\.get\"[\\s\\S]*?\"city\":\\{[^}]*?\"title\":\"([^\"]+)"
10
+ }
11
+ },
12
+ "github": {
13
+ "url": "https://github.com/{username}",
14
+ "error_type": "status_code",
15
+ "extract": {
16
+ "name": "span.p-name",
17
+ "bio": "div.p-note",
18
+ "location": "span.p-label"
19
+ }
20
+ },
21
+ "telegram": {
22
+ "url": "https://t.me/{username}",
23
+ "error_type": "success_text",
24
+ "success_text": "tgme_page_title",
25
+ "extract": {
26
+ "name": "div.tgme_page_title",
27
+ "description": "div.tgme_page_description"
28
+ }
29
+ },
30
+ "odnoklassniki": {
31
+ "url": "https://ok.ru/{username}",
32
+ "error_type": "status_code",
33
+ "extract": {
34
+ "name": "span.anonym_user_head_title",
35
+ "location": "div.anonym_user_head_meta-text"
36
+ }
37
+ },
38
+ "youtube": {
39
+ "url": "https://www.youtube.com/@{username}",
40
+ "error_type": "status_code",
41
+ "extract": {
42
+ "name": "meta:og:title",
43
+ "bio": "meta:og:description"
44
+ }
45
+ },
46
+ "codeforces": {
47
+ "url": "https://codeforces.com/api/user.info?handles={username}",
48
+ "real_url": "https://codeforces.com/profile/{username}",
49
+ "error_type": "success_text",
50
+ "success_text": "\"status\":\"OK\"",
51
+ "extract": {
52
+ "first_name": "regex:\"firstName\":\"([^\"]+)\"",
53
+ "last_name": "regex:\"lastName\":\"([^\"]+)\"",
54
+ "city": "regex:\"city\":\"([^\"]+)\"",
55
+ "country": "regex:\"country\":\"([^\"]+)\"",
56
+ "rank": "regex:\"rank\":\"([^\"]+)\""
57
+ }
58
+ },
59
+ "instagram": {
60
+ "url": "https://www.instagram.com/{username}",
61
+ "error_type": "success_text",
62
+ "success_text": "og:title"
63
+ },
64
+ "facebook": {
65
+ "url": "https://www.facebook.com/{username}",
66
+ "error_type": "success_text",
67
+ "success_text": "og:title"
68
+ },
69
+ "habr": {
70
+ "url": "https://habr.com/en/users/{username}",
71
+ "error_type": "status_code",
72
+ "extract": {
73
+ "karma": "span.tm-votes-lever__score-counter"
74
+ }
75
+ },
76
+ "pikabu": {
77
+ "url": "https://pikabu.ru/@{username}",
78
+ "error_type": "status_code",
79
+ "extract": {
80
+ "about": "span.profile__user-about-content",
81
+ "information": "div.profile__user-information"
82
+ }
83
+ },
84
+ "kwork": {
85
+ "url": "https://kwork.com/user/{username}",
86
+ "error_type": "status_code",
87
+ "extract": {
88
+ "name": "regex:<title>([^,<]+)",
89
+ "role": "regex:<title>[^,<]+,\\s*([^-<]+?)(?:\\s*-|\\s*</title>)",
90
+ "bio": "meta:description"
91
+ }
92
+ },
93
+ "vc_ru": {
94
+ "url": "https://vc.ru/{username}",
95
+ "error_type": "status_code",
96
+ "extract": {
97
+ "name": "div.subsite-card__name",
98
+ "description": "div.subsite-card__description"
99
+ }
100
+ },
101
+ "drive2": {
102
+ "url": "https://www.drive2.ru/users/{username}",
103
+ "error_type": "status_code",
104
+ "extract": {
105
+ "name": "div.c-user__name",
106
+ "location": "span[itemprop='address']"
107
+ }
108
+ },
109
+ "boosty": {
110
+ "url": "https://boosty.to/{username}",
111
+ "error_type": "status_code",
112
+ "extract": {
113
+ "name": "div.UserNameWithBadge-scss--module_root_uw55H"
114
+ }
115
+ },
116
+ "dtf": {
117
+ "url": "https://dtf.ru/{username}",
118
+ "error_type": "status_code",
119
+ "extract": {
120
+ "name": "div.subsite-card__name",
121
+ "description": "div.subsite-card__description"
122
+ }
123
+ },
124
+ "twitter": {
125
+ "url": "https://x.com/{username}",
126
+ "error_type": "status_code",
127
+ "extract": {
128
+ "name": "span.css-1jxf684"
129
+ }
130
+ },
131
+ "reddit": {
132
+ "url": "https://reddit.com/user/{username}/about.json",
133
+ "real_url": "https://reddit.com/user/{username}",
134
+ "error_type": "error_text",
135
+ "error_text": "\"error\":\"404\"",
136
+ "extract": {
137
+ "name": "regex:\"subreddit\":\\s*\\{[^}]*\"title\":\\s*\"([^\"]+)\"",
138
+ "bio": "regex:\"public_description\":\\s*\"([^\"]+)\""
139
+ }
140
+ },
141
+ "snapchat": {
142
+ "url": "https://www.snapchat.com/@{username}",
143
+ "error_type": "status_code",
144
+ "extract": {
145
+ "name": "meta:og:title"
146
+ }
147
+ },
148
+ "pinterest": {
149
+ "url": "https://www.pinterest.com/{username}",
150
+ "error_type": "success_text",
151
+ "success_text": "og:title",
152
+ "extract": {
153
+ "name": "meta:og:title",
154
+ "bio": "meta:og:description"
155
+ }
156
+ },
157
+ "threads": {
158
+ "url": "https://www.threads.com/@{username}",
159
+ "error_type": "success_text",
160
+ "success_text": "og:title",
161
+ "extract": {
162
+ "name": "meta:og:title",
163
+ "bio": "meta:og:description"
164
+ }
165
+ },
166
+ "linkedin": {
167
+ "url": "https://www.linkedin.com/in/{username}",
168
+ "error_type": "status_code",
169
+ "extract": {
170
+ "name": "meta:og:title",
171
+ "bio": "meta:og:description"
172
+ }
173
+ },
174
+ "tiktok": {
175
+ "url": "https://www.tiktok.com/oembed?url=https%3A%2F%2Fwww.tiktok.com%2F%40{username}",
176
+ "real_url": "https://www.tiktok.com/@{username}",
177
+ "error_type": "success_text",
178
+ "success_text": "\"author_name\":",
179
+ "extract": {
180
+ "name": "regex:\"author_name\":\"([^\"]+)\""
181
+ }
182
+ },
183
+ "tumblr": {
184
+ "url": "https://www.tumblr.com/{username}",
185
+ "error_type": "status_code",
186
+ "extract": {
187
+ "title": "meta:og:title",
188
+ "description": "meta:description"
189
+ }
190
+ },
191
+ "steam": {
192
+ "url": "https://steamcommunity.com/id/{username}",
193
+ "error_type": "success_text",
194
+ "success_text": "actual_persona_name",
195
+ "extract": {
196
+ "name": "span.actual_persona_name",
197
+ "bio": "meta:description"
198
+ }
199
+ },
200
+ "gravatar": {
201
+ "url": "https://gravatar.com/{username}",
202
+ "error_type": "status_code",
203
+ "extract": {
204
+ "name": "meta:og:title"
205
+ }
206
+ }
207
+ }
@@ -0,0 +1,154 @@
1
+ Metadata-Version: 2.4
2
+ Name: heelele
3
+ Version: 0.4.1
4
+ Summary: Async OSINT Swiss Army Knife focused on CIS platforms
5
+ Author: Trid147
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/Trid147/heelele
8
+ Project-URL: Repository, https://github.com/Trid147/heelele
9
+ Project-URL: Issues, https://github.com
10
+ Keywords: osint,reconnaissance,username,cis,cybersecurity
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Topic :: Security
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: httpx[http2,socks]>=0.27.0
19
+ Requires-Dist: colorama>=0.4.6
20
+ Requires-Dist: selectolax>=1.0.0
21
+ Dynamic: license-file
22
+
23
+
24
+ # 🔎 Heelele - Username Search OSINT Tool
25
+
26
+ Heelele is a flexible, asynchronous, console-based Open Source Intelligence tool with a focus on the CIS space.
27
+
28
+ ![heelele](assets/demo.gif)
29
+
30
+ ## 📃 Summary
31
+ *Fast, configurable username reconnaissance across many platforms.*
32
+
33
+ Heelele instantly checks links with username inside existence on widely visited CIS sites and returns the results.
34
+
35
+ **Heelele does:**
36
+ * Retrieve information via asynchronous HTTP GET requests
37
+ * Run on python3
38
+ * Work completely silently
39
+
40
+ ## 📍 Supported Sites
41
+ - vkontakte
42
+ - github
43
+ - telegram
44
+ - odnoklassniki
45
+ - youtube
46
+ - codeforces
47
+ - instagram
48
+ - facebook
49
+ - habr
50
+ - pikabu
51
+ - kwork
52
+ - vc_ru
53
+ - drive2
54
+ - boosty
55
+ - dtf
56
+ - twitter
57
+ - reddit
58
+ - snapchat
59
+ - pinterest
60
+ - threads
61
+ - linkedin
62
+ - tiktok
63
+ - tumblr
64
+ - steam
65
+ - gravatar
66
+
67
+ ## 🛠️ Installation
68
+ ### With pipx
69
+ ```bash
70
+ pipx install git+https://github.com/trid147/heelele.git
71
+ pipx ensurepath
72
+ source ~/.bashrc
73
+ ```
74
+
75
+ ### Updating
76
+ ```bash
77
+ pipx upgrade heelele
78
+ ```
79
+
80
+ ### With PyPI
81
+ ```bash
82
+ pip3 install heelele
83
+ ```
84
+
85
+ ### From GitHub
86
+ ```bash
87
+ git clone https://github.com/trid147/heelele.git
88
+ ```
89
+
90
+ ## 🚀 Quick start
91
+ Only Terminal and Python 3.10+ needed to start Heelele.
92
+
93
+ ## 🔰 Command example
94
+
95
+ ### Basic scan
96
+ ```bash
97
+ heelele superdude -m
98
+ ```
99
+
100
+ ### Deep scan & Export to JSON
101
+ ```bash
102
+ heelele superdude -d -m -o results.json
103
+ ```
104
+
105
+ ### Scan with Tor
106
+ ```bash
107
+ # Requires active Tor daemon or Tor Browser
108
+ heelele superdude --tor
109
+ ```
110
+
111
+ ### Scan with proxy
112
+ ```bash
113
+ heelele superdude --proxy http://127.0.0.1:8080
114
+ ```
115
+
116
+ ### Help command
117
+ ```bash
118
+ heelele --help
119
+ ```
120
+
121
+ ![heelele](assets/help.png)
122
+
123
+ ## 🤝 Contributing
124
+
125
+ Contributions are welcome! The easiest way to help is by adding new websites or fixing old ones.
126
+
127
+ ### How to add a new site:
128
+ 1. Fork the repository and create a new branch (`git checkout -b add-sitename`).
129
+ 2. Open `src/heelele/modules/username/sites.json`.
130
+ 3. Add a new entry following the existing format:
131
+ ```json
132
+ "example_site": {
133
+ "url": "https://example.com/{username}",
134
+ "error_type": "status_code",
135
+ "extract": {
136
+ "name": "span.p-name",
137
+ "bio": "div.p-note",
138
+ "location": "span.p-label"
139
+ }
140
+ }
141
+ ```
142
+ 4. Test your changes locally (`heelele testuser`) to make sure there are no false positives.
143
+ 5. Open a **Pull Request**!
144
+
145
+ ## 📆 Future Roadmap
146
+ * [x] Metadata extraction
147
+ * [x] Structured output formats
148
+ * [x] Proxy & Tor support
149
+ * [ ] Avatar hash matching
150
+ * [ ] Cyrillic-to-Latin transliteration
151
+ * [ ] Phone number module
152
+
153
+ ## ⚠️ Disclaimer
154
+ This tool is intended strictly for educational purposes, authorized security research, and lawful OSINT investigations using publicly available data.
@@ -0,0 +1,20 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/heelele/__init__.py
5
+ src/heelele/cli.py
6
+ src/heelele.egg-info/PKG-INFO
7
+ src/heelele.egg-info/SOURCES.txt
8
+ src/heelele.egg-info/dependency_links.txt
9
+ src/heelele.egg-info/entry_points.txt
10
+ src/heelele.egg-info/requires.txt
11
+ src/heelele.egg-info/top_level.txt
12
+ src/heelele/core/__init__.py
13
+ src/heelele/core/banner.py
14
+ src/heelele/core/exporter.py
15
+ src/heelele/modules/__init__.py
16
+ src/heelele/modules/username/__init__.py
17
+ src/heelele/modules/username/extractor.py
18
+ src/heelele/modules/username/mutations.py
19
+ src/heelele/modules/username/scanner.py
20
+ src/heelele/modules/username/sites.json
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ heelele = heelele.cli:entry_point
@@ -0,0 +1,3 @@
1
+ httpx[http2,socks]>=0.27.0
2
+ colorama>=0.4.6
3
+ selectolax>=1.0.0
@@ -0,0 +1 @@
1
+ heelele