Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fir4tozden committed Nov 14, 2024
1 parent 62ba783 commit 48bece0
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 28 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ GoodbyeDPI is a lightweight tool designed to bypass DPI (Deep Packet Inspection)

## Setup

First of all, put this script in a place where you will not change its location in the future. Because the script will be run on every startup. If you change the file location, you can run `setup.vbs` again.
First of all, put this script in a place where you will not change its location in the future. Because the script will be run on every startup. If you change the file location, you can run `setup.bat` again.

Then run `setup.vbs`. That's it! This script will add GoodbyeDPI as a startup application so you don't have to run it every time. It will also run invisibly in the background.
Then run `setup.bat`. That's it! This script will add GoodbyeDPI as a startup application so you don't have to run it every time. It will also run invisibly in the background.
3 changes: 3 additions & 0 deletions lib/_.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
echo off
cls
cscript //nologo "%~dp0/_.vbs"
25 changes: 25 additions & 0 deletions lib/_.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Set WshShell = CreateObject("WScript.Shell")

Set objEnv = WshShell.Environment("PROCESS")
If InStr(objEnv("PROCESSOR_ARCHITECTURE"), "AMD64") > 0 Then
arch = "x86_64"
Else
arch = "x86"
End If
If objEnv("PROCESSOR_ARCHITEW6432") <> "" Then
arch = "x86_64"
End If

Set objFSO = CreateObject("Scripting.FileSystemObject")
strExePath = objFSO.GetParentFolderName(WScript.ScriptFullName) & "\" & arch & "\GoodbyeDPI.exe"
strParams = "-5 --dns-addr 77.88.8.8 --dns-port 1253 --dnsv6-addr 2a02:6b8::feed:0ff --dnsv6-port 1253"

WshShell.Run Chr(34) & strExePath & Chr(34) & strParams, 0, False

Set oShortcut = WshShell.CreateShortcut(WshShell.SpecialFolders("Startup") & "\GoodbyeDPI.lnk")
oShortcut.TargetPath = objFSO.GetParentFolderName(WScript.ScriptFullName) & "\" & "\_.bat"
oShortcut.Arguments = strParams
oShortcut.WindowStyle = 7
oShortcut.Save

Set WshShell = Nothing
1 change: 1 addition & 0 deletions lib/__.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MsgBox "GoodbyeDPI has successfully started running in the background. It will also now run automatically on every startup so you don't have to run it every time." & vbCrLf & vbCrLf & "You can now bypass all access barriers on the Internet. Long live freedom!", vbInformation, "GoodbyeDPI"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions setup.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
echo off
cls
cscript //nologo "%~dp0/lib/_.vbs"
cscript //nologo "%~dp0/lib/__.vbs"
26 changes: 0 additions & 26 deletions setup.vbs

This file was deleted.

0 comments on commit 48bece0

Please sign in to comment.