Skip to content

Commit

Permalink
Network Checker + README
Browse files Browse the repository at this point in the history
  • Loading branch information
Teramanbr committed Apr 18, 2022
1 parent 4603100 commit c919a5e
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ Even though all my regedit tweaks are harmless, i do not want any chance of dama

## ⚠️ Microsoft SmartScreen

Running downloaded Batch files triggers a Microsoft SmartScreen prompt, even if the Batch file is not a security threat.
To proof even more that my program is not a virus, here is the [VirusTotal](https://www.virustotal.com/gui/file/94a84cf4cea2ed8d8a39a6d568379f63729a00a2a1119427c848cd68cdcbe601?nocache=1) report:
Running downloaded Batch files triggers a [Microsoft SmartScreen](https://docs.microsoft.com/pt-br/windows/security/threat-protection/microsoft-defender-smartscreen/microsoft-defender-smartscreen-overview) prompt, even if the Batch file is not a security threat.
To proof even more that my program is not a virus, [here](https://www.virustotal.com/gui/file/94a84cf4cea2ed8d8a39a6d568379f63729a00a2a1119427c848cd68cdcbe601?nocache=1) is the VirusTotal report:
![](https://github.com/Teramanbr/TerabyteTweaker/blob/main/images/VirusTotal.png?raw=true)

## 🔨 Installation

**Warning: For the app to run correctly, you need to have a connection to internet.**
**Warning: For the app to run, you NEED to have a connection to internet.**
- Download the [Application](https://github.com/Teramanbr/TerabyteTweaker/releases/download/v1.1.0/Terabyte.Tweaker.bat).
- Run it in Administrator mode.
- Type: Y or Yes and press enter to install the application.
Expand All @@ -50,4 +50,4 @@ To proof even more that my program is not a virus, here is the [VirusTotal](http
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/Teramanbr/TerabyteTweaker/issues).
To contact me directly, send me a message on my discord: Teraman_br#5060
I plan to remake this app in another programming language, but im still studying rust, so it will take a while.
I tested this app **FULLY** on my computers, and i hadn't use any VMs a single time, so i can say that this app is 100% safe to use.
I tested this app **piece by piece** on my computers and didn't need to use VMs, beacuse none of the features are able to damage your system.
95 changes: 87 additions & 8 deletions src/Terabyte Tweaker.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,69 @@
::This code was made by a 14 year old brazilian, which did all of this alone, so if the code is actual garbage,
::i apologise, for i am just a child who likes computers and has poor programming skills.

chcp 437 >nul 2>&1
color 6
FOR /F "tokens=3 delims= " %%G in ('powershell.exe GET-WinSystemLocale') DO (
IF [%%G] EQU [1046] (
goto br
ping -n 1 -w 700 google.com >nul 2>&1
IF %ERRORLEVEL% EQU 0 (
chcp 437 >nul 2>&1
color 6
FOR /F "tokens=3 delims= " %%G in ('powershell.exe GET-WinSystemLocale') DO (
IF [%%G] EQU [1046] (
goto br
) ELSE (
goto en
)
)
) ELSE (
goto en
)
chcp 437 >nul 2>&1
color 4
FOR /F "tokens=3 delims= " %%G in ('powershell.exe GET-WinSystemLocale') DO (
IF [%%G] EQU [1046] (
goto SemNet
) ELSE (
goto NoNet
)
)
)

:SemNet
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo Você aparenta estar sem internet, tente novamente mais tarde.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
pause & exit

:br

chcp 65001 >nul 2>&1
net session >nul 2>&1
if %errorLevel% == 0 (
cls
) else (
color 4
echo.
echo.
echo.
Expand All @@ -35,7 +81,7 @@ echo.
echo.
echo.
echo.
echo acho que alguém esqueceu de abrir o app como Administrador ein...
echo acho que ALGUÉM esqueceu de abrir o app como Administrador...
echo.
echo.
echo.
Expand Down Expand Up @@ -95,13 +141,46 @@ IF /I "%choice%"=="nao" Goto quit
IF /I "%choice%"=="Não" Goto quit
IF /I "%choice%"=="Nao" Goto quit

:NoNet
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo Você aparenta estar sem internet, tente novamente mais tarde.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
pause & exit

:en

chcp 65001 >nul 2>&1
net session >nul 2>&1
if %errorLevel% == 0 (
cls
) else (
color 4
echo.
echo.
echo.
Expand Down

0 comments on commit c919a5e

Please sign in to comment.