• Stars
    star
    132
  • Rank 274,205 (Top 6 %)
  • Language
    Python
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate WireGuard profile from Cloudflare Warp account

Cloudflare Warp WireGuard Client

A tool to generate WireGuard profiles for Cloudflare Warp

⚠️ Notice:

This project has been deprecated in favor of wgcf - a complete re-write in Golang. It includes numerous new features and improvements, runs natively on any operating system, and has zero dependencies. Get wgcf now!

Features

  • Fetch configuration data from server
  • Create new account
  • Use existing license key
  • Check account type / Warp+ status
  • Create WireGuard profile

Usage

  1. Install WireGuard. Make sure its command-line tool wg is accessible from your PATH
  2. Install Python 3.7+
  3. Install poetry using pip:
    pip3 install poetry
  4. Download this project and extract it
  5. Open a shell in the extracted directory
  6. (only first time) Install the dependencies:
    poetry install
  7. Run the script:
    poetry run python wgcf.py

Your new account details will be saved under wgcf-identity.json and your WireGuard profile under wgcf-profile.conf.

You can use the WireGuard profile on any OS that supports WireGuard, including Windows, macOS, Linux and Android. For more information, please refer to the WireGuard installation instructions.

Using existing license key

If you have an existing account, for an example on your phone, you can use its license key to bind this device's account to that of your phone and share its Warp+ features. Please note that there is a limit of a maximum of 5 active linked devices.

  1. Make sure you have ran this script at least once to create an identity
  2. Once you have the wgcf-identity.json file, open it in your favorite text editor and replace the license_key value with the license key of your other device
  3. When you re-run this script, it will detect the change and automatically update your account

Android

To see your account's license key on Android:

  1. Open the 1.1.1.1 app
  2. Click on the hamburger menu button in the top-right corner
  3. Navigate to: Account > Key

More Repositories

1

wgcf

🚤 Cross-platform, unofficial CLI for Cloudflare Warp
Go
2,850
star
2

TrustMeAlready

🔓 Disable SSL verification and pinning on Android, system-wide
Java
967
star
3

magisk-frida

🔐 Run frida-server on boot with Magisk, always up-to-date
Shell
495
star
4

de4dot-cex

📦 de4dot deobfuscator with full support for vanilla ConfuserEx
C#
387
star
5

apk-utilities

🛠 Tools and scripts to manipulate Android APKs
Python
186
star
6

LenovoController

🎮 A lightweight alternative to Lenovo Vantage
C#
164
star
7

pi-encrypted-boot-ssh

🔑 Raspberry Pi Encrypted Boot with Remote SSH
130
star
8

dnEditor

💾 A .NET assembly editor based on dnlib
C#
122
star
9

jvm-dump-proxy

A proxy DLL for Windows to dump JVM classes at JNI level
C
61
star
10

nMAC

📱 An Android device MAC changer
C#
56
star
11

z3-python-ctf

🐍 Solving CTF challenges using Z3 and Python
Python
24
star
12

poweruser

💪 Collection of tips, tricks and scripts for becoming a true poweruser
Shell
22
star
13

authelia-basic-2fa

🗝 Use Authelia 2FA through only standard basic auth
Go
18
star
14

avast-ctf-cambridge-2018

🎖 A complete write-up of the Avast challenge given at Hack Cambridge 2018
18
star
15

nginx-gotchas

⁉ My personal list of gotchas and other tricky situations with nginx
15
star
16

SmaliHelper

An offline documentation browser for Smali
C#
14
star
17

wg-reverse-proxy

🛤 Ansible setup for building a WireGuard reverse proxy server
Shell
14
star
18

swift-ida

IDA plugin to aid with Swift reverse engineering
Python
11
star
19

webdav-server

A simple WebDAV server in Go
Go
11
star
20

tailscale-bolt

Create self-contained, 1-click scripts, which connect any computer to your TailScale network
Shell
11
star
21

brookshear-vm

A brookshear virtual machine written in Go
Go
11
star
22

PerfectProxyDLL

A simple and stable proxy DLL for Windows x64
C
10
star
23

ProcessPrivileges

Query, enable, disable or remove privileges on a process
C#
9
star
24

CompatTelOverride

Persistently disable the Compatibility Telemetry in Windows 10
C#
8
star
25

RunInTray

Run a program in tray with its own icon
C#
7
star
26

scanogram

Scan your pictures and videos for corruption, and sort them by EXIF or modification time
Go
7
star
27

BinaryPatcher

A library to patch binaries
C#
7
star
28

proxy-redirector

A HTTP/S proxy that redirects connections
Go
7
star
29

windows-ansible

Ansible playbook to configure a Windows machine
PowerShell
7
star
30

anvil-calc

Optimal enchantment order calculator for modded Minecraft
Rust
6
star
31

pwnEd-ctf

Write-ups for pwnEd CTF in Edinburgh 2020
Python
6
star
32

WhiteScrolls

📃 Articles, papers and presentations
6
star
33

http-ci-deployer

An extremely simple HTTP-based deployment solution for Continuous Integration services
Go
5
star
34

docker-elk-arm64

ELK stack for Docker ARM64
Shell
5
star
35

devpost-api

📜 An unofficial API for DevPost
Python
4
star
36

simplewall-utils

Simple utilities for simplewall
Go
4
star
37

drunk-sshd

🍺 Byte replace patterns to make sshd accept any password as valid
4
star
38

winsock-dump-proxy

A proxy DLL for Windows to dump Windows Socket connections
C
4
star
39

overseer

Search an Android device for files containing its MAC address
C
3
star
40

android-kernel-ci

Generic auto-build repo for Android kernels using various CI
Shell
3
star
41

serve-zip

Simple HTTP server that streams directories as a ZIP
XSLT
3
star
42

byte-pattern-patcher

A minimalistic, performant, cross-platform byte pattern patcher
Go
3
star
43

sdconv

Automatic SD video conversion script
Python
2
star
44

stirling-workshop-2

The materials for the Raspberry Pi workshop
Shell
2
star
45

text2pic

A text to picture translator understandable by anyone
C#
2
star
46

sigint-workshop-1

The materials for the Dissecting Android Apps workshop
2
star
47

iddqdBot

A PvE bot for the RESTful DOOM engine
Java
2
star
48

TimetableManager

A simple timetable manager, written for a university assignment project
Java
2
star
49

jre-side-channel

Various JRE patches to aid side-channel analysis in Java
Java
2
star
50

stirling-workshop-1

The materials for the Introduction to Cyber Security workshop
2
star
51

cdx2018-ransomware-decryptor

CDX 2018 Ransomware Decryptor
Go
2
star
52

upscale-win

Workflow for upscaling and interpolating videos with NVIDIA TensorRT acceleration
Python
2
star
53

vscode-essay

A VSCode template for HTML and PDF generation from Markdown with GitHub-style theme and extras
CSS
2
star
54

handbraked

Watch and convert videos in a directory using Handbrake
Go
2
star
55

APlusGenerator

A code generator for the APlus project
C#
2
star
56

gomobiler

A stripped-down gomobile to easily build go executables for Android
Go
2
star
57

APlus

An application aiming to create truly anonymous school examination sheets while keeping things simple
C#
2
star
58

tcp-packet-parser

A PCAP analyzer that filters TCP packets and dumps them with appropriate labels
Go
1
star
59

z3-wasm

Run Z3 entirely in your browser using WebAssembly
JavaScript
1
star
60

docker-windows-process-isolation

🛳 Install Docker in process isolation mode on Windows
PowerShell
1
star
61

gitlab-gitea-migrator

Batch repository migrator from GitLab to Gitea using their APIs
Python
1
star
62

APlusServer

The server part of the APlus project
PHP
1
star
63

ieReplace

Replace Internet Explorer 11 with a stub that redirects URLs to Edge
C++
1
star
64

human-bot

A bot for МSTanks with a twist
Python
1
star
65

vscode-smali

Smali syntax highlighting for VS Code
CoffeeScript
1
star
66

NaniteProtector-demo

A demo of the Nanite Protector for Java
1
star
67

optic-go

Utilities for API generation using Optic in Go
Go
1
star
68

jekyll-bootstrap-mermaid-template

A clean and simple Jekyll + Bootstrap 4 + Mermaid template
SCSS
1
star
69

docker-windows-patcher

🚢 A memory patch to workaround Windows bug with Docker
C++
1
star