Skip to content

levpr1c/vpn-sub-get-hwid-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subget

This script was created with the help of AI (opencode).

Русская версия

Simple tool to fetch VPN configs from subscription URLs with custom HWID headers.

English

Get VPN configuration from subscription services that require HWID binding, allowing you to use the same subscription across different OS installations without consuming multiple device slots.

Usage

python3 subget.py "https://example.com/sub" -c

Options

  • --hwid - Custom device ID (default: device-1)
  • --os - Device OS (Windows/Linux/macOS/Android/iOS, default: Windows)
  • --ver-os - OS version (default: 11)
  • --model - Device model (default: PC)
  • --ua - Custom User-Agent
  • -c - Copy result to clipboard
  • -o FILE - Save output to file

Example

python3 subget.py "https://vpn.example.com/subscribe" \
  --hwid "my-device" \
  --os "Linux" \
  --ver-os "24" \
  --model "ThinkPad" \
  -c

Dependencies

  • Python 3.x
  • requests library
  • Optional: pyperclip for clipboard support

Install with:

pip install requests pyperclip

Notes

  • Tested with v2ray/xray/sing-box subscription formats
  • Works with Remnawave/Happ-style HWID headers
  • Outputs raw subscription content (base64 decoded if needed)

About

a simple Python script to fetch VPN configuration from subscription URLs with custom HWID headers to bypass device limits on multi-OS setups.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages