├── libs ├── wsnet │ ├── .gitignore │ ├── src │ │ ├── utils │ │ │ ├── wsnet_logger.cpp │ │ │ ├── wsnet_logger.h │ │ │ ├── crypto_utils.h │ │ │ └── oqs_provider_loader.h │ │ ├── public │ │ │ ├── CMakeLists.txt │ │ │ └── failover │ │ │ │ └── CMakeLists.txt │ │ ├── emergencyconnect │ │ │ └── CMakeLists.txt │ │ ├── decoytraffic │ │ │ └── CMakeLists.txt │ │ ├── api │ │ │ ├── CMakeLists.txt │ │ │ └── bridgeapi │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── bridgeapi_utils.h │ │ ├── apiresourcesmanager │ │ │ └── CMakeLists.txt │ │ ├── failover │ │ │ └── CMakeLists.txt │ │ ├── dnsresolver │ │ │ ├── getdnsconfig_mac.h │ │ │ ├── areslibraryinit.h │ │ │ └── CMakeLists.txt │ │ └── httpnetworkmanager │ │ │ └── CMakeLists.txt │ ├── cmake │ │ └── config.cmake.in │ ├── tools │ │ └── AndroidManifest.xml │ ├── include │ │ └── wsnet │ │ │ └── scapix_object.h │ └── vcpkg-configuration.json ├── readme.txt └── wssecure │ └── wssecure.h ├── src ├── client │ ├── gui │ │ ├── locations │ │ │ ├── CMakeLists.txt │ │ │ └── view │ │ │ │ ├── clickableandtooltiprects.h │ │ │ │ └── CMakeLists.txt │ │ ├── tests │ │ │ └── CMakeLists.txt │ │ ├── png │ │ │ ├── bg │ │ │ │ ├── bg1.png │ │ │ │ ├── bg2.png │ │ │ │ ├── bg3.png │ │ │ │ ├── bg4.png │ │ │ │ └── bg5.png │ │ │ ├── welcome.png │ │ │ └── garry_tools.png │ │ ├── sounds │ │ │ ├── sounds │ │ │ │ ├── Fart_on.mp3 │ │ │ │ ├── Arcade_on.mp3 │ │ │ │ ├── Boing_off.mp3 │ │ │ │ ├── Boing_on.mp3 │ │ │ │ ├── Fart_off.mp3 │ │ │ │ ├── Sci-fi_on.mp3 │ │ │ │ ├── Sword_off.mp3 │ │ │ │ ├── Sword_on.mp3 │ │ │ │ ├── Wiz_By_on.mp3 │ │ │ │ ├── Arcade_off.mp3 │ │ │ │ ├── Pop_Can_off.mp3 │ │ │ │ ├── Pop_Can_on.mp3 │ │ │ │ ├── Sci-fi_off.mp3 │ │ │ │ ├── Sub_Ping_off.mp3 │ │ │ │ ├── Sub_Ping_on.mp3 │ │ │ │ ├── Wiz_By_off.mp3 │ │ │ │ ├── Ghost_Wind_off.mp3 │ │ │ │ ├── Ghost_Wind_on.mp3 │ │ │ │ ├── Video_Game_off.mp3 │ │ │ │ ├── Video_Game_on.mp3 │ │ │ │ ├── Windscribe_off.mp3 │ │ │ │ ├── Windscribe_on.mp3 │ │ │ │ ├── Fart_(Deluxe)_off.mp3 │ │ │ │ ├── Fart_(Deluxe)_on.mp3 │ │ │ │ └── Fart_(Deluxe)_loop.mp3 │ │ │ └── CMakeLists.txt │ │ ├── gif │ │ │ └── windscribe_spinner.gif │ │ ├── dialogs │ │ │ └── CMakeLists.txt │ │ ├── resources │ │ │ ├── icons │ │ │ │ ├── mac │ │ │ │ │ ├── error.icns │ │ │ │ │ ├── connected.icns │ │ │ │ │ ├── connecting.icns │ │ │ │ │ ├── error_dark.icns │ │ │ │ │ ├── windscribe.icns │ │ │ │ │ ├── disconnected.icns │ │ │ │ │ ├── error_light.icns │ │ │ │ │ ├── connected_dark.icns │ │ │ │ │ ├── connected_light.icns │ │ │ │ │ ├── connecting_dark.icns │ │ │ │ │ ├── connecting_light.icns │ │ │ │ │ ├── disconnected_dark.icns │ │ │ │ │ └── disconnected_light.icns │ │ │ │ ├── win │ │ │ │ │ ├── error_dark.ico │ │ │ │ │ ├── error_light.ico │ │ │ │ │ ├── windscribe.ico │ │ │ │ │ ├── overlay_error.ico │ │ │ │ │ ├── connected_dark.ico │ │ │ │ │ ├── connected_light.ico │ │ │ │ │ ├── connecting_dark.ico │ │ │ │ │ ├── connecting_light.ico │ │ │ │ │ ├── disconnected_dark.ico │ │ │ │ │ ├── disconnected_light.ico │ │ │ │ │ ├── overlay_connected.ico │ │ │ │ │ └── overlay_connecting.ico │ │ │ │ └── linux │ │ │ │ │ ├── error_dark.ico │ │ │ │ │ ├── error_light.ico │ │ │ │ │ ├── windscribe.ico │ │ │ │ │ ├── connected_dark.ico │ │ │ │ │ ├── connected_light.ico │ │ │ │ │ ├── connecting_dark.ico │ │ │ │ │ ├── connecting_light.ico │ │ │ │ │ ├── disconnected_dark.ico │ │ │ │ │ └── disconnected_light.ico │ │ │ └── fonts │ │ │ │ └── ibmplexsans.ttf │ │ ├── externalconfig │ │ │ └── CMakeLists.txt │ │ ├── log │ │ │ └── CMakeLists.txt │ │ ├── newsfeedwindow │ │ │ ├── newsfeedconst.h │ │ │ └── CMakeLists.txt │ │ ├── permissions │ │ │ ├── CMakeLists.txt │ │ │ └── permissionmonitor_mac.h │ │ ├── protocolwindow │ │ │ ├── protocolwindowmode.h │ │ │ └── CMakeLists.txt │ │ ├── emergencyconnectwindow │ │ │ └── CMakeLists.txt │ │ ├── twofactorauth │ │ │ └── CMakeLists.txt │ │ ├── svg │ │ │ ├── flags │ │ │ │ ├── mc.svg │ │ │ │ ├── at.svg │ │ │ │ ├── lv.svg │ │ │ │ ├── id.svg │ │ │ │ ├── pl.svg │ │ │ │ ├── ua.svg │ │ │ │ ├── jp.svg │ │ │ │ ├── am.svg │ │ │ │ ├── be.svg │ │ │ │ ├── bg.svg │ │ │ │ ├── bs.svg │ │ │ │ ├── de.svg │ │ │ │ ├── dk.svg │ │ │ │ ├── fr.svg │ │ │ │ ├── hu.svg │ │ │ │ ├── ie.svg │ │ │ │ ├── it.svg │ │ │ │ ├── lu.svg │ │ │ │ ├── nl.svg │ │ │ │ ├── ru.svg │ │ │ │ ├── th.svg │ │ │ │ ├── cz.svg │ │ │ │ ├── fi.svg │ │ │ │ ├── lt.svg │ │ │ │ ├── ro.svg │ │ │ │ ├── se.svg │ │ │ │ ├── ch.svg │ │ │ │ ├── ae.svg │ │ │ │ ├── co.svg │ │ │ │ ├── ee.svg │ │ │ │ ├── mt.svg │ │ │ │ ├── vn.svg │ │ │ │ ├── ch_circle.svg │ │ │ │ ├── gr.svg │ │ │ │ ├── jp_circle.svg │ │ │ │ ├── is.svg │ │ │ │ ├── no.svg │ │ │ │ ├── vn_circle.svg │ │ │ │ ├── mc_circle.svg │ │ │ │ ├── pl_circle.svg │ │ │ │ ├── ua_circle.svg │ │ │ │ ├── il.svg │ │ │ │ ├── ly.svg │ │ │ │ ├── lv_circle.svg │ │ │ │ ├── tr.svg │ │ │ │ ├── ng.svg │ │ │ │ ├── cn.svg │ │ │ │ └── id_circle.svg │ │ │ ├── BACK_ARROW.svg │ │ │ ├── preferences │ │ │ │ ├── ABOUT_ICON.svg │ │ │ │ ├── TITLE_LINK.svg │ │ │ │ ├── CNTXT_MENU_SMALL_ICON.svg │ │ │ │ ├── HELP_ICON.svg │ │ │ │ ├── INFO_WHITE_ICON.svg │ │ │ │ ├── INFO_YELLOW_ICON.svg │ │ │ │ ├── WHITE_QUESTION_MARK_ICON.svg │ │ │ │ ├── ALLOW_LAN_TRAFFIC.svg │ │ │ │ ├── EDIT_SMALL_ICON.svg │ │ │ │ ├── GENERAL_ICON.svg │ │ │ │ ├── SEND_LOG.svg │ │ │ │ ├── TAP_DRIVER.svg │ │ │ │ ├── CONNECTED_DNS.svg │ │ │ │ ├── CLEAR_ICON.svg │ │ │ │ ├── LOCATION_LOAD.svg │ │ │ │ ├── LAUNCH_AT_STARTUP.svg │ │ │ │ ├── MULTI_DESKTOP.svg │ │ │ │ ├── MAC_SPOOFING.svg │ │ │ │ ├── PACKET_SIZE.svg │ │ │ │ ├── CONNECTION_MODE.svg │ │ │ │ ├── OTHER_VPNS.svg │ │ │ │ ├── IGNORE_SSL_ERRORS.svg │ │ │ │ ├── ACCOUNT_ICON.svg │ │ │ │ ├── TALK_TO_GARRY.svg │ │ │ │ ├── DOCKED.svg │ │ │ │ ├── AUTODETECT_ICON.svg │ │ │ │ ├── SEND_TICKET.svg │ │ │ │ ├── START_MINIMIZED.svg │ │ │ │ ├── UPDATE_CHANNEL.svg │ │ │ │ ├── AUTOSECURE.svg │ │ │ │ ├── ADS.svg │ │ │ │ ├── ROBERT_ICON.svg │ │ │ │ ├── CNTXT_MENU_ICON.svg │ │ │ │ ├── LOCATION_ORDER.svg │ │ │ │ ├── APP_BACKGROUND.svg │ │ │ │ ├── CONNECTION_ICON.svg │ │ │ │ ├── VIEW_LOG.svg │ │ │ │ ├── TRAY_ICON_COLOR.svg │ │ │ │ ├── INFO_ICON.svg │ │ │ │ └── SOCIAL_NETWORKS.svg │ │ │ ├── ARROW_DOWN_LOCATIONS.svg │ │ │ ├── login │ │ │ │ ├── SLIDER_ARROW_ICON.svg │ │ │ │ ├── CONFIG_ICON.svg │ │ │ │ ├── EMERGENCY_ICON_DISABLED.svg │ │ │ │ └── EMERGENCY_ICON_ENABLED.svg │ │ │ ├── NETWORK_ARROW.svg │ │ │ ├── PROTOCOL_ARROW.svg │ │ │ ├── LOGOUT_ICON.svg │ │ │ ├── PREFERRED_PROTOCOL_BADGE.svg │ │ │ ├── INFO_ICON.svg │ │ │ ├── FOOTER.svg │ │ │ ├── CLEAR_ICON.svg │ │ │ ├── CHECKMARK.svg │ │ │ ├── update │ │ │ │ └── UPDATING_SPINNER.svg │ │ │ ├── WINDOWS_MINIMIZE_ICON.svg │ │ │ ├── background │ │ │ │ ├── MAIN_BG_VAN_GOGH.svg │ │ │ │ ├── MAIN_BG_TOP.svg │ │ │ │ ├── MAIN_BORDER_BOTTOM_INNER.svg │ │ │ │ ├── MAIN_BORDER_INNER_VAN_GOGH.svg │ │ │ │ ├── MAIN_BORDER_TOP_INNER_VAN_GOGH.svg │ │ │ │ ├── MAIN_BORDER_TOP_INNER.svg │ │ │ │ ├── MAIN_BORDER_TOP_INNER_EXTENSION.svg │ │ │ │ └── GRADIENT_BG_CONNECTING_VAN_GOGH.svg │ │ │ ├── locations │ │ │ │ ├── COLLAPSE_ICON.svg │ │ │ │ ├── ALL_LOCATION_ICON_SELECTED.svg │ │ │ │ ├── LOCATION_PING_BARS3.svg │ │ │ │ ├── LOCATION_PING_BARS2.svg │ │ │ │ ├── LOCATION_PING_BARS1.svg │ │ │ │ ├── CONFIG_ICON_DESELECTED.svg │ │ │ │ ├── LOCATION_PING_BARS0.svg │ │ │ │ ├── STATIC_IP_ICON_SELECTED.svg │ │ │ │ ├── ERROR_ICON.svg │ │ │ │ └── CITY_ICON.svg │ │ │ ├── IP_LOCK_SECURE.svg │ │ │ ├── emergencyconnect │ │ │ │ └── BIG_SPINNER.svg │ │ │ ├── network │ │ │ │ └── ETHERNET_SECURED.svg │ │ │ ├── CHECKBOX_UNCHECKED.svg │ │ │ ├── IP_LOCK_UNSECURE.svg │ │ │ ├── pingbar │ │ │ │ ├── ON_FULL.svg │ │ │ │ ├── SHADOW.svg │ │ │ │ ├── OFF_FULL.svg │ │ │ │ ├── ON_HALF.svg │ │ │ │ ├── OFF_HALF.svg │ │ │ │ ├── OFF_LOW.svg │ │ │ │ └── ON_LOW.svg │ │ │ ├── MENU_ICON.svg │ │ │ ├── RATE_SPEED_BAD_ON.svg │ │ │ ├── RATE_SPEED_GOOD_ON.svg │ │ │ ├── ring │ │ │ │ └── CONNECTING.svg │ │ │ ├── CHECKBOX_CHECKED.svg │ │ │ ├── FIREWALL_INFO_ICON.svg │ │ │ ├── RATE_SPEED_BAD_OFF.svg │ │ │ ├── RATE_SPEED_GOOD_OFF.svg │ │ │ ├── SHUTDOWN_ICON.svg │ │ │ ├── ip-utils │ │ │ │ └── ROTATE.svg │ │ │ ├── BIG_CONFIG_ICON.svg │ │ │ └── connection-badge │ │ │ │ ├── NO_INT.svg │ │ │ │ ├── ON.svg │ │ │ │ └── OFF.svg │ │ ├── generalmessage │ │ │ ├── generalmessagetypes.h │ │ │ └── CMakeLists.txt │ │ ├── overlaysconnectwindow │ │ │ └── CMakeLists.txt │ │ ├── commongraphics │ │ │ ├── footerbackground.h │ │ │ └── scalablegraphicsobject.h │ │ ├── utils │ │ │ ├── makecustomshadow.h │ │ │ ├── scaleutils_win.h │ │ │ └── CMakeLists.txt │ │ ├── tooltips │ │ │ ├── tooltiputil.h │ │ │ ├── tooltiputil.cpp │ │ │ └── CMakeLists.txt │ │ ├── preferenceswindow │ │ │ └── preferencestab │ │ │ │ └── preferencestabtypes.h │ │ ├── application │ │ │ ├── preventmultipleinstances_win.h │ │ │ ├── checkrunningapp │ │ │ │ └── checkrunningapp_mac.h │ │ │ └── openlocationshandler_mac.h │ │ ├── widgetutils │ │ │ ├── CMakeLists.txt │ │ │ ├── widgetutils.h │ │ │ └── widgetutils_mac.h │ │ ├── graphicresources │ │ │ ├── CMakeLists.txt │ │ │ └── fontdescr.h │ │ ├── bottominfowidget │ │ │ └── CMakeLists.txt │ │ ├── systemtray │ │ │ ├── CMakeLists.txt │ │ │ ├── locationstraymenu.h │ │ │ └── locationstraymenubutton.h │ │ ├── loginattemptscontroller.h │ │ ├── mainwindowstate.cpp │ │ └── showingdialogstate.cpp │ ├── base │ │ ├── backend │ │ │ ├── types │ │ │ │ └── upgrademodetype.cpp │ │ │ └── preferences │ │ │ │ └── detectlanrange.h │ │ ├── localipcserver │ │ │ └── CMakeLists.txt │ │ ├── launchonstartup │ │ │ ├── launchonstartup_linux.h │ │ │ ├── launchonstartup_mac.h │ │ │ ├── launchonstartup_win.h │ │ │ └── launchonstartup.h │ │ ├── locations │ │ │ ├── CMakeLists.txt │ │ │ └── model │ │ │ │ └── proxymodels │ │ │ │ └── staticips_proxymodel.h │ │ ├── multipleaccountdetection │ │ │ ├── multipleaccountdetectionfactory.h │ │ │ ├── imultipleaccountdetection.h │ │ │ └── secretvalue_win.h │ │ └── utils │ │ │ ├── authchecker_mac.h │ │ │ ├── authchecker_win.h │ │ │ ├── authchecker_linux.h │ │ │ └── iauthchecker.h │ ├── engine │ │ ├── engine │ │ │ ├── apiresources │ │ │ │ ├── tests │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ └── apiresources_visual_test │ │ │ │ │ │ └── apiresources_test.qrc │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── apiutils.h │ │ │ ├── macaddresscontroller │ │ │ │ └── imacaddresscontroller.cpp │ │ │ ├── dnsinfo_win.h │ │ │ ├── ping │ │ │ │ ├── tests │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── test_ips.txt │ │ │ │ │ ├── pingmultiplehosts_test │ │ │ │ │ │ └── resources.qrc │ │ │ │ │ └── pingmanager_visual_test │ │ │ │ │ │ └── pingmanager_test.qrc │ │ │ │ └── CMakeLists.txt │ │ │ ├── bridgeapi │ │ │ │ └── CMakeLists.txt │ │ │ ├── emergencycontroller │ │ │ │ └── CMakeLists.txt │ │ │ ├── helper │ │ │ │ ├── installhelper_win.h │ │ │ │ └── helper.h │ │ │ ├── taputils │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── checkadapterenable.h │ │ │ ├── wireguardconfig │ │ │ │ └── CMakeLists.txt │ │ │ ├── proxy │ │ │ │ ├── autodetectproxy_mac.h │ │ │ │ └── autodetectproxy_win.h │ │ │ ├── connectstatecontroller │ │ │ │ └── CMakeLists.txt │ │ │ ├── splittunnelextension │ │ │ │ └── CMakeLists.txt │ │ │ ├── connectionmanager │ │ │ │ ├── restorednsmanager_mac.h │ │ │ │ ├── availableport.h │ │ │ │ ├── isleepevents.h │ │ │ │ ├── sleepevents_mac.h │ │ │ │ ├── ctrldmanager │ │ │ │ │ └── CMakeLists.txt │ │ │ │ ├── restorednsmanager_mac.mm │ │ │ │ ├── networkextensionlog_mac.h │ │ │ │ └── makeovpnfilefromcustom.h │ │ │ ├── vpnshare │ │ │ │ ├── httpproxyserver │ │ │ │ │ └── httpproxyheader.h │ │ │ │ └── socksproxyserver │ │ │ │ │ └── socksproxyreadexactly.h │ │ │ ├── firewall │ │ │ │ ├── uniqueiplist.h │ │ │ │ └── uniqueiplist.cpp │ │ │ ├── adaptermetricscontroller_win.h │ │ │ ├── autoupdater │ │ │ │ └── CMakeLists.txt │ │ │ ├── getdeviceid.h │ │ │ ├── locationsmodel │ │ │ │ └── nodeselectionalgorithm.h │ │ │ └── networkdetectionmanager │ │ │ │ └── pathmonitor.h │ │ ├── mac │ │ │ └── windscribe.icns │ │ └── utils │ │ │ └── ras_service_win.h │ ├── cli │ │ └── application │ │ │ └── CMakeLists.txt │ └── common │ │ ├── utils │ │ ├── dns_utils │ │ │ └── dnsutils.h │ │ ├── timer_win.h │ │ └── executable_signature │ │ │ ├── executablesignature_linux.h │ │ │ └── executable_signature_defs.h │ │ ├── ipc │ │ ├── CMakeLists.txt │ │ ├── commandfactory.h │ │ └── server.h │ │ └── api_responses │ │ ├── myip.h │ │ ├── debuglog.h │ │ ├── websession.h │ │ └── readme.txt ├── installer │ ├── windows │ │ ├── additional_files │ │ │ ├── splittunnel │ │ │ │ ├── .gitattributes │ │ │ │ ├── amd64 │ │ │ │ │ ├── windscribesplittunnel.cat │ │ │ │ │ └── windscribesplittunnel.sys │ │ │ │ └── arm64 │ │ │ │ │ ├── windscribesplittunnel.cat │ │ │ │ │ └── windscribesplittunnel.sys │ │ │ ├── qt │ │ │ │ └── qt.conf │ │ │ └── driver_utils │ │ │ │ ├── amd64 │ │ │ │ ├── devcon.exe │ │ │ │ └── tapctl.exe │ │ │ │ └── arm64 │ │ │ │ ├── devcon.exe │ │ │ │ └── tapctl.exe │ │ ├── bootstrap │ │ │ ├── resource.h │ │ │ ├── resources │ │ │ │ ├── amd64 │ │ │ │ │ └── 7zr.exe │ │ │ │ ├── arm64 │ │ │ │ │ └── 7zr.exe │ │ │ │ └── windscribe.ico │ │ │ ├── installer.rc │ │ │ └── ossupport.manifest │ │ ├── installer │ │ │ ├── resource.h │ │ │ ├── resources │ │ │ │ └── windscribe.ico │ │ │ ├── installer │ │ │ │ ├── shellexecuteasuser.h │ │ │ │ ├── blocks │ │ │ │ │ ├── service.h │ │ │ │ │ ├── install_splittunnel.h │ │ │ │ │ ├── install_openvpn_dco.h │ │ │ │ │ └── files.h │ │ │ │ └── installer_utils.h │ │ │ ├── installer.rc │ │ │ └── ossupport.manifest │ │ ├── signing │ │ │ ├── signtool.exe │ │ │ └── code_signing.der │ │ ├── uninstaller │ │ │ ├── uninstall.ico │ │ │ ├── copy_and_run.h │ │ │ ├── remove_directory.h │ │ │ ├── resource.h │ │ │ ├── translations │ │ │ │ ├── windscribe_uninstaller_zh-CN.rc │ │ │ │ ├── windscribe_uninstaller_zh-TW.rc │ │ │ │ └── windscribe_uninstaller_ko.rc │ │ │ └── arguments_parser.h │ │ └── utils │ │ │ └── windscribepathcheck.h │ ├── linux │ │ ├── common │ │ │ └── usr │ │ │ │ └── lib │ │ │ │ └── systemd │ │ │ │ ├── system-preset │ │ │ │ └── 69-windscribe-helper.preset │ │ │ │ └── system │ │ │ │ └── windscribe-helper.service │ │ ├── gui │ │ │ ├── png_icons │ │ │ │ ├── 16x16 │ │ │ │ │ └── windscribe.png │ │ │ │ ├── 24x24 │ │ │ │ │ └── windscribe.png │ │ │ │ ├── 32x32 │ │ │ │ │ └── windscribe.png │ │ │ │ ├── 48x48 │ │ │ │ │ └── windscribe.png │ │ │ │ ├── 64x64 │ │ │ │ │ └── windscribe.png │ │ │ │ ├── 128x128 │ │ │ │ │ └── windscribe.png │ │ │ │ └── 256x256 │ │ │ │ │ └── windscribe.png │ │ │ ├── overlay │ │ │ │ ├── usr │ │ │ │ │ └── share │ │ │ │ │ │ ├── icons │ │ │ │ │ │ └── hicolor │ │ │ │ │ │ │ ├── 16x16 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ ├── 24x24 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ ├── 32x32 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ ├── 48x48 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ ├── 64x64 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ ├── 128x128 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ │ └── 256x256 │ │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ └── Windscribe.png │ │ │ │ │ │ └── applications │ │ │ │ │ │ └── windscribe.desktop │ │ │ │ └── etc │ │ │ │ │ └── windscribe │ │ │ │ │ └── autostart │ │ │ │ │ └── windscribe.desktop │ │ │ └── debian_package │ │ │ │ └── DEBIAN │ │ │ │ └── prerm │ │ └── cli │ │ │ ├── overlay │ │ │ └── usr │ │ │ │ └── lib │ │ │ │ └── systemd │ │ │ │ └── user │ │ │ │ └── windscribe.service │ │ │ └── debian_package │ │ │ └── DEBIAN │ │ │ └── prerm │ ├── common │ │ ├── resources │ │ │ ├── Windscribe.ico │ │ │ ├── background.png │ │ │ ├── ibmplexsans.ttf │ │ │ ├── windscribe.icns │ │ │ ├── WINDOWS_MINIMIZE_HOVER.svg │ │ │ ├── WINDOWS_MINIMIZE_DEFAULT.svg │ │ │ └── SHUTDOWN_ICON.svg │ │ ├── utils.h │ │ ├── installbutton.h │ │ ├── progressdisplay.h │ │ ├── svgresources.h │ │ └── spinner.h │ ├── mac │ │ ├── dmg │ │ │ ├── installer_background.jpg │ │ │ ├── installer_background.png │ │ │ ├── installer_background.tiff │ │ │ └── installer_background@2x.png │ │ └── installer │ │ │ ├── resources │ │ │ └── windscribe.icns │ │ │ ├── string_utils.h │ │ │ ├── installer │ │ │ └── processes_helper.h │ │ │ └── installer.entitlements │ └── .gitignore ├── splittunneling │ ├── windows │ │ ├── readme.txt │ │ └── sign │ │ │ ├── i386 │ │ │ └── WindscribeSplitTunnel.sys │ │ │ └── amd64 │ │ │ └── WindscribeSplitTunnel.sys │ └── macos │ │ └── ip_hostnames │ │ └── ares_library_init.h ├── helper │ ├── windows │ │ ├── windscribe_service.rc │ │ ├── ikev2route.h │ │ ├── wmi_utils.h │ │ ├── split_tunneling │ │ │ └── split_tunnel_service_manager.h │ │ ├── ioutils.h │ │ ├── simple_xor_crypt.h │ │ ├── ikev2ipsec.h │ │ ├── reinstall_wan_ikev2.h │ │ ├── targetver.h │ │ ├── remove_windscribe_network_profiles.h │ │ ├── resource.h │ │ └── firewallonboot.h │ ├── macos │ │ ├── ipc │ │ │ └── helper_security.h │ │ ├── macutils.h │ │ ├── files_manager.cpp │ │ ├── server.h │ │ ├── ovpn.h │ │ ├── routes_manager │ │ │ └── bound_route.h │ │ ├── installer │ │ │ └── files.h │ │ ├── files_manager.h │ │ └── helper-launchd.plist │ └── linux │ │ ├── ovpn.h │ │ └── routes_manager │ │ └── bound_route.h ├── utils │ ├── macos │ │ └── launcher │ │ │ ├── assets.xcassets │ │ │ └── contents.json │ │ │ ├── appdelegate.h │ │ │ ├── main.m │ │ │ └── windscribelauncher.entitlements │ ├── logviewer │ │ ├── resources │ │ │ └── icons │ │ │ │ ├── icon.icns │ │ │ │ └── icon.ico │ │ └── windscribelogviewer.qrc │ ├── windows │ │ └── windscribe_install_helper │ │ │ ├── resource.h │ │ │ ├── windscribe_install_helper.rc │ │ │ ├── command_parser.h │ │ │ └── install_service_command.h │ └── linux │ │ └── authhelper │ │ ├── main.cpp │ │ └── CMakeLists.txt └── windscribe-cli │ └── utils.h ├── tools ├── requirements.txt ├── vcpkg │ ├── ports │ │ ├── openvpn │ │ │ └── readme.txt │ │ ├── lz4 │ │ │ └── readme.txt │ │ ├── lzo │ │ │ ├── readme.txt │ │ │ └── vcpkg.json │ │ ├── qtbase │ │ │ ├── qmake.debug.bat │ │ │ ├── qtpaths.debug.bat │ │ │ ├── readme.txt │ │ │ └── windeployqt.debug.bat │ │ ├── boost-context │ │ │ └── readme.txt │ │ ├── openssl │ │ │ ├── readme.txt │ │ │ ├── openssl.pc.in │ │ │ ├── usage │ │ │ └── unix │ │ │ │ └── remove-deps.cmake │ │ ├── 7zip │ │ │ ├── 7zip-config.cmake.in │ │ │ └── readme.txt │ │ ├── scapix │ │ │ ├── scapix-config.cmake.in │ │ │ ├── vcpkg.json │ │ │ └── CMakeLists.txt │ │ ├── ctrld │ │ │ └── vcpkg.json │ │ ├── c-ares │ │ │ ├── usage │ │ │ ├── avoid-docs.patch │ │ │ └── vcpkg.json │ │ ├── miniaudio │ │ │ └── vcpkg.json │ │ ├── spdlog │ │ │ └── usage │ │ ├── scapix-bin │ │ │ └── vcpkg.json │ │ └── curl │ │ │ ├── 0022-deduplicate-libs.patch │ │ │ └── 0005_remove_imp_suffix.patch │ ├── triplets │ │ ├── x64-windows-static-release.cmake │ │ ├── arm64-windows-static-release.cmake │ │ ├── x64-linux.cmake │ │ ├── arm64-linux.cmake │ │ ├── readme.txt │ │ ├── x64-osx.cmake │ │ ├── arm64-osx.cmake │ │ └── universal-osx.cmake │ ├── update_dependencies.bat │ ├── update_dependencies.sh │ └── vcpkg-configuration.json ├── bin │ ├── 7z.dll │ └── 7z.exe ├── signing_windows_drivers │ └── readme.txt ├── deps │ ├── custom_wireguard │ │ └── embeddable-dll-service │ │ │ └── version_info.rc │ ├── __init__.py │ ├── install_wireguard │ └── install_wstunnel ├── translations │ ├── ws_translate.bat │ └── ws_translate ├── vars │ ├── wstunnel.yml │ └── wintun.yml ├── build_all └── base │ └── __init__.py ├── windscribe_banner.jpg ├── .base64_decode.ps1 ├── data └── readme.txt └── .gitattributes /libs/wsnet/.gitignore: -------------------------------------------------------------------------------- 1 | *.user 2 | generated 3 | -------------------------------------------------------------------------------- /src/client/gui/locations/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(view) 2 | -------------------------------------------------------------------------------- /libs/readme.txt: -------------------------------------------------------------------------------- 1 | Here are libs that can also be used by mobile programs. -------------------------------------------------------------------------------- /src/installer/windows/additional_files/splittunnel/.gitattributes: -------------------------------------------------------------------------------- 1 | * -crlf -------------------------------------------------------------------------------- /src/client/base/backend/types/upgrademodetype.cpp: -------------------------------------------------------------------------------- 1 | #include "upgrademodetype.h" 2 | -------------------------------------------------------------------------------- /src/client/gui/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #add_subdirectory(locationsmodel_visual_test) 2 | -------------------------------------------------------------------------------- /tools/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama 2 | pyyaml 3 | requests 4 | translate-toolkit[XML] 5 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/openvpn/readme.txt: -------------------------------------------------------------------------------- 1 | Custom openvpn port containing censorship fixes. -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/resource.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define IDI_ICON1 100001 4 | -------------------------------------------------------------------------------- /src/installer/windows/installer/resource.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define IDI_ICON1 100001 4 | -------------------------------------------------------------------------------- /tools/bin/7z.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/tools/bin/7z.dll -------------------------------------------------------------------------------- /tools/bin/7z.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/tools/bin/7z.exe -------------------------------------------------------------------------------- /src/installer/windows/additional_files/qt/qt.conf: -------------------------------------------------------------------------------- 1 | [Platforms] 2 | WindowsArguments = dpiawareness=1 3 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/lz4/readme.txt: -------------------------------------------------------------------------------- 1 | Force static linking, this is the only difference from the original. -------------------------------------------------------------------------------- /tools/vcpkg/ports/lzo/readme.txt: -------------------------------------------------------------------------------- 1 | Force static linking, this is the only difference from the original. -------------------------------------------------------------------------------- /windscribe_banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/windscribe_banner.jpg -------------------------------------------------------------------------------- /src/client/engine/engine/apiresources/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(apiresources_visual_test) 2 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/qtbase/qmake.debug.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | "%0\..\qmake.exe" -qtconf "%0\..\qt.debug.conf" %* 3 | -------------------------------------------------------------------------------- /libs/wsnet/src/utils/wsnet_logger.cpp: -------------------------------------------------------------------------------- 1 | #include "wsnet_logger.h" 2 | 3 | std::shared_ptr g_logger; 4 | -------------------------------------------------------------------------------- /src/client/engine/engine/macaddresscontroller/imacaddresscontroller.cpp: -------------------------------------------------------------------------------- 1 | #include "imacaddresscontroller.h" 2 | 3 | -------------------------------------------------------------------------------- /src/client/gui/png/bg/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/bg/bg1.png -------------------------------------------------------------------------------- /src/client/gui/png/bg/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/bg/bg2.png -------------------------------------------------------------------------------- /src/client/gui/png/bg/bg3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/bg/bg3.png -------------------------------------------------------------------------------- /src/client/gui/png/bg/bg4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/bg/bg4.png -------------------------------------------------------------------------------- /src/client/gui/png/bg/bg5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/bg/bg5.png -------------------------------------------------------------------------------- /src/client/gui/png/welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/welcome.png -------------------------------------------------------------------------------- /tools/vcpkg/ports/qtbase/qtpaths.debug.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | "%0\..\qtpaths.exe" --qtconf "%0\..\qt.debug.conf" %* 3 | -------------------------------------------------------------------------------- /src/installer/linux/common/usr/lib/systemd/system-preset/69-windscribe-helper.preset: -------------------------------------------------------------------------------- 1 | enable windscribe-helper.service 2 | -------------------------------------------------------------------------------- /src/client/gui/png/garry_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/png/garry_tools.png -------------------------------------------------------------------------------- /src/splittunneling/windows/readme.txt: -------------------------------------------------------------------------------- 1 | Don't forget to set different minimum target version for Win7 and Win10, before building. -------------------------------------------------------------------------------- /src/client/engine/engine/dnsinfo_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace DnsInfo_win 4 | { 5 | void outputDebugDnsInfo(); 6 | } 7 | -------------------------------------------------------------------------------- /src/client/engine/mac/windscribe.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/engine/mac/windscribe.icns -------------------------------------------------------------------------------- /src/client/base/localipcserver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(base PRIVATE 2 | localipcserver.cpp 3 | localipcserver.h 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Fart_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Fart_on.mp3 -------------------------------------------------------------------------------- /src/helper/windows/windscribe_service.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/helper/windows/windscribe_service.rc -------------------------------------------------------------------------------- /src/utils/macos/launcher/assets.xcassets/contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /libs/wsnet/src/public/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_include_directories(wsnet PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 2 | add_subdirectory(failover) 3 | -------------------------------------------------------------------------------- /libs/wsnet/src/utils/wsnet_logger.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | extern std::shared_ptr g_logger; 5 | -------------------------------------------------------------------------------- /src/client/cli/application/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(cli PRIVATE 2 | singleappinstance.cpp 3 | windscribeapplication.cpp 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/engine/engine/ping/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(pingmanager_visual_test) 2 | add_subdirectory(pingmultiplehosts_test) 3 | -------------------------------------------------------------------------------- /src/client/gui/gif/windscribe_spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/gif/windscribe_spinner.gif -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Arcade_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Arcade_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Boing_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Boing_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Boing_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Boing_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Fart_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Fart_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sci-fi_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sci-fi_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sword_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sword_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sword_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sword_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Wiz_By_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Wiz_By_on.mp3 -------------------------------------------------------------------------------- /src/helper/windows/ikev2route.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class IKEv2Route 4 | { 5 | public: 6 | static bool addRouteForIKEv2(); 7 | }; 8 | -------------------------------------------------------------------------------- /src/installer/windows/signing/signtool.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/signing/signtool.exe -------------------------------------------------------------------------------- /libs/wsnet/src/public/failover/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | failovercontainer.cpp 3 | failovercontainer.h 4 | ) 5 | 6 | -------------------------------------------------------------------------------- /src/client/engine/engine/bridgeapi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | bridgeapimanager.cpp 3 | bridgeapimanager.h 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/gui/dialogs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | advancedparametersdialog.cpp 3 | advancedparametersdialog.h 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/error.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/error.icns -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Arcade_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Arcade_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Pop_Can_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Pop_Can_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Pop_Can_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Pop_Can_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sci-fi_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sci-fi_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sub_Ping_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sub_Ping_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Sub_Ping_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Sub_Ping_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Wiz_By_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Wiz_By_off.mp3 -------------------------------------------------------------------------------- /src/installer/common/resources/Windscribe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/common/resources/Windscribe.ico -------------------------------------------------------------------------------- /src/installer/common/resources/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/common/resources/background.png -------------------------------------------------------------------------------- /src/utils/logviewer/resources/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/utils/logviewer/resources/icons/icon.icns -------------------------------------------------------------------------------- /src/utils/logviewer/resources/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/utils/logviewer/resources/icons/icon.ico -------------------------------------------------------------------------------- /tools/vcpkg/ports/boost-context/readme.txt: -------------------------------------------------------------------------------- 1 | A custom boost-context port for Windscribe which adds support for the universal MacOS architecture. 2 | -------------------------------------------------------------------------------- /libs/wsnet/cmake/config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(${CMAKE_CURRENT_LIST_DIR}/wsnet-targets.cmake) 4 | check_required_components(wsnet) 5 | -------------------------------------------------------------------------------- /src/client/gui/externalconfig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | externalconfigwindowitem.cpp 3 | externalconfigwindowitem.h 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/gui/resources/fonts/ibmplexsans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/fonts/ibmplexsans.ttf -------------------------------------------------------------------------------- /src/client/gui/sounds/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | soundmanager.cpp 3 | soundmanager.h 4 | 5 | sounds.qrc 6 | ) 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Ghost_Wind_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Ghost_Wind_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Ghost_Wind_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Ghost_Wind_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Video_Game_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Video_Game_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Video_Game_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Video_Game_on.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Windscribe_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Windscribe_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Windscribe_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Windscribe_on.mp3 -------------------------------------------------------------------------------- /src/installer/common/resources/ibmplexsans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/common/resources/ibmplexsans.ttf -------------------------------------------------------------------------------- /src/installer/common/resources/windscribe.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/common/resources/windscribe.icns -------------------------------------------------------------------------------- /src/installer/mac/dmg/installer_background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/mac/dmg/installer_background.jpg -------------------------------------------------------------------------------- /src/installer/mac/dmg/installer_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/mac/dmg/installer_background.png -------------------------------------------------------------------------------- /src/installer/mac/dmg/installer_background.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/mac/dmg/installer_background.tiff -------------------------------------------------------------------------------- /src/installer/windows/signing/code_signing.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/signing/code_signing.der -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/uninstall.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/uninstaller/uninstall.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connected.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connected.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connecting.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connecting.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/error_dark.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/error_dark.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/windscribe.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/windscribe.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/error_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/error_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/error_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/error_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/windscribe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/windscribe.ico -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Fart_(Deluxe)_off.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Fart_(Deluxe)_off.mp3 -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Fart_(Deluxe)_on.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Fart_(Deluxe)_on.mp3 -------------------------------------------------------------------------------- /src/installer/mac/dmg/installer_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/mac/dmg/installer_background@2x.png -------------------------------------------------------------------------------- /src/utils/macos/launcher/appdelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface AppDelegate : NSObject 4 | 5 | 6 | @end 7 | 8 | -------------------------------------------------------------------------------- /src/client/engine/engine/emergencycontroller/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | emergencycontroller.cpp 3 | emergencycontroller.h 4 | ) 5 | -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/error_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/error_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/error_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/error_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/windscribe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/windscribe.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/disconnected.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/disconnected.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/error_light.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/error_light.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/overlay_error.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/overlay_error.ico -------------------------------------------------------------------------------- /src/client/gui/sounds/sounds/Fart_(Deluxe)_loop.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/sounds/sounds/Fart_(Deluxe)_loop.mp3 -------------------------------------------------------------------------------- /tools/vcpkg/ports/openssl/readme.txt: -------------------------------------------------------------------------------- 1 | OpenSSL with ECH support for Windscribe client apps. 2 | homepage: "https://github.com/sftcd/openssl/tree/ECH-draft-13c" 3 | -------------------------------------------------------------------------------- /src/client/engine/engine/helper/installhelper_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace InstallHelper_win 4 | { 5 | 6 | bool executeInstallHelperCmd(); 7 | 8 | }; 9 | -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/connected_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/connected_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connected_dark.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connected_dark.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connected_light.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connected_light.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connecting_dark.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connecting_dark.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/connected_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/connected_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/connected_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/connected_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/connecting_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/connecting_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/connecting_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/connecting_light.ico -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/16x16/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/16x16/windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/24x24/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/24x24/windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/32x32/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/32x32/windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/48x48/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/48x48/windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/64x64/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/64x64/windscribe.png -------------------------------------------------------------------------------- /src/installer/mac/installer/resources/windscribe.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/mac/installer/resources/windscribe.icns -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/resources/amd64/7zr.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/bootstrap/resources/amd64/7zr.exe -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/resources/arm64/7zr.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/bootstrap/resources/arm64/7zr.exe -------------------------------------------------------------------------------- /src/utils/logviewer/windscribelogviewer.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | resources/icons/icon.ico 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/utils/windows/windscribe_install_helper/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/utils/windows/windscribe_install_helper/resource.h -------------------------------------------------------------------------------- /tools/vcpkg/ports/7zip/7zip-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include("${CMAKE_CURRENT_LIST_DIR}/7zip-targets.cmake") 4 | 5 | check_required_components(7zip) 6 | -------------------------------------------------------------------------------- /src/client/gui/log/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | logviewerwindow.cpp 3 | logviewerwindow.h 4 | randomcolor.cpp 5 | randomcolor.h 6 | ) 7 | -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/connected_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/connected_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/connecting_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/connecting_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/connecting_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/connecting_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/connecting_light.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/connecting_light.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/disconnected_dark.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/disconnected_dark.icns -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/disconnected_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/disconnected_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/disconnected_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/disconnected_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/overlay_connected.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/overlay_connected.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/win/overlay_connecting.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/win/overlay_connecting.ico -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/128x128/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/128x128/windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/png_icons/256x256/windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/png_icons/256x256/windscribe.png -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/resources/windscribe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/bootstrap/resources/windscribe.ico -------------------------------------------------------------------------------- /src/installer/windows/installer/resources/windscribe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/installer/resources/windscribe.ico -------------------------------------------------------------------------------- /tools/signing_windows_drivers/readme.txt: -------------------------------------------------------------------------------- 1 | See the 'Signing and deployment' section of the 'Split-tunnel Driver' Notion doc for instructions on how to use this batch file. 2 | -------------------------------------------------------------------------------- /libs/wsnet/src/emergencyconnect/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | emergencyconnect.h 3 | emergencyconnect.cpp 4 | emergencyconnectendpoint.h 5 | ) 6 | -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/disconnected_dark.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/disconnected_dark.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/linux/disconnected_light.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/linux/disconnected_light.ico -------------------------------------------------------------------------------- /src/client/gui/resources/icons/mac/disconnected_light.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/client/gui/resources/icons/mac/disconnected_light.icns -------------------------------------------------------------------------------- /tools/vcpkg/ports/scapix/scapix-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | set_and_check(SCAPIX_SRC "${PACKAGE_PREFIX_DIR}/src/scapix") 4 | add_subdirectory(${SCAPIX_SRC} scapix) -------------------------------------------------------------------------------- /libs/wsnet/src/decoytraffic/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | decoytraffic.cpp 3 | decoytraffic.h 4 | decoytraffic_impl.cpp 5 | decoytraffic_impl.h 6 | ) -------------------------------------------------------------------------------- /src/client/gui/newsfeedwindow/newsfeedconst.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace NewsFeedWindow { 4 | 5 | static constexpr int TEXT_MARGIN = 16; 6 | 7 | } // namespace NewsFeedWindow -------------------------------------------------------------------------------- /src/splittunneling/windows/sign/i386/WindscribeSplitTunnel.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/splittunneling/windows/sign/i386/WindscribeSplitTunnel.sys -------------------------------------------------------------------------------- /libs/wsnet/src/api/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | baserequest.cpp 3 | baserequest.h 4 | ) 5 | 6 | add_subdirectory(bridgeapi) 7 | add_subdirectory(serverapi) 8 | -------------------------------------------------------------------------------- /src/client/base/launchonstartup/launchonstartup_linux.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class LaunchOnStartup_linux 4 | { 5 | public: 6 | static void setLaunchOnStartup(bool enable); 7 | }; 8 | -------------------------------------------------------------------------------- /src/client/gui/permissions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (APPLE) 2 | target_sources(gui PRIVATE 3 | permissionmonitor_mac.mm 4 | permissionmonitor_mac.h 5 | ) 6 | endif() 7 | -------------------------------------------------------------------------------- /src/splittunneling/windows/sign/amd64/WindscribeSplitTunnel.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/splittunneling/windows/sign/amd64/WindscribeSplitTunnel.sys -------------------------------------------------------------------------------- /src/client/gui/protocolwindow/protocolwindowmode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum ProtocolWindowMode { 4 | kUninitialized = 0, 5 | kChangeProtocol = 1, 6 | kFailedProtocol = 2, 7 | }; -------------------------------------------------------------------------------- /src/windscribe-cli/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace Utils { 6 | 7 | QString getInput(const QString &prompt, bool disableEcho); 8 | 9 | } // namespace Utils -------------------------------------------------------------------------------- /tools/deps/custom_wireguard/embeddable-dll-service/version_info.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/tools/deps/custom_wireguard/embeddable-dll-service/version_info.rc -------------------------------------------------------------------------------- /tools/translations/ws_translate.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | set tools_dir=%~dp0 4 | set PYTHONDONTWRITEBYTECODE=1 5 | python3 "%tools_dir%\ws_translate.py" %* 6 | exit /B %ERRORLEVEL% 7 | -------------------------------------------------------------------------------- /src/client/engine/engine/taputils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (WIN32) 2 | target_sources(engine PRIVATE 3 | checkadapterenable.cpp 4 | checkadapterenable.h 5 | ) 6 | endif (WIN32) 7 | -------------------------------------------------------------------------------- /src/installer/windows/additional_files/driver_utils/amd64/devcon.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/driver_utils/amd64/devcon.exe -------------------------------------------------------------------------------- /src/installer/windows/additional_files/driver_utils/amd64/tapctl.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/driver_utils/amd64/tapctl.exe -------------------------------------------------------------------------------- /src/installer/windows/additional_files/driver_utils/arm64/devcon.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/driver_utils/arm64/devcon.exe -------------------------------------------------------------------------------- /src/installer/windows/additional_files/driver_utils/arm64/tapctl.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/driver_utils/arm64/tapctl.exe -------------------------------------------------------------------------------- /tools/vcpkg/ports/openssl/openssl.pc.in: -------------------------------------------------------------------------------- 1 | prefix=${pcfiledir}/../.. 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | Version: @VERSION@ 6 | @pc_data@ 7 | -------------------------------------------------------------------------------- /libs/wsnet/src/apiresourcesmanager/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | apiresourcesmanager.cpp 3 | apiresourcesmanager.h 4 | sessionstatus.cpp 5 | sessionstatus.h 6 | ) 7 | -------------------------------------------------------------------------------- /src/helper/windows/wmi_utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace WmiUtils { 6 | std::wstring getNetworkAdapterConfigManagerErrorCode(const std::wstring& adapterName); 7 | } -------------------------------------------------------------------------------- /src/utils/windows/windscribe_install_helper/windscribe_install_helper.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/utils/windows/windscribe_install_helper/windscribe_install_helper.rc -------------------------------------------------------------------------------- /tools/vcpkg/triplets/x64-windows-static-release.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE x64) 2 | set(VCPKG_CRT_LINKAGE static) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_BUILD_TYPE release) 6 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/arm64-windows-static-release.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE arm64) 2 | set(VCPKG_CRT_LINKAGE static) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_BUILD_TYPE release) 6 | -------------------------------------------------------------------------------- /src/client/base/locations/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(base PRIVATE 2 | locationsmodel_manager.cpp 3 | locationsmodel_manager.h 4 | locationsmodel_roles.h 5 | ) 6 | 7 | add_subdirectory(model) 8 | -------------------------------------------------------------------------------- /src/client/engine/engine/wireguardconfig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | getwireguardconfig.cpp 3 | getwireguardconfig.h 4 | wireguardconfig.cpp 5 | wireguardconfig.h 6 | ) 7 | -------------------------------------------------------------------------------- /src/client/gui/emergencyconnectwindow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | emergencyconnectwindowitem.cpp 3 | emergencyconnectwindowitem.h 4 | textlinkitem.cpp 5 | textlinkitem.h 6 | ) 7 | -------------------------------------------------------------------------------- /src/helper/macos/ipc/helper_security.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace HelperSecurity { 6 | extern "C" bool isValidXpcConnection(xpc_object_t event); 7 | } 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/installer/common/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | QPixmap getBorderedPixmap(const QString &path, int width, int height, int radius, bool roundTop = true, bool roundBottom = true); 6 | -------------------------------------------------------------------------------- /src/client/gui/twofactorauth/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | twofactorauthwindowitem.cpp 3 | twofactorauthokbutton.cpp 4 | twofactorauthwindowitem.h 5 | twofactorauthokbutton.h 6 | ) 7 | -------------------------------------------------------------------------------- /src/client/common/utils/dns_utils/dnsutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace DnsUtils 7 | { 8 | std::vector getOSDefaultDnsServers(); 9 | } 10 | -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/16x16/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/16x16/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/24x24/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/24x24/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/32x32/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/32x32/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/48x48/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/48x48/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/64x64/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/64x64/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/windows/additional_files/splittunnel/amd64/windscribesplittunnel.cat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/splittunnel/amd64/windscribesplittunnel.cat -------------------------------------------------------------------------------- /src/installer/windows/additional_files/splittunnel/amd64/windscribesplittunnel.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/splittunnel/amd64/windscribesplittunnel.sys -------------------------------------------------------------------------------- /src/installer/windows/additional_files/splittunnel/arm64/windscribesplittunnel.cat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/splittunnel/arm64/windscribesplittunnel.cat -------------------------------------------------------------------------------- /src/installer/windows/additional_files/splittunnel/arm64/windscribesplittunnel.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/windows/additional_files/splittunnel/arm64/windscribesplittunnel.sys -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/shellexecuteasuser.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace wsl 6 | { 7 | 8 | extern void RunDeElevated(const std::wstring &path); 9 | 10 | }; 11 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/openssl/usage: -------------------------------------------------------------------------------- 1 | The package openssl is compatible with built-in CMake targets: 2 | 3 | find_package(OpenSSL REQUIRED) 4 | target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto) 5 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/qtbase/readme.txt: -------------------------------------------------------------------------------- 1 | A custom qtbase port for Windscribe which differs from the standard one by removing features and features flags. 2 | Just watch the diff from the standard when trying to understand. 3 | -------------------------------------------------------------------------------- /.base64_decode.ps1: -------------------------------------------------------------------------------- 1 | & {$outpath = ($Env:CODE_SIGNING_PFX_PATH); 2 | $inpath = ($Env:CODE_SIGNING_PFX_PATH); 3 | [IO.File]::WriteAllBytes($outpath, ([convert]::FromBase64String(([IO.File]::ReadAllText($inpath)))))} 4 | -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/128x128/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/128x128/apps/Windscribe.png -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/icons/hicolor/256x256/apps/Windscribe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Windscribe/Desktop-App/HEAD/src/installer/linux/gui/overlay/usr/share/icons/hicolor/256x256/apps/Windscribe.png -------------------------------------------------------------------------------- /tools/vcpkg/triplets/x64-linux.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE x64) 2 | set(VCPKG_CRT_LINKAGE dynamic) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_CMAKE_SYSTEM_NAME Linux) 6 | set(VCPKG_BUILD_TYPE release) 7 | -------------------------------------------------------------------------------- /src/client/base/launchonstartup/launchonstartup_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class LaunchOnStartup_mac 4 | { 5 | public: 6 | static bool isLaunchOnStartupEnabled(); 7 | static void setLaunchOnStartup(bool enable); 8 | }; 9 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/mc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/arm64-linux.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE arm64) 2 | set(VCPKG_CRT_LINKAGE dynamic) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_CMAKE_SYSTEM_NAME Linux) 6 | set(VCPKG_BUILD_TYPE release) 7 | -------------------------------------------------------------------------------- /src/client/gui/svg/BACK_ARROW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/ABOUT_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/windows/utils/windscribepathcheck.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | namespace PathCheck 5 | { 6 | bool isNeedAppendSubdirectory(const std::wstring &installPath, const std::wstring &prevInstallPath); 7 | } 8 | -------------------------------------------------------------------------------- /libs/wsnet/tools/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/at.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/lv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/engine/engine/proxy/autodetectproxy_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "types/proxysettings.h" 4 | 5 | class AutoDetectProxy_mac 6 | { 7 | public: 8 | static types::ProxySettings detect(bool &bSuccessfully); 9 | }; 10 | -------------------------------------------------------------------------------- /src/client/engine/engine/proxy/autodetectproxy_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "types/proxysettings.h" 4 | 5 | class AutoDetectProxy_win 6 | { 7 | public: 8 | static types::ProxySettings detect(bool &bSuccessfully); 9 | }; 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/ARROW_DOWN_LOCATIONS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/id.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/pl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ua.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/TITLE_LINK.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/copy_and_run.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace CopyAndRun 6 | { 7 | unsigned long runFirstPhase(const std::wstring &uninstExeFile, const char *lpszCmdParam); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /src/client/gui/generalmessage/generalmessagetypes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace GeneralMessageWindow { 4 | 5 | enum Style { kBright, kDark }; 6 | enum Shape { kConnectScreenAlphaShape, kConnectScreenVanGoghShape, kLoginScreenShape }; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/client/gui/overlaysconnectwindow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | updateappitem.cpp 3 | updateappitem.h 4 | updatewindowitem.cpp 5 | updatewindowitem.h 6 | upgradewindowitem.cpp 7 | upgradewindowitem.h 8 | ) 9 | -------------------------------------------------------------------------------- /src/installer/linux/cli/overlay/usr/lib/systemd/user/windscribe.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Windscribe service 3 | 4 | [Service] 5 | Type=simple 6 | ExecStart=/opt/windscribe/Windscribe 7 | 8 | [Install] 9 | WantedBy=default.target 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CNTXT_MENU_SMALL_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/HELP_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/readme.txt: -------------------------------------------------------------------------------- 1 | Some custom vcpkg triplets that are not available out of the box. 2 | In particular, it's a triplet for building a universal Mac architecture. 3 | Also for all platforms we build only release builds(VCPKG_BUILD_TYPE=release). -------------------------------------------------------------------------------- /src/client/common/ipc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(common PRIVATE 2 | clicommands.h 3 | command.h 4 | commandfactory.cpp 5 | commandfactory.h 6 | connection.cpp 7 | connection.h 8 | server.cpp 9 | server.h 10 | ) 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/login/SLIDER_ARROW_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/split_tunneling/split_tunnel_service_manager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class SplitTunnelServiceManager 4 | { 5 | public: 6 | SplitTunnelServiceManager(); 7 | 8 | bool start() const; 9 | void stop() const; 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/ctrld/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ctrld", 3 | "version": "1.4.7", 4 | "port-version": 0, 5 | "description": "A highly configurable, multi-protocol DNS forwarding proxy", 6 | "homepage": "https://github.com/Control-D-Inc/ctrld" 7 | } 8 | -------------------------------------------------------------------------------- /src/client/base/launchonstartup/launchonstartup_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class LaunchOnStartup_win 4 | { 5 | public: 6 | static void setLaunchOnStartup(bool enable); 7 | 8 | private: 9 | static void clearDisableAutoStartFlag(); 10 | 11 | }; 12 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectstatecontroller/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | connectstatecontroller.cpp 3 | connectstatecontroller.h 4 | connectstatewatcher.h 5 | connectstatewatcher.cpp 6 | iconnectstatecontroller.h 7 | ) 8 | -------------------------------------------------------------------------------- /src/client/engine/engine/ping/tests/test_ips.txt: -------------------------------------------------------------------------------- 1 | 69.12.94.66;https://us-central-014.whiskergalaxy.com:6363/latency 2 | 107.150.23.194;https://us-central-013.whiskergalaxy.com:6363/latency 3 | 198.54.128.115;https://us-central-058.whiskergalaxy.com:6363/latency 4 | -------------------------------------------------------------------------------- /src/client/gui/commongraphics/footerbackground.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace CommonGraphics { 7 | 8 | void drawFooter(QPainter *painter, const QRect &rect); 9 | 10 | } // namespace CommonGraphics 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/NETWORK_ARROW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/PROTOCOL_ARROW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/INFO_WHITE_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/INFO_YELLOW_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/base/multipleaccountdetection/multipleaccountdetectionfactory.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "imultipleaccountdetection.h" 4 | 5 | class MultipleAccountDetectionFactory 6 | { 7 | public: 8 | static IMultipleAccountDetection *create(); 9 | }; 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/jp.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/WHITE_QUESTION_MARK_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/utils/makecustomshadow.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class MakeCustomShadow 6 | { 7 | public: 8 | static QPixmap makeShadowForPixmap(QPixmap &sourcePixmap, qreal distance, qreal blurRadius, const QColor &color); 9 | }; 10 | -------------------------------------------------------------------------------- /src/client/engine/engine/splittunnelextension/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if(APPLE) 2 | target_sources(engine PRIVATE 3 | splittunnelextensionmanager_mac.h 4 | splittunnelextensionmanager_mac.mm 5 | systemextensions_mac.h 6 | systemextensions_mac.mm 7 | ) 8 | endif() 9 | -------------------------------------------------------------------------------- /src/client/gui/svg/LOGOUT_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/ioutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace IOUtils { 6 | 7 | bool readAll(HANDLE hPipe, HANDLE hIOEvent, char *buf, DWORD len); 8 | bool writeAll(HANDLE hPipe, HANDLE hIOEvent, const char *buf, DWORD len); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/helper/windows/simple_xor_crypt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class SimpleXorCrypt 4 | { 5 | public: 6 | static std::string encrypt(std::string &data, const std::string &key); 7 | static std::string decrypt(std::string &data, const std::string &key); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /src/utils/linux/authhelper/main.cpp: -------------------------------------------------------------------------------- 1 | // AuthHelper 2 | // This empty process is used as a helper process to check for root access dynamically 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | int main() 9 | { 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /libs/wsnet/src/utils/crypto_utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace crypto_utils 6 | { 7 | std::string sha1(const std::string &str); 8 | std::string md5(const std::string &str); 9 | std::string sha256(const std::string &str); 10 | } 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/PREFERRED_PROTOCOL_BADGE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/macos/macutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace MacUtils 6 | { 7 | bool setDnsOfDynamicStoreEntry(std::string dnsIp, std::string dynEntry); 8 | std::string resourcePath(); 9 | std::string bundleVersionFromPlist(); 10 | } 11 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/c-ares/usage: -------------------------------------------------------------------------------- 1 | c-ares provides CMake targets: 2 | 3 | find_package(c-ares CONFIG REQUIRED) 4 | target_link_libraries(main PRIVATE c-ares::cares) 5 | 6 | c-ares provides pkg-config modules: 7 | 8 | # asynchronous DNS lookup library 9 | libcares 10 | -------------------------------------------------------------------------------- /libs/wsnet/src/failover/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_include_directories(wsnet PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 2 | 3 | target_sources(wsnet PRIVATE 4 | basefailover.h 5 | failoverdata.h 6 | failovers/hardcodeddomainfailover.h 7 | ifailovercontainer.h 8 | ) 9 | 10 | -------------------------------------------------------------------------------- /src/client/engine/engine/taputils/checkadapterenable.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "engine/helper/helper.h" 5 | 6 | class CheckAdapterEnable 7 | { 8 | public: 9 | static bool isAdapterDisabled(Helper *helper, const QString &adapterName); 10 | }; 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/INFO_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/ALLOW_LAN_TRAFFIC.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/EDIT_SMALL_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/installer/mac/installer/string_utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #import 3 | #include 4 | 5 | inline std::string toStdString(NSString *str) 6 | { 7 | std::string res; 8 | if (str) 9 | res = [str UTF8String]; 10 | return res; 11 | } -------------------------------------------------------------------------------- /src/splittunneling/macos/ip_hostnames/ares_library_init.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class AresLibraryInit 4 | { 5 | public: 6 | AresLibraryInit(); 7 | ~AresLibraryInit(); 8 | 9 | void init(); 10 | 11 | private: 12 | bool init_; 13 | bool failedInit_; 14 | }; 15 | -------------------------------------------------------------------------------- /src/utils/macos/launcher/main.m: -------------------------------------------------------------------------------- 1 | 2 | #import 3 | 4 | int main(int argc, const char * argv[]) { 5 | @autoreleasepool { 6 | // Setup code that might create autoreleased objects goes here. 7 | } 8 | return NSApplicationMain(argc, argv); 9 | } 10 | -------------------------------------------------------------------------------- /src/client/engine/engine/apiresources/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | apiutils.cpp 3 | apiutils.h 4 | myipmanager.cpp 5 | myipmanager.h 6 | ) 7 | 8 | #if(DEFINED IS_BUILD_TESTS) 9 | #add_subdirectory(tests) 10 | #endif(DEFINED IS_BUILD_TESTS) 11 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/restorednsmanager_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include "engine/helper/helper.h" 6 | 7 | class RestoreDNSManager_mac 8 | { 9 | public: 10 | static void restoreState(Helper *helper); 11 | }; 12 | -------------------------------------------------------------------------------- /src/client/engine/engine/vpnshare/httpproxyserver/httpproxyheader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace HttpProxyServer { 6 | 7 | struct HttpProxyHeader 8 | { 9 | std::string name; 10 | std::string value; 11 | }; 12 | 13 | } // namespace HttpProxyServer 14 | -------------------------------------------------------------------------------- /src/client/gui/protocolwindow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | protocollineitem.cpp 3 | protocollineitem.h 4 | protocolpromptitem.cpp 5 | protocolpromptitem.h 6 | protocolwindowitem.cpp 7 | protocolwindowitem.h 8 | protocolwindowmode.h 9 | ) 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/FOOTER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/am.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/be.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/bg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/bs.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/de.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/dk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/fr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/hu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ie.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/it.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/lu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/nl.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ru.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/th.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/GENERAL_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/miniaudio/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "miniaudio", 3 | "version": "0.11.22", 4 | "description": "Audio playback and capture library written in C, in a single source file", 5 | "homepage": "https://github.com/mackron/miniaudio", 6 | "license": "Unlicense OR MIT-0" 7 | } 8 | -------------------------------------------------------------------------------- /libs/wsnet/src/dnsresolver/getdnsconfig_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | namespace wsnet { 5 | 6 | // returns a list of DNS servers installed in MacOS in CSV format using the System Configuration Framework 7 | std::string getDnsConfig_mac(); 8 | 9 | } // namespace wsnet 10 | -------------------------------------------------------------------------------- /src/client/engine/engine/apiresources/apiutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "api_responses/location.h" 5 | 6 | class ApiUtils 7 | { 8 | public: 9 | static void mergeWindflixLocations(QVector &locations); 10 | 11 | }; 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/client/engine/engine/firewall/uniqueiplist.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class UniqueIpList 7 | { 8 | public: 9 | void add(const QString &ip); 10 | QSet get() const; 11 | 12 | private: 13 | QSet set_; 14 | }; 15 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/cz.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/fi.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/lt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ro.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/helper/macos/files_manager.cpp: -------------------------------------------------------------------------------- 1 | #include "files_manager.h" 2 | 3 | void FilesManager::setFiles(Files *files) 4 | { 5 | if (files_) { 6 | delete files_; 7 | } 8 | files_ = files; 9 | } 10 | 11 | Files *FilesManager::files() 12 | { 13 | return files_; 14 | } 15 | -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/usr/share/applications/windscribe.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Terminal=false 4 | Exec=/opt/windscribe/Windscribe %F 5 | Name=Windscribe 6 | Icon=Windscribe 7 | Categories=Network 8 | StartupWMClass=Windscribe 9 | SingleMainWindow=true 10 | -------------------------------------------------------------------------------- /src/utils/windows/windscribe_install_helper/command_parser.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "basic_command.h" 4 | 5 | class CommandParser 6 | { 7 | public: 8 | CommandParser(); 9 | virtual ~CommandParser(); 10 | 11 | BasicCommand *parse(int argc, wchar_t* argv[]); 12 | }; 13 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/se.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/availableport.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class AvailablePort 6 | { 7 | public: 8 | static unsigned int getAvailablePort(unsigned int defaultPort); 9 | static bool isPortBusy(const QString &ip, unsigned int port); 10 | }; 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/SEND_LOG.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/tooltips/tooltiputil.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class TooltipUtil 6 | { 7 | public: 8 | static void getFirewallBlockedTooltipInfo(QString *title, QString *desc); 9 | static void getFirewallAlwaysOnTooltipInfo(QString *title, QString *desc); 10 | }; 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/CLEAR_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ch.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/TAP_DRIVER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/linux/gui/overlay/etc/windscribe/autostart/windscribe.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Terminal=false 4 | Exec=/opt/windscribe/Windscribe --autostart %F 5 | Name=Windscribe 6 | Icon=Windscribe 7 | Categories=Network 8 | StartupWMClass=Windscribe 9 | SingleMainWindow=true 10 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/blocks/service.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../iinstall_block.h" 4 | 5 | class Service : public IInstallBlock 6 | { 7 | public: 8 | Service(double weight); 9 | int executeStep(); 10 | 11 | private: 12 | bool installWindscribeService(); 13 | }; 14 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/remove_directory.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace RemoveDir 6 | { 7 | 8 | bool DelTree(const std::wstring Path, const bool IsDir, const bool DeleteFiles, 9 | const bool DeleteSubdirsAlso, const bool breakOnError); 10 | 11 | }; 12 | -------------------------------------------------------------------------------- /data/readme.txt: -------------------------------------------------------------------------------- 1 | The data/ directory is designated for holding project files which should be included in revision control, but are not explicitly code. 2 | For example, graphics and localization files are not code in the same sense as the rest of the project, but are good candidates for inclusion in the data/ directory. -------------------------------------------------------------------------------- /libs/wssecure/wssecure.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #if defined(WSSECURE_LIBRARY) 6 | #define WSSECURE_EXPORT __declspec(dllexport) 7 | #else 8 | #define WSSECURE_EXPORT __declspec(dllimport) 9 | #endif 10 | 11 | WSSECURE_EXPORT bool verifyProcessMitigations(std::wstring &errorMsg); 12 | -------------------------------------------------------------------------------- /src/client/gui/svg/CHECKMARK.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CONNECTED_DNS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/linux/common/usr/lib/systemd/system/windscribe-helper.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Windscribe helper service 3 | Before=network-pre.target 4 | Wants=network-pre.target 5 | 6 | [Service] 7 | Type=simple 8 | ExecStart=/opt/windscribe/helper 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /tools/deps/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ------------------------------------------------------------------------------ 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | # ------------------------------------------------------------------------------ 6 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/x64-osx.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE x64) 2 | set(VCPKG_CRT_LINKAGE dynamic) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_CMAKE_SYSTEM_NAME Darwin) 6 | set(VCPKG_OSX_ARCHITECTURES x86_64) 7 | 8 | set(VCPKG_OSX_DEPLOYMENT_TARGET 12.0) 9 | set(VCPKG_BUILD_TYPE release) 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/update/UPDATING_SPINNER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/blocks/install_splittunnel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../iinstall_block.h" 4 | 5 | // install split tunnel driver 6 | class InstallSplitTunnel : public IInstallBlock 7 | { 8 | public: 9 | InstallSplitTunnel(double weight); 10 | int executeStep(); 11 | }; 12 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/resource.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define MyIcon 100001 4 | 5 | /* Strings */ 6 | #define IDS_MSGBOX_TITLE 1000 7 | #define IDS_DIRECTORY_MISMATCH 1001 8 | #define IDS_CONFIRM_UNINSTALL 1002 9 | #define IDS_UNINSTALL_SUCCESS 1003 10 | #define IDS_CLOSE_APP 1004 11 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/arm64-osx.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE arm64) 2 | set(VCPKG_CRT_LINKAGE dynamic) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | 5 | set(VCPKG_CMAKE_SYSTEM_NAME Darwin) 6 | set(VCPKG_OSX_ARCHITECTURES arm64) 7 | 8 | set(VCPKG_OSX_DEPLOYMENT_TARGET 12.0) 9 | set(VCPKG_BUILD_TYPE release) 10 | -------------------------------------------------------------------------------- /tools/vcpkg/triplets/universal-osx.cmake: -------------------------------------------------------------------------------- 1 | set(VCPKG_TARGET_ARCHITECTURE "arm64;x86_64") 2 | set(VCPKG_CRT_LINKAGE dynamic) 3 | set(VCPKG_LIBRARY_LINKAGE static) 4 | set(VCPKG_CMAKE_SYSTEM_NAME Darwin) 5 | set(VCPKG_OSX_ARCHITECTURES "arm64;x86_64") 6 | set(VCPKG_BUILD_TYPE release) 7 | set(VCPKG_OSX_DEPLOYMENT_TARGET 12.0) 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CLEAR_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/LOCATION_LOAD.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/blocks/install_openvpn_dco.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../iinstall_block.h" 4 | 5 | // Install OpenVPN DCO kernel driver 6 | class InstallOpenVPNDCO : public IInstallBlock 7 | { 8 | public: 9 | InstallOpenVPNDCO(double weight); 10 | int executeStep(); 11 | }; 12 | -------------------------------------------------------------------------------- /tools/vcpkg/update_dependencies.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | REM This script installs or updates all dependencies locally 4 | %VCPKG_ROOT%\vcpkg install --x-install-root=%VCPKG_ROOT%\installed --x-manifest-root=%~dp0 --triplet=x64-windows-static --host-triplet=x64-windows-static --clean-buildtrees-after-build --clean-packages-after-build -------------------------------------------------------------------------------- /src/client/gui/svg/WINDOWS_MINIMIZE_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BG_VAN_GOGH.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/LAUNCH_AT_STARTUP.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/MULTI_DESKTOP.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/ikev2ipsec.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class IKEv2IPSec 4 | { 5 | public: 6 | static bool setIKEv2IPSecParameters(); 7 | 8 | private: 9 | static bool setIKEv2IPSecParametersInPhoneBook(); 10 | static bool setIKEv2IPSecParametersPowerShell(); 11 | static void disableMODP2048Support(); 12 | }; 13 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer.rc: -------------------------------------------------------------------------------- 1 | #include "resource.h" 2 | 3 | // Uncomment this line if you are debugging the installer in Qt Creator / VS Code 4 | // 7zExtractor BINARY "..\\bootstrap\\resources\\7zr.exe" 5 | Windscribe BINARY "resources\\windscribe.7z" 6 | 7 | IDI_ICON1 ICON DISCARDABLE "resources\windscribe.ico" 8 | -------------------------------------------------------------------------------- /src/client/gui/preferenceswindow/preferencestab/preferencestabtypes.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum PREFERENCES_TAB_TYPE 4 | { 5 | TAB_GENERAL, 6 | TAB_ACCOUNT, 7 | TAB_CONNECTION, 8 | TAB_LOOK_AND_FEEL, 9 | TAB_ROBERT, 10 | TAB_ADVANCED, 11 | TAB_HELP, 12 | TAB_ABOUT, 13 | TAB_UNDEFINED 14 | }; 15 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/COLLAPSE_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/common/resources/WINDOWS_MINIMIZE_HOVER.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/7zip/readme.txt: -------------------------------------------------------------------------------- 1 | A custom 7zip port for Windscribe that adds the following: 2 | 1) Forced static linking which is needed for Windows in particular. 3 | 2) Some c files are not included in the build, but they are used by us. 4 | 5 | All changes relative to the original vcpkg are marked with comments "#added by Windscribe". -------------------------------------------------------------------------------- /libs/wsnet/src/utils/oqs_provider_loader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace wsnet { 6 | 7 | class OQSProviderLoader { 8 | public: 9 | static bool initializeOQSProvider(); 10 | static void cleanup(); 11 | static bool configureSSLContext(SSL_CTX* ctx); 12 | }; 13 | 14 | } // namespace wsnet -------------------------------------------------------------------------------- /src/client/engine/engine/ping/tests/pingmultiplehosts_test/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../../../networkaccessmanager/tests/cert/certs_bundle.pem 4 | ../../../networkaccessmanager/tests/cert/cert.crt 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/client/gui/commongraphics/scalablegraphicsobject.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class ScalableGraphicsObject : public QGraphicsObject 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit ScalableGraphicsObject(QGraphicsObject *parent = nullptr); 10 | 11 | virtual void updateScaling(); 12 | }; 13 | -------------------------------------------------------------------------------- /src/client/gui/generalmessage/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | buttonwithcheckbox.cpp 3 | buttonwithcheckbox.h 4 | credentiallineedit.cpp 5 | credentiallineedit.h 6 | generalmessageitem.cpp 7 | generalmessageitem.h 8 | generalmessagewindowitem.cpp 9 | generalmessagewindowitem.h 10 | ) 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/IP_LOCK_SECURE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ae.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/MAC_SPOOFING.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/spdlog/usage: -------------------------------------------------------------------------------- 1 | The package spdlog provides CMake targets: 2 | 3 | find_package(spdlog CONFIG REQUIRED) 4 | target_link_libraries(main PRIVATE spdlog::spdlog) 5 | 6 | # Or use the header-only version 7 | find_package(spdlog CONFIG REQUIRED) 8 | target_link_libraries(main PRIVATE spdlog::spdlog_header_only) 9 | -------------------------------------------------------------------------------- /src/client/base/backend/preferences/detectlanrange.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class DetectLanRange 6 | { 7 | public: 8 | static bool isRfcLanRange(const QString &address); 9 | 10 | private: 11 | static bool isRfcLoopbackAddress(quint32 ip); 12 | static bool isRfcPrivateAddress(quint32 ip); 13 | }; 14 | -------------------------------------------------------------------------------- /src/client/common/api_responses/myip.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace api_responses { 6 | 7 | class MyIp 8 | { 9 | public: 10 | MyIp(const std::string &json); 11 | 12 | QString ip() const { return ip_; } 13 | 14 | private: 15 | QString ip_; 16 | 17 | }; 18 | 19 | } //namespace api_responses 20 | -------------------------------------------------------------------------------- /src/client/common/ipc/commandfactory.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "command.h" 4 | 5 | namespace IPC 6 | { 7 | 8 | static const int CLIENT_CMD_ClientAuth = 0; 9 | 10 | class CommandFactory 11 | { 12 | public: 13 | static Command *makeCommand(const std::string strId, char *buf, int size); 14 | }; 15 | 16 | } // namespace IPC 17 | -------------------------------------------------------------------------------- /src/client/engine/engine/ping/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | keepalivemanager.cpp 3 | keepalivemanager.h 4 | pingmanager.cpp 5 | pingmanager.h 6 | pingstorage.cpp 7 | pingstorage.h 8 | ) 9 | 10 | #if(DEFINED IS_BUILD_TESTS) 11 | #add_subdirectory(tests) 12 | #endif(DEFINED IS_BUILD_TESTS) 13 | -------------------------------------------------------------------------------- /src/client/engine/engine/ping/tests/pingmanager_visual_test/pingmanager_test.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../../../networkaccessmanager/tests/cert/certs_bundle.pem 4 | ../../../networkaccessmanager/tests/cert/cert.crt 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/client/gui/svg/emergencyconnect/BIG_SPINNER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/co.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/engine/engine/adaptermetricscontroller_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "engine/helper/helper.h" 5 | 6 | // manage adapter metrics (works for Windows10 only) 7 | class AdapterMetricsController_win 8 | { 9 | public: 10 | static void updateMetrics(const QString &adapterName, Helper *helper); 11 | }; 12 | -------------------------------------------------------------------------------- /src/client/engine/engine/firewall/uniqueiplist.cpp: -------------------------------------------------------------------------------- 1 | #include "uniqueiplist.h" 2 | #include "utils/ipvalidation.h" 3 | 4 | void UniqueIpList::add(const QString &ip) 5 | { 6 | if (IpValidation::isIp(ip)) 7 | { 8 | set_ << ip; 9 | } 10 | } 11 | 12 | QSet UniqueIpList::get() const 13 | { 14 | return set_; 15 | } 16 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ee.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/mt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/installer/common/resources/WINDOWS_MINIMIZE_DEFAULT.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/lzo/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lzo", 3 | "version": "2.10", 4 | "port-version": 9, 5 | "description": "Lossless data compression library", 6 | "homepage": "https://www.oberhumer.com/opensource/lzo/", 7 | "dependencies": [ 8 | { 9 | "name": "vcpkg-cmake", 10 | "host": true 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/client/engine/engine/apiresources/tests/apiresources_visual_test/apiresources_test.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | ../../../networkaccessmanager/tests/cert/certs_bundle.pem 4 | ../../../networkaccessmanager/tests/cert/cert.crt 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/PACKET_SIZE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/reinstall_wan_ikev2.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class ReinstallWanIkev2 4 | { 5 | public: 6 | static bool enableDevice(); 7 | static bool uninstallDevice(); 8 | static bool scanForHardwareChanges(); 9 | 10 | private: 11 | static bool setEnabledState(HDEVINFO *hDevInfo, SP_DEVINFO_DATA *deviceInfoData); 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /src/helper/windows/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // // Including SDKDDKVer.h defines the highest available Windows platform. 4 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 5 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 6 | #include 7 | -------------------------------------------------------------------------------- /src/installer/common/installbutton.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "spinner.h" 7 | 8 | class InstallButton : public QPushButton 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit InstallButton(QWidget *parent); 13 | 14 | private: 15 | QLabel *icon_; 16 | QLabel *text_; 17 | }; 18 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/qtbase/windeployqt.debug.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal enabledelayedexpansion 3 | set mypath=%~dp0 4 | set mypath=%mypath:~0,-1% 5 | set BAKCD=!CD! 6 | cd /D "%mypath%\..\..\..\debug\bin" 7 | set PATH=!CD!;%PATH% 8 | cd /D "%BAKCD%" 9 | "%mypath%\windeployqt6.exe" --qtpaths "%mypath%\qtpaths.debug.bat" %* 10 | endlocal 11 | -------------------------------------------------------------------------------- /src/client/base/launchonstartup/launchonstartup.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class LaunchOnStartup 4 | { 5 | public: 6 | 7 | static LaunchOnStartup &instance() 8 | { 9 | static LaunchOnStartup l; 10 | return l; 11 | } 12 | 13 | void setLaunchOnStartup(bool enable); 14 | 15 | private: 16 | LaunchOnStartup() {} 17 | }; 18 | -------------------------------------------------------------------------------- /src/client/gui/application/preventmultipleinstances_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class PreventMultipleInstances_win 6 | { 7 | public: 8 | PreventMultipleInstances_win(); 9 | ~PreventMultipleInstances_win(); 10 | bool lock(); 11 | void unlock(); 12 | 13 | private: 14 | HANDLE hMutexCurrentApp_; 15 | }; 16 | -------------------------------------------------------------------------------- /src/client/gui/svg/network/ETHERNET_SECURED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/vcpkg/update_dependencies.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #This script installs or updates all dependencies locally 4 | 5 | SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) 6 | "${VCPKG_ROOT}/vcpkg" install --x-install-root=${VCPKG_ROOT}/installed --x-manifest-root=${SCRIPT_DIR} --clean-buildtrees-after-build --clean-packages-after-build -------------------------------------------------------------------------------- /src/client/gui/svg/login/CONFIG_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CONNECTION_MODE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/widgetutils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | widgetutils.cpp 3 | widgetutils.h 4 | ) 5 | 6 | if (WIN32) 7 | target_sources(gui PRIVATE 8 | widgetutils_win.cpp 9 | ) 10 | elseif(APPLE) 11 | target_sources(gui PRIVATE 12 | widgetutils_mac.h 13 | widgetutils_mac.mm 14 | ) 15 | endif() 16 | -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/installer.rc: -------------------------------------------------------------------------------- 1 | #include "resource.h" 2 | 3 | #if defined(WINDSCRIBE_ARM64_TARGET) 4 | 7zExtractor BINARY "resources\\arm64\\7zr.exe" 5 | #else 6 | 7zExtractor BINARY "resources\\amd64\\7zr.exe" 7 | #endif 8 | 9 | Installer BINARY "resources\\windscribeinstaller.7z" 10 | IDI_ICON1 ICON DISCARDABLE "resources\\windscribe.ico" 11 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Use default line ending for Git (LF) 2 | * text=auto 3 | 4 | # Except in tools/vcpkg, as this dir contains patches that should retain their line endings. 5 | tools/vcpkg/**/* -text 6 | # Except in installer/windows/additional_files, as this dir contains *.inf files that should retain their line endings. 7 | installer/windows/additional_files/**/* -text 8 | -------------------------------------------------------------------------------- /src/client/common/api_responses/debuglog.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace api_responses { 6 | 7 | class DebugLog 8 | { 9 | public: 10 | DebugLog(const std::string &json); 11 | 12 | bool isSuccess() const { return bSuccess_; } 13 | 14 | private: 15 | bool bSuccess_; 16 | 17 | }; 18 | 19 | } //namespace api_responses 20 | -------------------------------------------------------------------------------- /src/client/common/api_responses/websession.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace api_responses { 6 | 7 | class WebSession 8 | { 9 | public: 10 | WebSession(const std::string &json); 11 | 12 | QString token() const { return token_; } 13 | 14 | private: 15 | QString token_; 16 | 17 | }; 18 | 19 | } //namespace api_responses 20 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/isleepevents.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class ISleepEvents : public QObject 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit ISleepEvents(QObject *parent) : QObject(parent) {} 10 | virtual ~ISleepEvents() {} 11 | 12 | signals: 13 | void gotoSleep(); 14 | void gotoWake(); 15 | }; 16 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BG_TOP.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/vn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/OTHER_VPNS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/remove_windscribe_network_profiles.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class RemoveWindscribeNetworkProfiles 4 | { 5 | public: 6 | static void remove(); 7 | 8 | private: 9 | static void enumAll(HKEY hKey); 10 | static bool isNeedRemove(const wchar_t *name); 11 | static bool regDelnodeRecurse(HKEY hKeyRoot, LPTSTR lpSubKey); 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /src/client/base/utils/authchecker_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "iauthchecker.h" 4 | 5 | class AuthChecker_mac : public IAuthChecker 6 | { 7 | Q_OBJECT 8 | Q_INTERFACES(IAuthChecker) 9 | public: 10 | explicit AuthChecker_mac(QObject *parent = nullptr); 11 | ~AuthChecker_mac() override; 12 | AuthCheckerError authenticate() override; 13 | }; 14 | -------------------------------------------------------------------------------- /src/client/gui/newsfeedwindow/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | entryitem.cpp 3 | entryitem.h 4 | messageitem.cpp 5 | messageitem.h 6 | newscontentitem.cpp 7 | newscontentitem.h 8 | newsentrycontainer.cpp 9 | newsentrycontainer.h 10 | newsfeedconst.h 11 | newsfeedwindowitem.cpp 12 | newsfeedwindowitem.h 13 | ) 14 | -------------------------------------------------------------------------------- /src/client/gui/svg/CHECKBOX_UNCHECKED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/IP_LOCK_UNSECURE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BORDER_BOTTOM_INNER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/client/gui/svg/login/EMERGENCY_ICON_DISABLED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/ON_FULL.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/SHADOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/widgetutils/widgetutils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace WidgetUtils { 7 | 8 | QPixmap extractProgramIcon(QString filePath); 9 | 10 | QScreen *slightlySaferScreenAt(QPoint pt); 11 | 12 | QScreen *screenByName(const QString &name); 13 | QScreen *screenContainingPt(const QPoint &pt); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /tools/vars/wstunnel.yml: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------------ 2 | # Windscribe Build System 3 | # Copyright (c) 2020-2025, Windscribe Limited. All rights reserved. 4 | # ------------------------------------------------------------------------------ 5 | variables: 6 | VERSION_WSTUNNEL: '1.0.5' 7 | ARTIFACT_WSTUNNEL: 'wstunnel.zip' 8 | -------------------------------------------------------------------------------- /libs/wsnet/src/dnsresolver/areslibraryinit.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace wsnet { 4 | 5 | class AresLibraryInit 6 | { 7 | public: 8 | AresLibraryInit(); 9 | ~AresLibraryInit(); 10 | 11 | bool init(); 12 | 13 | private: 14 | bool bInitialized_; 15 | bool bFailedInitialize_; 16 | 17 | bool initAndroid(); 18 | }; 19 | 20 | } // namespace wsnet 21 | -------------------------------------------------------------------------------- /src/client/base/utils/authchecker_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "iauthchecker.h" 4 | 5 | class AuthChecker_win : public IAuthChecker 6 | { 7 | Q_OBJECT 8 | Q_INTERFACES(IAuthChecker) 9 | public: 10 | explicit AuthChecker_win(QObject *parent = nullptr); 11 | ~AuthChecker_win() override {} 12 | AuthCheckerError authenticate() override; 13 | }; 14 | -------------------------------------------------------------------------------- /src/client/gui/svg/MENU_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/RATE_SPEED_BAD_ON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/RATE_SPEED_GOOD_ON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BORDER_INNER_VAN_GOGH.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BORDER_TOP_INNER_VAN_GOGH.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/ALL_LOCATION_ICON_SELECTED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/LOCATION_PING_BARS3.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/client/gui/svg/login/EMERGENCY_ICON_ENABLED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/OFF_FULL.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/utils/scaleutils_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace ScaleUtils_win { 6 | 7 | QList idealScaleFactors(); 8 | double closestScaleFactor(double value, QList set); 9 | double closestLargerScaleFactor(double value, QList set); 10 | double scaleFactor(double devicePixelRatio, double logicalDPI); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/helper/macos/server.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class Server 6 | { 7 | public: 8 | Server(); 9 | ~Server(); 10 | void run(); 11 | 12 | private: 13 | xpc_connection_t listener_; 14 | 15 | void xpc_event_handler(xpc_connection_t peer); 16 | void peer_event_handler(xpc_connection_t peer, xpc_object_t event); 17 | }; 18 | -------------------------------------------------------------------------------- /src/client/engine/engine/autoupdater/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | downloadhelper.cpp 3 | downloadhelper.h 4 | # autoupdaterhelper_mac.cpp 5 | # autoupdaterhelper_mac.h 6 | ) 7 | 8 | 9 | if(APPLE) 10 | target_sources(engine PRIVATE 11 | autoupdaterhelper_mac.cpp 12 | autoupdaterhelper_mac.h 13 | ) 14 | endif(APPLE) 15 | -------------------------------------------------------------------------------- /src/client/engine/engine/getdeviceid.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class GetDeviceId 7 | { 8 | public: 9 | static GetDeviceId &instance() 10 | { 11 | static GetDeviceId s; 12 | return s; 13 | } 14 | 15 | QString getDeviceId(); 16 | 17 | private: 18 | GetDeviceId(); 19 | QMutex mutex_; 20 | }; 21 | -------------------------------------------------------------------------------- /src/client/gui/application/checkrunningapp/checkrunningapp_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CheckRunningApp_mac 4 | { 5 | public: 6 | // check previously running application instance and activate it, if found 7 | // return true in bShouldCloseCurrentApp, if need finish current instance of app 8 | static void checkPrevInstance(bool &bShouldCloseCurrentApp); 9 | }; 10 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BORDER_TOP_INNER.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/helper/linux/ovpn.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace OVPN { 6 | 7 | bool writeOVPNFile(const std::string &dnsScript, unsigned int port, const std::string &config, const std::string &httpProxy, 8 | unsigned int httpPort, const std::string &socksProxy, unsigned int socksPort, bool isCustomConfig); 9 | 10 | } // namespace OVPN 11 | -------------------------------------------------------------------------------- /src/helper/macos/ovpn.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace OVPN { 6 | 7 | bool writeOVPNFile(const std::string &dnsScript, unsigned int port, const std::string &config, const std::string &httpProxy, 8 | unsigned int httpPort, const std::string &socksProxy, unsigned int socksPort, bool isCustomConfig); 9 | 10 | } //namespace OVPN 11 | -------------------------------------------------------------------------------- /src/installer/.gitignore: -------------------------------------------------------------------------------- 1 | mac/Binaries 2 | *.DS_Store 3 | *.sln 4 | 5 | windows/installer/Debug/* 6 | windows/installer/Release/* 7 | windows/installer/x64/* 8 | windows/temp-installer/* 9 | windows/uninstaller/x64/* 10 | windows/installer/.vs/* 11 | windows/uninstaller/.vs/* 12 | windows/builds/* 13 | windows/InstallerFiles/* 14 | windows/signing/*.pfx 15 | *.user 16 | *.7z 17 | -------------------------------------------------------------------------------- /src/installer/mac/installer/installer/processes_helper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | // util class for find processes by name 7 | class ProcessesHelper 8 | { 9 | public: 10 | ProcessesHelper(); 11 | 12 | std::vector getPidsByProcessname(const char *name); 13 | bool isProcessFinished(pid_t pid) const; 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/openssl/unix/remove-deps.cmake: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE MAKEFILES ${DIR}/*/Makefile) 2 | foreach(MAKEFILE ${MAKEFILES}) 3 | message("removing deps from ${MAKEFILE}") 4 | file(READ "${MAKEFILE}" _contents) 5 | string(REGEX REPLACE "\n# DO NOT DELETE THIS LINE.*" "" _contents "${_contents}") 6 | file(WRITE "${MAKEFILE}" "${_contents}") 7 | endforeach() 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ch_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/ON_HALF.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/IGNORE_SSL_ERRORS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/utils/linux/authhelper/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.23) 2 | 3 | set(CMAKE_CXX_STANDARD 17) 4 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 5 | 6 | project(authhelper_linux) 7 | 8 | set(SOURCES 9 | main.cpp 10 | ) 11 | 12 | add_executable(windscribe-authhelper ${SOURCES}) 13 | 14 | install(TARGETS windscribe-authhelper 15 | RUNTIME DESTINATION . 16 | ) 17 | -------------------------------------------------------------------------------- /src/client/common/utils/timer_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "utils/win32handle.h" 4 | 5 | // Helper functions for the waitable Windows timer 6 | namespace timer_win { 7 | 8 | HANDLE createTimer(int timeout, bool singleShot, PTIMERAPCROUTINE completionRoutine, LPVOID argToCompletionRoutine); 9 | void cancelTimer(wsl::Win32Handle &timer); 10 | 11 | 12 | } // namespace timer_win 13 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/MAIN_BORDER_TOP_INNER_EXTENSION.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/gr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/LOCATION_PING_BARS2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/OFF_HALF.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/ACCOUNT_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/ring/CONNECTING.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/tooltips/tooltiputil.cpp: -------------------------------------------------------------------------------- 1 | #include "tooltiputil.h" 2 | #include 3 | 4 | // static 5 | void TooltipUtil::getFirewallAlwaysOnTooltipInfo(QString *title, QString *desc) 6 | { 7 | if (title) *title = QObject::tr("Firewall Always On"); 8 | if (desc) 9 | *desc = QObject::tr("Can't turn the firewall off because \"Always On\" mode is enabled"); 10 | } 11 | -------------------------------------------------------------------------------- /libs/wsnet/src/dnsresolver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | areslibraryinit.cpp 3 | areslibraryinit.h 4 | dnsresolver_cares.cpp 5 | dnsresolver_cares.h 6 | dnsservers.cpp 7 | dnsservers.h 8 | ) 9 | 10 | if (APPLE AND NOT IOS) 11 | target_sources(wsnet PRIVATE 12 | getdnsconfig_mac.cpp 13 | getdnsconfig_mac.h 14 | ) 15 | endif() 16 | -------------------------------------------------------------------------------- /src/client/gui/graphicresources/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | fontdescr.cpp 3 | fontdescr.h 4 | fontmanager.cpp 5 | fontmanager.h 6 | iconmanager.cpp 7 | iconmanager.h 8 | imageresourcespng.cpp 9 | imageresourcespng.h 10 | imageresourcessvg.cpp 11 | imageresourcessvg.h 12 | independentpixmap.cpp 13 | independentpixmap.h 14 | ) 15 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/jp_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/base/multipleaccountdetection/imultipleaccountdetection.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class IMultipleAccountDetection 6 | { 7 | public: 8 | virtual ~IMultipleAccountDetection() {} 9 | virtual void userBecomeExpired(const QString &username) = 0; 10 | virtual bool entryIsPresent(QString &username) = 0; 11 | virtual void removeEntry() = 0; 12 | }; 13 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/is.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/no.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/LOCATION_PING_BARS1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/OFF_LOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/pingbar/ON_LOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/TALK_TO_GARRY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/common/progressdisplay.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "spinner.h" 7 | 8 | class ProgressDisplay : public QWidget 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit ProgressDisplay(QWidget *parent); 13 | 14 | void setProgress(int progress); 15 | 16 | private: 17 | Spinner *spinner_; 18 | QLabel *progress_; 19 | }; 20 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/sleepevents_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "isleepevents.h" 5 | 6 | class SleepEvents_mac : public ISleepEvents 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit SleepEvents_mac(QObject *parent = 0); 11 | virtual ~SleepEvents_mac(); 12 | 13 | virtual void emitGotoSleep(); 14 | virtual void emitGotoWake(); 15 | }; 16 | -------------------------------------------------------------------------------- /src/client/gui/permissions/permissionmonitor_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class PermissionMonitor_mac : public QObject 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit PermissionMonitor_mac(QObject *parent = nullptr); 10 | ~PermissionMonitor_mac(); 11 | 12 | void onLocationPermissionUpdated(); 13 | 14 | signals: 15 | void locationPermissionUpdated(); 16 | }; 17 | -------------------------------------------------------------------------------- /src/client/gui/svg/CHECKBOX_CHECKED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/CONFIG_ICON_DESELECTED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/DOCKED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/engine/engine/helper/helper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifdef Q_OS_WIN 6 | #include "helper_win.h" 7 | typedef Helper_win Helper; 8 | 9 | #elif defined(Q_OS_MACOS) 10 | #include "helper_mac.h" 11 | typedef Helper_mac Helper; 12 | 13 | #elif defined(Q_OS_LINUX) 14 | #include "helper_linux.h" 15 | typedef Helper_linux Helper; 16 | #endif 17 | -------------------------------------------------------------------------------- /src/client/gui/bottominfowidget/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | bottominfoitem.cpp 3 | bottominfoitem.h 4 | sharingfeatures/sharingfeature.cpp 5 | sharingfeatures/sharingfeature.h 6 | sharingfeatures/sharingfeatureswindowitem.cpp 7 | sharingfeatures/sharingfeatureswindowitem.h 8 | upgradewidget/upgradewidgetitem.cpp 9 | upgradewidget/upgradewidgetitem.h 10 | ) 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/FIREWALL_INFO_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tools/build_all: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | #------------------------------------------------------------------------------- 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | #------------------------------------------------------------------------------- 6 | tools_dir=$(dirname "$0") 7 | 8 | PYTHONDONTWRITEBYTECODE=1 exec python3 "$tools_dir/build_all.py" "$@" 9 | -------------------------------------------------------------------------------- /libs/wsnet/src/httpnetworkmanager/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | certmanager.cpp 3 | certmanager.h 4 | curlnetworkmanager.h 5 | curlnetworkmanager.cpp 6 | httpnetworkmanager.h 7 | httpnetworkmanager.cpp 8 | httpnetworkmanager_impl.h 9 | httpnetworkmanager_impl.cpp 10 | httprequest.cpp 11 | httprequest.h 12 | dnscache.cpp 13 | dnscache.h 14 | ) 15 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/ctrldmanager/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(engine PRIVATE 2 | ictrldmanager.h 3 | ) 4 | 5 | if (WIN32) 6 | target_sources(engine PRIVATE 7 | ctrldmanager_win.cpp 8 | ctrldmanager_win.h 9 | ) 10 | else() 11 | target_sources(engine PRIVATE 12 | ctrldmanager_posix.cpp 13 | ctrldmanager_posix.h 14 | ) 15 | endif() 16 | 17 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/LOCATION_PING_BARS0.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/installer/mac/installer/installer.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.files.user-selected.read-only 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/client/common/api_responses/readme.txt: -------------------------------------------------------------------------------- 1 | Here are all the wrappers over the json of the ServerAPI answers. 2 | Are in commons because they are used by both the engine and the gui. 3 | Some of them are serializable, as they can be saved in settings. 4 | No json validation is required here, as the input should already be valid json(coming from wsnet). 5 | Probably in the future they need to be transferred to the wsnet library. -------------------------------------------------------------------------------- /src/client/gui/application/openlocationshandler_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class OpenLocationsHandler_mac : public QObject 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit OpenLocationsHandler_mac(QObject *parent = 0); 10 | 11 | void emitReceivedOpenLocationsMessage(); 12 | void unsuspendObservers(); 13 | 14 | signals: 15 | void receivedOpenLocationsMessage(); 16 | }; 17 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/vn_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/AUTODETECT_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/SEND_TICKET.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/START_MINIMIZED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/tooltips/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | itooltip.cpp 3 | itooltip.h 4 | serverratingstooltip.cpp 5 | serverratingstooltip.h 6 | tooltipbasic.cpp 7 | tooltipbasic.h 8 | tooltipcontroller.cpp 9 | tooltipcontroller.h 10 | tooltipdescriptive.cpp 11 | tooltipdescriptive.h 12 | tooltiptypes.h 13 | tooltiputil.cpp 14 | tooltiputil.h 15 | ) 16 | -------------------------------------------------------------------------------- /src/client/gui/utils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | imagewithshadow.cpp 3 | imagewithshadow.h 4 | makecustomshadow.cpp 5 | makecustomshadow.h 6 | shadowmanager.cpp 7 | shadowmanager.h 8 | textshadow.cpp 9 | textshadow.h 10 | ) 11 | 12 | if (WIN32) 13 | target_sources(gui PRIVATE 14 | scaleutils_win.cpp 15 | scaleutils_win.h 16 | ) 17 | endif() 18 | -------------------------------------------------------------------------------- /src/utils/macos/launcher/windscribelauncher.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.files.user-selected.read-only 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tools/vcpkg/vcpkg-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json", 3 | "default-registry": { 4 | "kind": "git", 5 | "repository": "https://github.com/microsoft/vcpkg", 6 | "baseline": "e140b1fde236eb682b0d47f905e65008a191800f" 7 | }, 8 | "overlay-ports": [ 9 | "./ports" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /libs/wsnet/src/api/bridgeapi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(wsnet PRIVATE 2 | bridgeapi.cpp 3 | bridgeapi.h 4 | bridgeapi_impl.cpp 5 | bridgeapi_impl.h 6 | bridgeapi_request.cpp 7 | bridgeapi_request.h 8 | bridgeapi_requestsfactory.cpp 9 | bridgeapi_requestsfactory.h 10 | bridgeapi_utils.cpp 11 | bridgeapi_utils.h 12 | bridgetokenrequest.cpp 13 | bridgetokenrequest.h 14 | ) 15 | -------------------------------------------------------------------------------- /src/client/gui/svg/RATE_SPEED_BAD_OFF.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/RATE_SPEED_GOOD_OFF.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/linux/routes_manager/bound_route.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class BoundRoute 6 | { 7 | public: 8 | BoundRoute(); 9 | ~BoundRoute(); 10 | 11 | void create(const std::string &ipAddress, const std::string &interfaceName); 12 | void remove(); 13 | 14 | private: 15 | bool isBoundRouteAdded_; 16 | std::string ipAddress_; 17 | std::string interfaceName_; 18 | }; 19 | -------------------------------------------------------------------------------- /src/helper/macos/routes_manager/bound_route.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class BoundRoute 6 | { 7 | public: 8 | BoundRoute(); 9 | ~BoundRoute(); 10 | 11 | void create(const std::string &ipAddress, const std::string &interfaceName); 12 | void remove(); 13 | 14 | private: 15 | bool isBoundRouteAdded_; 16 | std::string ipAddress_; 17 | std::string interfaceName_; 18 | }; 19 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/c-ares/avoid-docs.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 194485a..e903e50 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -618,7 +618,7 @@ ADD_SUBDIRECTORY (include) 6 | ADD_SUBDIRECTORY (src) 7 | 8 | # Docs 9 | -ADD_SUBDIRECTORY (docs) 10 | +#ADD_SUBDIRECTORY (docs) 11 | 12 | # Tests 13 | IF (CARES_BUILD_TESTS OR CARES_BUILD_CONTAINER_TESTS) 14 | -------------------------------------------------------------------------------- /libs/wsnet/include/wsnet/scapix_object.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Scapix optional integration ( more info -> https://www.scapix.com/language_bridge/optional_integration ) 4 | 5 | #ifdef SCAPIX_BRIDGE 6 | 7 | #include 8 | 9 | template 10 | using scapix_object = scapix::bridge::object; 11 | 12 | #else 13 | 14 | template 15 | class scapix_object {}; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /libs/wsnet/vcpkg-configuration.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json", 3 | "default-registry": { 4 | "kind": "git", 5 | "repository": "https://github.com/microsoft/vcpkg", 6 | "baseline": "e140b1fde236eb682b0d47f905e65008a191800f" 7 | }, 8 | "overlay-ports": [ 9 | "./../../tools/vcpkg/ports" 10 | ] 11 | } -------------------------------------------------------------------------------- /src/client/gui/svg/flags/mc_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/pl_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ua_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/STATIC_IP_ICON_SELECTED.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/systemtray/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | locationstraymenu.cpp 3 | locationstraymenu.h 4 | locationstraymenubutton.cpp 5 | locationstraymenubutton.h 6 | locationstraymenuitemdelegate.cpp 7 | locationstraymenuitemdelegate.h 8 | locationstraymenunative.cpp 9 | locationstraymenunative.h 10 | locationstraymenuwidget.cpp 11 | locationstraymenuwidget.h 12 | ) 13 | -------------------------------------------------------------------------------- /src/installer/common/resources/SHUTDOWN_ICON.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/windows/windscribe_install_helper/install_service_command.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "basic_command.h" 4 | 5 | class InstallServiceCommand : public BasicCommand 6 | { 7 | public: 8 | InstallServiceCommand(Logger *logger, const std::wstring &installDir); 9 | ~InstallServiceCommand() override; 10 | 11 | void execute() override; 12 | 13 | private: 14 | const std::wstring installDir_; 15 | }; 16 | -------------------------------------------------------------------------------- /tools/deps/install_wireguard: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | #------------------------------------------------------------------------------- 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | #------------------------------------------------------------------------------- 6 | tools_dir=$(dirname "$0") 7 | 8 | PYTHONDONTWRITEBYTECODE=1 exec python3 "$tools_dir/install_wireguard.py" "$@" 9 | -------------------------------------------------------------------------------- /tools/deps/install_wstunnel: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | #------------------------------------------------------------------------------- 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | #------------------------------------------------------------------------------- 6 | tools_dir=$(dirname "$0") 7 | 8 | PYTHONDONTWRITEBYTECODE=1 exec python3 "$tools_dir/install_wstunnel.py" "$@" 9 | -------------------------------------------------------------------------------- /tools/translations/ws_translate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | #------------------------------------------------------------------------------- 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | #------------------------------------------------------------------------------- 6 | tools_dir=$(dirname "$0") 7 | 8 | PYTHONDONTWRITEBYTECODE=1 exec python3 "$tools_dir/ws_translate.py" "$@" 9 | -------------------------------------------------------------------------------- /src/client/gui/svg/background/GRADIENT_BG_CONNECTING_VAN_GOGH.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/UPDATE_CHANNEL.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/systemtray/locationstraymenu.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include "types/locationid.h" 6 | 7 | class LocationsTrayMenu : public QMenu 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit LocationsTrayMenu(QAbstractItemModel *model, const QFont &font, const QRect &trayIconGeometry); 12 | signals: 13 | void locationSelected(const LocationID &lid); 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /src/client/engine/engine/locationsmodel/nodeselectionalgorithm.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "locationnode.h" 4 | 5 | namespace locationsmodel { 6 | 7 | class NodeSelectionAlgorithm 8 | { 9 | public: 10 | static int selectRandomNodeBasedOnWeight(const QVector< QSharedPointer > &nodes); 11 | 12 | private: 13 | static int getRandomEvent(QVector &p); 14 | }; 15 | 16 | } //namespace locationsmodel 17 | -------------------------------------------------------------------------------- /src/client/gui/loginattemptscontroller.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "loginwindow/loginwindowtypes.h" 5 | 6 | class LoginAttemptsController 7 | { 8 | public: 9 | LoginAttemptsController(); 10 | 11 | void pushIncorrectLogin(); 12 | void reset(); 13 | int attempts(); 14 | LoginWindow::ERROR_MESSAGE_TYPE currentMessage() const; 15 | 16 | private: 17 | int loginAttempts_; 18 | 19 | }; 20 | -------------------------------------------------------------------------------- /src/client/gui/svg/SHUTDOWN_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/macos/installer/files.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class Files 6 | { 7 | public: 8 | Files(const std::wstring &archivePath, const std::wstring &installPath); 9 | ~Files(); 10 | 11 | int executeStep(); 12 | std::string getLastError() { return lastError_; } 13 | 14 | private: 15 | std::wstring archivePath_; 16 | std::wstring installPath_; 17 | std::string lastError_; 18 | }; 19 | -------------------------------------------------------------------------------- /src/client/gui/locations/view/clickableandtooltiprects.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace gui_locations { 4 | 5 | enum class TooltipRect { 6 | kNone = -1, 7 | kP2P, 8 | kPingTime, 9 | kItemCaption, 10 | kItemNickname, 11 | kCountryCaption, 12 | kCustomConfigErrorMessage, 13 | }; 14 | 15 | enum class ClickableRect { 16 | kNone = -1, 17 | kFavorite, 18 | kErrorIcon 19 | }; 20 | 21 | } // namespace gui 22 | -------------------------------------------------------------------------------- /src/client/gui/mainwindowstate.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindowstate.h" 2 | 3 | bool MainWindowState::isActive() const 4 | { 5 | return isActive_; 6 | } 7 | 8 | void MainWindowState::setActive(bool isActive) 9 | { 10 | if (isActive_ != isActive) 11 | { 12 | isActive_ = isActive; 13 | emit isActiveChanged(isActive_); 14 | } 15 | } 16 | 17 | MainWindowState::MainWindowState() : isActive_(true) 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /libs/wsnet/src/api/bridgeapi/bridgeapi_utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../baserequest.h" 4 | #include "WSNetHttpNetworkManager.h" 5 | 6 | namespace wsnet { 7 | 8 | namespace serverapi_utils { 9 | std::shared_ptr createHttpRequest(WSNetHttpNetworkManager *httpNetworkManager, const std::string &domain, BaseRequest *request, bool bIgnoreSslErrors, bool isAPIExtraTLSPadding); 10 | } 11 | 12 | } // namespace wsnet 13 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/restorednsmanager_mac.mm: -------------------------------------------------------------------------------- 1 | #include "restorednsmanager_mac.h" 2 | #import 3 | #import 4 | #include "utils/log/categories.h" 5 | #include 6 | 7 | void RestoreDNSManager_mac::restoreState(Helper *helper) 8 | { 9 | qCDebug(LOG_BASIC) << "RestoreDNSManager::restoreState()"; 10 | helper->setDnsScriptEnabled(false); 11 | } 12 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/il.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/installer/windows/bootstrap/ossupport.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/installer/windows/installer/ossupport.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/c-ares/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "c-ares", 3 | "version-semver": "1.34.5", 4 | "description": "A C library for asynchronous DNS requests", 5 | "homepage": "https://github.com/c-ares/c-ares", 6 | "license": "MIT-CMU", 7 | "dependencies": [ 8 | { 9 | "name": "vcpkg-cmake", 10 | "host": true 11 | }, 12 | { 13 | "name": "vcpkg-cmake-config", 14 | "host": true 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/scapix/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "scapix", 3 | "version": "1.0.39", 4 | "port-version": 0, 5 | "description": "Scapix Language Bridge.", 6 | "homepage": "https://github.com/scapix-com/scapix", 7 | "dependencies": [ 8 | { 9 | "name": "vcpkg-cmake", 10 | "host": true 11 | }, 12 | { 13 | "name": "vcpkg-cmake-config", 14 | "host": true 15 | }, 16 | "scapix-bin" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/client/gui/svg/ip-utils/ROTATE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/systemtray/locationstraymenubutton.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class LocationsTrayMenuButton : public QPushButton 6 | { 7 | Q_OBJECT 8 | public: 9 | explicit LocationsTrayMenuButton(QWidget *parent = 0); 10 | 11 | enum {TYPE_UP, TYPE_DOWN}; 12 | void setType(int type); 13 | 14 | protected: 15 | virtual void paintEvent(QPaintEvent *pEvent); 16 | 17 | private: 18 | int type_; 19 | }; 20 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/translations/windscribe_uninstaller_zh-CN.rc: -------------------------------------------------------------------------------- 1 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 2 | 3 | STRINGTABLE 4 | BEGIN 5 | IDS_MSGBOX_TITLE "卸载 Windscribe" 6 | IDS_DIRECTORY_MISMATCH "卸载无法继续。安装目录与删除目录不匹配。" 7 | IDS_CONFIRM_UNINSTALL "是否确实要完全删除 Windscribe 及其所有组件?" 8 | IDS_UNINSTALL_SUCCESS "已成功从计算机中删除 Windscribe。" 9 | IDS_CLOSE_APP "请退出 Windscribe 应用程序以继续卸载。请注意,退出应用程序后,您的连接将不受保护。" 10 | END 11 | -------------------------------------------------------------------------------- /tools/vars/wintun.yml: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------------------------------------ 2 | # Windscribe Build System 3 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 4 | # ------------------------------------------------------------------------------ 5 | variables: 6 | VERSION_WINTUN: '0.14.1' 7 | ARTIFACT_WINTUN: 'wintun.zip' 8 | CHECKSUM_WINTUN: '07c256185d6ee3652e09fa55c0b673e2624b565e02c4b9091c79ca7d2f24ef51' 9 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ly.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/widgetutils/widgetutils_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "types/enums.h" 7 | 8 | namespace WidgetUtils_mac { 9 | 10 | QPixmap extractProgramIcon(const QString &filePath); 11 | void allowMinimizeForFramelessWindow(QWidget *window); 12 | void allowMoveBetweenSpacesForWindow(QWidget *window, bool docked, bool moveWindow); 13 | void setNeedsDisplayForWindow(QWidget *window); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/translations/windscribe_uninstaller_zh-TW.rc: -------------------------------------------------------------------------------- 1 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL 2 | 3 | STRINGTABLE 4 | BEGIN 5 | IDS_MSGBOX_TITLE "取消安裝 Windscribe" 6 | IDS_DIRECTORY_MISMATCH "解除安裝無法繼續。安裝目錄與移除目錄不相符。" 7 | IDS_CONFIRM_UNINSTALL "您確定要完全移除 Windscribe 及其所有元件?" 8 | IDS_UNINSTALL_SUCCESS "已成功從電腦中移除 Windscribe。" 9 | IDS_CLOSE_APP "請退出 Windscribe 應用程式以繼續解除安裝。請注意,退出應用程式後,您的連線將不受保護。" 10 | END 11 | -------------------------------------------------------------------------------- /src/client/gui/svg/BIG_CONFIG_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/lv_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/tr.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/blocks/files.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #include "../iinstall_block.h" 6 | 7 | class Files : public IInstallBlock 8 | { 9 | public: 10 | Files(double weight); 11 | virtual ~Files(); 12 | 13 | virtual int executeStep(); 14 | 15 | private: 16 | std::wstring installPath_; 17 | 18 | int moveFiles(); 19 | void logCustomFolderContents(const std::wstring &folder); 20 | }; 21 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/arguments_parser.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class ArgumentsParser 7 | { 8 | public: 9 | bool parse(); 10 | std::wstring getExecutablePath() const; 11 | bool getArg(const std::wstring &argName, std::wstring *outValue = nullptr); 12 | 13 | private: 14 | std::wstring executablePath_; 15 | std::vector< std::pair > args_; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /src/client/base/utils/authchecker_linux.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "iauthchecker.h" 5 | 6 | class AuthChecker_linux : public IAuthChecker 7 | { 8 | Q_OBJECT 9 | Q_INTERFACES(IAuthChecker) 10 | public: 11 | explicit AuthChecker_linux(QObject *parent = nullptr); 12 | ~AuthChecker_linux() override { delete process_; } 13 | AuthCheckerError authenticate() override; 14 | private: 15 | QProcess *process_; 16 | }; 17 | -------------------------------------------------------------------------------- /src/client/gui/graphicresources/fontdescr.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class FontDescr 6 | { 7 | public: 8 | FontDescr(int size, int weight, int stretch = 100, qreal letterSpacing = 0.0); 9 | 10 | int size() const; 11 | int weight() const; 12 | int stretch() const; 13 | qreal letterSpacing() const; 14 | 15 | private: 16 | int size_; 17 | int weight_; 18 | int stretch_; 19 | qreal letterSpacing_; 20 | }; 21 | -------------------------------------------------------------------------------- /src/client/gui/showingdialogstate.cpp: -------------------------------------------------------------------------------- 1 | #include "showingdialogstate.h" 2 | 3 | bool ShowingDialogState::isCurrentlyShowingExternalDialog() const 4 | { 5 | return currentlyShowingExternalDialog_; 6 | } 7 | 8 | void ShowingDialogState::setCurrentlyShowingExternalDialog(bool bShowing) 9 | { 10 | currentlyShowingExternalDialog_ = bShowing; 11 | } 12 | 13 | ShowingDialogState::ShowingDialogState() : currentlyShowingExternalDialog_(false) 14 | { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/AUTOSECURE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/scapix-bin/vcpkg.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "scapix-bin", 3 | "version": "2.0.16", 4 | "port-version": 0, 5 | "description": "Binary files used by Scapix Language Bridge project.", 6 | "homepage": "https://github.com/scapix-com/scapix-bin", 7 | "dependencies": [ 8 | { 9 | "name": "vcpkg-cmake", 10 | "host": true 11 | }, 12 | { 13 | "name": "vcpkg-cmake-config", 14 | "host": true 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/networkextensionlog_mac.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | // collect logs from system log from neagent process 8 | class NetworkExtensionLog_mac : public QObject 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit NetworkExtensionLog_mac(QObject *parent = nullptr); 13 | QMap collectLogs(const QDateTime &start); 14 | 15 | private: 16 | }; 17 | -------------------------------------------------------------------------------- /src/client/engine/utils/ras_service_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "engine/helper/helper.h" 3 | 4 | // manage SstpSvc and RasMan services (required for IKEv2) 5 | class RAS_Service_win 6 | { 7 | public: 8 | static RAS_Service_win &instance() 9 | { 10 | static RAS_Service_win s; 11 | return s; 12 | } 13 | 14 | bool restartRASServices(Helper *helper); 15 | bool isRASRunning(); 16 | 17 | private: 18 | RAS_Service_win(); 19 | }; 20 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/ERROR_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/helper/macos/files_manager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "installer/files.h" 5 | 6 | class FilesManager 7 | { 8 | public: 9 | static FilesManager& instance() 10 | { 11 | static FilesManager fm; 12 | return fm; 13 | } 14 | void setFiles(Files *files); 15 | Files *files(); 16 | 17 | private: 18 | FilesManager() : files_(nullptr) {}; 19 | ~FilesManager() {}; 20 | 21 | Files *files_; 22 | }; 23 | -------------------------------------------------------------------------------- /src/installer/common/svgresources.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | class SvgResources : public QObject 10 | { 11 | Q_OBJECT 12 | public: 13 | static SvgResources &instance() 14 | { 15 | static SvgResources res; 16 | return res; 17 | } 18 | 19 | QPixmap pixmap(const QString &path); 20 | QIcon icon(const QString &path); 21 | }; -------------------------------------------------------------------------------- /src/client/gui/svg/connection-badge/NO_INT.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/ADS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/ROBERT_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/engine/engine/connectionmanager/makeovpnfilefromcustom.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class MakeOVPNFileFromCustom 6 | { 7 | public: 8 | MakeOVPNFileFromCustom(); 9 | virtual ~MakeOVPNFileFromCustom(); 10 | 11 | bool generate(const QString &customConfigPath, const QString &ovpnData, const QString &ip, const QString &remoteCommand); 12 | QString config() const { return config_; } 13 | 14 | private: 15 | QString config_; 16 | }; 17 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/ng.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CNTXT_MENU_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/windows/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by WindscribeService.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /src/installer/windows/uninstaller/translations/windscribe_uninstaller_ko.rc: -------------------------------------------------------------------------------- 1 | LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL 2 | 3 | STRINGTABLE 4 | BEGIN 5 | IDS_MSGBOX_TITLE "Windscribe 제거" 6 | IDS_DIRECTORY_MISMATCH "제거를 진행할 수 없습니다. 설치 디렉토리가 제거 디렉토리와 일치하지 않습니다." 7 | IDS_CONFIRM_UNINSTALL "Windscribe 및 모든 구성 요소를 완전히 제거하시겠습니까?" 8 | IDS_UNINSTALL_SUCCESS "Windscribe이 컴퓨터에서 제거되었습니다." 9 | IDS_CLOSE_APP "제거를 계속하려면 Windscribe 앱을 종료하십시오. 애플리케이션이 종료되면 연결이 보호되지 않습니다." 10 | END 11 | -------------------------------------------------------------------------------- /tools/base/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # ------------------------------------------------------------------------------ 3 | # Windscribe Build System 4 | # Copyright (c) 2020-2024, Windscribe Limited. All rights reserved. 5 | # ------------------------------------------------------------------------------ 6 | import os 7 | 8 | import colorama 9 | 10 | # Initialize colorama module for Win32 ANSI color support. 11 | if os.getenv("TERM") is None: 12 | colorama.init() 13 | -------------------------------------------------------------------------------- /src/client/common/utils/executable_signature/executablesignature_linux.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "executablesignature_p.h" 4 | 5 | class ExecutableSignaturePrivate : public ExecutableSignaturePrivateBase 6 | { 7 | public: 8 | explicit ExecutableSignaturePrivate(ExecutableSignature* const q); 9 | ~ExecutableSignaturePrivate() override; 10 | 11 | bool verify(const std::string& exePath) override; 12 | bool verify(const std::wstring& exePath) override; 13 | }; 14 | -------------------------------------------------------------------------------- /src/client/gui/locations/view/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(gui PRIVATE 2 | cityitemdelegate.cpp 3 | cityitemdelegate.h 4 | clickableandtooltiprects.h 5 | countryitemdelegate.cpp 6 | countryitemdelegate.h 7 | cursorupdatehelper.cpp 8 | cursorupdatehelper.h 9 | expandableitemswidget.cpp 10 | expandableitemswidget.h 11 | iitemdelegate.h 12 | locationsview.cpp 13 | locationsview.h 14 | textpixmap.cpp 15 | textpixmap.h 16 | ) 17 | 18 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/cn.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/curl/0022-deduplicate-libs.patch: -------------------------------------------------------------------------------- 1 | diff --git a/CMakeLists.txt b/CMakeLists.txt 2 | index 0ceaf5b..ec714a5 100644 3 | --- a/CMakeLists.txt 4 | +++ b/CMakeLists.txt 5 | @@ -1682,6 +1682,7 @@ if(NOT CURL_DISABLE_INSTALL) 6 | else() 7 | set(ENABLE_SHARED "no") 8 | set(LIBCURL_NO_SHARED "${LIBCURL_LIBS}") 9 | + set(LIBCURL_LIBS "") 10 | set(CPPFLAG_CURL_STATICLIB "-DCURL_STATICLIB") 11 | endif() 12 | if(BUILD_STATIC_LIBS) 13 | -------------------------------------------------------------------------------- /src/client/engine/engine/vpnshare/socksproxyserver/socksproxyreadexactly.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace SocksProxyServer { 6 | 7 | class SocksProxyReadExactly 8 | { 9 | public: 10 | explicit SocksProxyReadExactly(unsigned int length); 11 | 12 | bool read(QByteArray &arr); 13 | QByteArray &getArr() { return arr_; } 14 | 15 | private: 16 | unsigned int length_; 17 | QByteArray arr_; 18 | }; 19 | 20 | } // namespace SocksProxyServer 21 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/LOCATION_ORDER.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/common/spinner.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class Spinner : public QWidget 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit Spinner(QWidget *parent); 11 | 12 | void start(); 13 | 14 | protected: 15 | void paintEvent(QPaintEvent *event) override; 16 | 17 | private slots: 18 | void onAnimValueChanged(const QVariant &value); 19 | 20 | private: 21 | int angle_; 22 | bool isStarted_; 23 | }; 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/installer/linux/cli/debian_package/DEBIAN/prerm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | systemctl stop windscribe-helper || true 5 | systemctl disable windscribe-helper || true 6 | /opt/windscribe/helper --reset-mac-addresses 7 | 8 | if [ $1 != "upgrade" ]; then 9 | killall -q Windscribe || true 10 | deluser windscribe || true 11 | delgroup windscribe || true 12 | 13 | rm -rf /var/log/windscribe 14 | rm -rf /etc/windscribe 15 | rm -f /usr/bin/windscribe-cli 16 | fi 17 | -------------------------------------------------------------------------------- /src/installer/linux/gui/debian_package/DEBIAN/prerm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | systemctl stop windscribe-helper || true 5 | systemctl disable windscribe-helper || true 6 | /opt/windscribe/helper --reset-mac-addresses 7 | 8 | if [ $1 != "upgrade" ]; then 9 | killall -q Windscribe || true 10 | deluser windscribe || true 11 | delgroup windscribe || true 12 | 13 | rm -rf /var/log/windscribe 14 | rm -rf /etc/windscribe 15 | rm -f /usr/bin/windscribe-cli 16 | fi 17 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/curl/0005_remove_imp_suffix.patch: -------------------------------------------------------------------------------- 1 | diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt 2 | index b838245..3199160 100644 3 | --- a/lib/CMakeLists.txt 4 | +++ b/lib/CMakeLists.txt 5 | @@ -92,7 +92,6 @@ endif() 6 | if(WIN32 AND 7 | NOT IMPORT_LIB_SUFFIX AND 8 | CMAKE_STATIC_LIBRARY_SUFFIX STREQUAL CMAKE_IMPORT_LIBRARY_SUFFIX) 9 | - set(IMPORT_LIB_SUFFIX "_imp") 10 | endif() 11 | 12 | # Whether to do a single compilation pass for libcurl sources and reuse these 13 | -------------------------------------------------------------------------------- /tools/vcpkg/ports/scapix/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.19) 2 | 3 | project(scapix LANGUAGES C CXX) 4 | 5 | include(CMakePackageConfigHelpers) 6 | configure_package_config_file( 7 | "${CMAKE_CURRENT_SOURCE_DIR}/scapix-config.cmake.in" 8 | "${CMAKE_CURRENT_BINARY_DIR}/scapix-config.cmake" 9 | INSTALL_DESTINATION "share/scapix" 10 | ) 11 | install( 12 | FILES "${CMAKE_CURRENT_BINARY_DIR}/scapix-config.cmake" 13 | DESTINATION "share/scapix" 14 | ) 15 | -------------------------------------------------------------------------------- /src/client/base/locations/model/proxymodels/staticips_proxymodel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace gui_locations { 6 | 7 | class StaticIpsProxyModel : public QSortFilterProxyModel 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit StaticIpsProxyModel(QObject *parent = nullptr); 12 | 13 | protected: 14 | bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override; 15 | }; 16 | 17 | } //namespace gui_locations 18 | 19 | -------------------------------------------------------------------------------- /src/client/base/utils/iauthchecker.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | enum class AuthCheckerError { AUTH_NO_ERROR, AUTH_HELPER_ERROR, AUTH_AUTHENTICATION_ERROR }; 6 | 7 | class IAuthChecker : public QObject 8 | { 9 | Q_OBJECT 10 | public: 11 | explicit IAuthChecker(QObject *parent = nullptr) : QObject(parent) {} 12 | virtual ~IAuthChecker() {} 13 | virtual AuthCheckerError authenticate() = 0; 14 | }; 15 | 16 | Q_DECLARE_INTERFACE(IAuthChecker, "IAuthChecker") 17 | -------------------------------------------------------------------------------- /src/client/engine/engine/networkdetectionmanager/pathmonitor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #import 5 | 6 | class PathMonitor : public QObject 7 | { 8 | Q_OBJECT 9 | public: 10 | 11 | PathMonitor(); 12 | ~PathMonitor(); 13 | 14 | bool isOnline() const { return curIsOnline_; } 15 | 16 | signals: 17 | void connectivityStateChanged(bool isOnline); 18 | 19 | private: 20 | nw_path_monitor_t monitor_; 21 | bool curIsOnline_; 22 | }; 23 | -------------------------------------------------------------------------------- /src/client/gui/svg/connection-badge/ON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/flags/id_circle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/APP_BACKGROUND.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/CONNECTION_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/VIEW_LOG.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/helper/windows/firewallonboot.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class FirewallOnBootManager 6 | { 7 | public: 8 | static FirewallOnBootManager& instance() 9 | { 10 | static FirewallOnBootManager fobm; 11 | return fobm; 12 | } 13 | 14 | bool setEnabled(bool enabled); 15 | bool isEnabled(); 16 | 17 | private: 18 | FirewallOnBootManager(); 19 | ~FirewallOnBootManager(); 20 | 21 | bool enable(); 22 | bool disable(); 23 | }; 24 | -------------------------------------------------------------------------------- /src/client/common/ipc/server.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "connection.h" 5 | 6 | namespace IPC 7 | { 8 | 9 | class Server : public QObject 10 | { 11 | Q_OBJECT 12 | public: 13 | Server(); 14 | ~Server(); 15 | 16 | bool start(); 17 | 18 | signals: 19 | void newConnection(IPC::Connection *connection); 20 | 21 | private slots: 22 | void onNewConnection(); 23 | 24 | private: 25 | QLocalServer server_; 26 | }; 27 | 28 | } // namespace IPC 29 | -------------------------------------------------------------------------------- /src/client/common/utils/executable_signature/executable_signature_defs.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // This should match the 'Name of signer' that appears in the Digital Signatures page of the 4 | // signed executable's file properties dialog. 5 | #define WINDOWS_CERT_SUBJECT_NAME L"Windscribe Limited" 6 | 7 | // This should match the 'Name' displayed for your Developer ID Application certificate in Keychain Access. 8 | #define MACOS_CERT_DEVELOPER_ID "Developer ID Application: Windscribe Limited (GYZJYS7XUG)" 9 | -------------------------------------------------------------------------------- /src/client/gui/svg/connection-badge/OFF.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/TRAY_ICON_COLOR.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/installer/windows/installer/installer/installer_utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace InstallerUtils 7 | { 8 | 9 | DWORD getOSBuildNumber(); 10 | std::wstring getExecutableVersion(const std::wstring &path); 11 | bool installedAppVersionLessThan(const std::wstring &version); 12 | bool installedAppVersion2_3orLess(); 13 | std::wstring selectInstallFolder(HWND owner, const std::wstring &title, const std::wstring &initialFolder); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/client/base/multipleaccountdetection/secretvalue_win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include "Utils/simplecrypt.h" 7 | 8 | // used in MultipleAccountDetection_win for store login value 9 | class SecretValue_win 10 | { 11 | public: 12 | SecretValue_win(); 13 | 14 | void setValue(const QString &value); 15 | bool isExistValue(QString &value); 16 | void removeValue(); 17 | 18 | private: 19 | SimpleCrypt crypt_; 20 | }; 21 | -------------------------------------------------------------------------------- /src/client/gui/svg/locations/CITY_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/INFO_ICON.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/client/gui/svg/preferences/SOCIAL_NETWORKS.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/helper/macos/helper-launchd.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Label 6 | com.windscribe.helper.macos 7 | KeepAlive 8 | 9 | MachServices 10 | 11 | com.windscribe.helper.macos 12 | 13 | 14 | 15 | 16 | --------------------------------------------------------------------------------