Skip to content

Commit c60ba6e

Browse files
authored
Update bashscript.bat
1 parent 177552a commit c60ba6e

File tree

1 file changed

+49
-20
lines changed

1 file changed

+49
-20
lines changed

bashscript.bat

Lines changed: 49 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@echo off
22
cls
33
@echo.
4-
@echo.
54
@echo::::::::::::::::::::::::::::::::::::::::::::
65
color 2
76
@echo:: [*] 1. Verificar discos
@@ -12,11 +11,12 @@ timeout 1 > null
1211
@echo:: [*] 3. Systeminfo
1312
color 7
1413
timeout 1 >null
15-
@echo:: [*] 4. Sair do terminal
14+
@echo:: [*] 4. Windows Update
15+
@echo:: [*] 5. Sair do terminal
1616
@echo::::::::::::::::::::::::::::::::::::::::::::
1717
@echo:: [!] Github:github.com/suchsoak
18-
@echo:: [!] V.1.0.1
19-
@echo:: [!] BY: ~#M?x
18+
@echo:: [!] V.1.0.2
19+
@echo:: [!] BY: suchsoak
2020
@echo::::::::::::::::::::::::::::::::::::::::::::
2121
@echo.
2222
set /p escolha= escolha uma opcao:
@@ -37,6 +37,18 @@ cls
3737
timeout 4 >null
3838
@echo.
3939
@echo [!] informacoes de disco:
40+
echo "|oooooooooooooooooooooooooooooo|"
41+
echo "|oooooooooooooooo++:++ooooooooo|"
42+
echo "|oooooooooooo++:.~~::::+++ooooo|"
43+
echo "|oooooooooo++:++.....~:~~:~~+oo|"
44+
echo "|ooooooo++:++++oo:~~.~::~. :oo|"
45+
echo "|ooo::+:~:++++oo+++:::~. .:ooo|"
46+
echo "|oo+ ~:++ooo++:~:~. .~+oooo|"
47+
echo "|ooo+:. .~:+:~::~. :+oooooo|"
48+
echo "|oooo+++~. .~~~. :+oooooooo|"
49+
echo "|ooooooo++:~. . .:+oooooooooo|"
50+
echo "|ooooooooo+o+:..~:ooooooooooooo|"
51+
echo "|ooooooooooo+oo+ooooooooooooooo|"
4052
@echo.
4153
wmic diskdrive list brief
4254
@echo.
@@ -83,16 +95,16 @@ cls
8395
@echo -------------------------
8496
@echo [*] chkdsk
8597
@echo -------------------------
86-
timeout 2 >null
98+
timeout 3 >null
8799
chkdsk
88100
cls
89101
@echo.
90102
@echo -------------------------
91103
@echo [*] Apagando Arquivos Temporarios
92104
@echo -------------------------
93-
timeout 2 >null
94105
cd %temp%
95106
del *
107+
timeout 3 >null
96108
cls
97109
@echo.
98110
@echo -------------------------
@@ -105,7 +117,7 @@ wmic diskdrive get mediatype | findstr /c:"Fix hard disk media" > null
105117
if %errorlevel% == 0 (
106118
@echo [*] Recomendo desfragmentar o HD
107119
) else (
108-
@echo [*] SSD nao recomendo desfragmentar
120+
@echo [*] SSD nao e recomendo desfragmentar
109121
)
110122

111123
timeout 3 >null
@@ -183,16 +195,16 @@ color 1
183195
@echo.
184196
@echo Regras De Firewall
185197
@echo.
186-
timeout 2 > null
198+
timeout 1 > null
187199
netsh advfirewall firewall add rule name="Block 22" dir=in action=block protocol=TCP localport=22
188200
@echo.
189-
timeout 2 >null
201+
timeout 1 >null
190202
netsh advfirewall firewall add rule name="Block 23" dir=in action=block protocol=TCP localport=23
191203
@echo.
192-
timeout 2 >null
193-
@echo
204+
timeout 1 >null
205+
@echo.
194206
netsh advfirewall firewall add rule name="Block 80" dir=in action=block protocol=TCP localport=80
195-
timeout 2 >null
207+
timeout 3 >null
196208
@echo [!] Informacoes De Rede:
197209
color 7
198210
@echo.
@@ -213,18 +225,19 @@ timeout 3 >null
213225
@echo::::::::::::::::::::::::::::::::::::::::::::
214226
@echo:: [*] Configurando ipconfig...
215227
@echo::::::::::::::::::::::::::::::::::::::::::::
216-
timeout /t 4 >null
228+
timeout /t 2 >null
217229
ipconfig /renew
230+
timeout /t 2 >null
218231
cls
219232
@echo::::::::::::::::::::::::::::::::::::::::::::
220233
@echo:: [!] Configuracao de ip concluida.
221234
@echo::::::::::::::::::::::::::::::::::::::::::::
222-
timeout /t 3 > null
235+
timeout /t 2 > null
223236
@echo.
224237
@echo::::::::::::::::::::::::::::::::::::::::::::
225238
@echo:: [!] Configurando Netsh...
226239
@echo::::::::::::::::::::::::::::::::::::::::::::
227-
timeout /t 6 >null
240+
timeout /t 1 >null
228241
@echo.
229242

230243
netsh winsock reset all
@@ -238,7 +251,7 @@ netsh int tcp reset all
238251
netsh int teredo reset all
239252
netsh int ip reset
240253
netsh interface reset all
241-
254+
timeout /t 3 >null
242255
cls
243256

244257
@echo.
@@ -252,7 +265,7 @@ exit
252265
:escolhaN
253266
cls
254267
color 4
255-
timeout 4 >null
268+
timeout 2 >null
256269
@echo [!] Informacoes De Rede:
257270
color 7
258271
@echo.
@@ -273,7 +286,7 @@ timeout 3 >null
273286
@echo::::::::::::::::::::::::::::::::::::::::::::
274287
@echo:: [*] Configurando ipconfig...
275288
@echo::::::::::::::::::::::::::::::::::::::::::::
276-
timeout /t 4 >null
289+
timeout /t 2 >null
277290
ipconfig /renew
278291
cls
279292
@echo::::::::::::::::::::::::::::::::::::::::::::
@@ -284,7 +297,7 @@ timeout /t 3 > null
284297
@echo::::::::::::::::::::::::::::::::::::::::::::
285298
@echo:: [!] Configurando Netsh...
286299
@echo::::::::::::::::::::::::::::::::::::::::::::
287-
timeout /t 6 >null
300+
timeout /t 2 >null
288301
@echo.
289302

290303
netsh winsock reset all
@@ -298,7 +311,7 @@ netsh int tcp reset all
298311
netsh int teredo reset all
299312
netsh int ip reset
300313
netsh interface reset all
301-
314+
timeout /t 3 >null
302315
cls
303316

304317
@echo.
@@ -529,4 +542,20 @@ if "%input%"==""(
529542
exit
530543
)
531544
:escolha4
545+
546+
net start bits
547+
net start wuauserv
548+
net start cryptSvc
549+
net start msiserver
550+
551+
SC config wuauserv start= auto
552+
553+
SC config bits start= auto
554+
555+
SC config cryptsvc start= auto
556+
SC config trustedinstaller start= auto
557+
558+
@echo Verifique nas configuracoes se o windows esta atualizando.
559+
560+
:escolha5
532561
exit

0 commit comments

Comments
 (0)