Skip to content

Commit bea2719

Browse files
authored
Update README.md
1 parent 43ee54c commit bea2719

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

README.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Via Sistema Operacional Gráfico:
122122
```
123123

124124
# Codigos utilizados:
125+
125126
> Shell de Rede (netsh)
126127
127128
<ul>
@@ -135,10 +136,7 @@ Via Sistema Operacional Gráfico:
135136
<li>netsh int tcp reset all</li>
136137
<li>netsh int teredo reset all</li>
137138
<li>ipconfig /renew</li>
138-
<li>nnetsh advfirewall firewall add rule name="Block 22" dir=in action=block protocol=TCP localport=22</li>
139-
<li>netsh advfirewall firewall add rule name="Block 23" dir=in action=block protocol=TCP localport=23</li>
140-
<li>netsh advfirewall firewall add rule name="Block 80" dir=in action=block protocol=TCP localport=80</li>
141-
139+
<li>netsh advfirewall firewall add rule name="Block %porta%" dir=in action=block protocol=TCP localport=%porta% </li>
142140
</ul>
143141

144142
# Mais informações sobre os comandos utilizados:
@@ -147,7 +145,7 @@ Via Sistema Operacional Gráfico:
147145
| ------ | ------ |
148146
| shell de rede| [https://learn.microsoft.com/pt-br/windows/win32/wmisdk/wmic](https://learn.microsoft.com/pt-br/windows-server/networking/technologies/netsh/netsh)
149147
| Netsh | [https://learn.microsoft.com/pt-br/windows-server/networking/technologies/netsh/netsh](https://learn.microsoft.com/pt-br/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc754516(v=ws.10))
150-
| Ipconfig| [https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/ipconfig](https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/ipconfig)
148+
| Ipconfig | [https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/ipconfig](https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/ipconfig)
151149

152150
</details>
153151

@@ -170,7 +168,7 @@ Execute ele de preferencia como administrador.
170168
> Já com o Informações.bat instalado, execute no terminal se preferir:
171169
172170
```sh
173-
start Informações.bat
171+
start Informacoes.bat
174172
```
175173

176174
# Sobre o script
@@ -180,7 +178,6 @@ O script irar retornar informações sobre:
180178
processador
181179

182180
```sh
183-
184181
@echo [!] Informacoes Do Processador:
185182
color 5
186183
timeout /t 6 > null
@@ -199,7 +196,6 @@ wmic CPU get name
199196
Disco
200197

201198
```sh
202-
203199
@echo [!] Informacoes do disco:
204200
color 6
205201
timeout /t 5 > null
@@ -215,12 +211,20 @@ wmic path win32_VideoController get name
215211
wmic path win32_VideoController get name, adapterram, driverversion
216212
@echo.
217213
@echo --------------------
214+
```
215+
Memoria Ram
216+
217+
```sh
218+
@echo [!] Informacoes da Memoria Ram:
219+
@echo.
220+
wmic memorychip get Manufacturer,Capacity,PartNumber,Speed,DeviceLocator
221+
echo.
222+
@echo --------------------
218223

219224
```
220225
Informações De Rede
221226

222227
```sh
223-
224228
@echo [!] Informacoes De Rede:
225229
@echo.
226230
timeout /t 6 > null
@@ -232,10 +236,8 @@ netsh wlan show interfaces | findstr "Sinal"
232236
netsh wlan show interfaces | findstr "Canal"
233237
netsh wlan show interfaces | findstr "Descrição"
234238
netsh wlan show interfaces | findstr "BSSID"
235-
color 7
236-
@echo.
237-
@echo --------------------
238-
239+
netsh wlan show interfaces | findstr "Criptografia"
240+
netsh wlan show interfaces | findstr "Faixa"
239241
```
240242

241243
Para obter informações do ip e relacionado a endereço, foi utilizado o curl junto como o ipinfo.io
@@ -316,25 +318,27 @@ Abra o arquivo.bat como adiminstrador.
316318
<li>dism /online /cleanup-image /restorehealth</li>
317319
<li>dism /Online /Cleanup-Image /CheckHealth</li>
318320
<li>chkdsk</li>
319-
<li>wmic</li>
320-
<li>del *</li>
321+
<li>wmic</li>
322+
<li>cd %temp%</li>
323+
<li>del /F /Q *</li>
321324
</ul>
322325

323326
## Documentação Dos Codigos Utilizados:
324327

325328
| Libraries | Links |
326329
| ------ | ------ |
327330
| verificador | https://support.microsoft.com/pt-br/topic/use-a-ferramenta-verificador-de-arquivos-do-sistema-para-reparar-arquivos-de-sistema-ausentes-ou-corrompidos-79aa86cb-ca52-166a-92a3-966e85d4094e
328-
| chkdsk | https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/chkdsk?tabs=event-viewer
331+
| chkdsk | https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/chkdsk?tabs=event-viewer
329332
| Repair | https://learn.microsoft.com/pt-br/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-11
333+
| del /F /Q * | https://answers.microsoft.com/pt-br/windows/forum/all/como-forçar-o-delete-de-uma-pasta-no-windows/86d37617-6ec9-4c0f-b219-0d299a6e3d42
330334
| wmic | https://learn.microsoft.com/pt-br/windows-server/administration/windows-commands/wmic
331335

332336

333337
</details>
334338

335339
License & Copyright
336340
-----------------------
337-
MIT License Copyright (c) 2023 ~#M?x
341+
`MIT License Copyright (c) 2023 ~#M?x`
338342

339343
![LOVE](http://ForTheBadge.com/images/badges/built-with-love.svg)
340344

0 commit comments

Comments
 (0)