Skip to content

Dump the WireGuard config without using the cyberghostvpn client

Notifications You must be signed in to change notification settings

DemanNL/CyberGhost-WireGuard-Dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CyberGhost-WireGuard-Dumper

Dump the WireGuard config without using the cyberghostvpn client. This script will produce a valid WireGuard config which you can use to create and start WireGuard tunnels. Just run the script using the following command python3 cyberGhostWireGuard.py

Prerequisites

The only thing you need is the 'x-app-key' value. I couldn't find an API call for this value. So I think it is embedded in the client you download, not sure though.

I nabbed the 'x-app-key' value by running the cyberghostvpn Linux app through a man-in-the-middle proxy. The value doesn't change when you uninstall and reinstall the client.

If I find where this value comes from and how to grab it, I'll integrate it in this script. For now you first have to find the 'x-app-key' value yourself.

Closing notes

CyberGhost seems to clean up their public keys on a regular basis. This means you will have to generate a new WireGuard config everyday using this script.

About

Dump the WireGuard config without using the cyberghostvpn client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages