Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Chocolatey installer + wireshark and glass wire

Here's the source code
=================================================
pastebin.com/VtT5DA6C
=================================================
hope this was helpfull :)
btw the reason i post pastebin on this one is it needs an link to install chocolatey and i cant do that for some reason but yeah again hope it was helpfull
Did you make this? What does it do exactly?
https://chocolatey.org/
https://chocolatey.org/install.ps1

https://www.glasswire.com/

https://chocolatey.org/packages/wireshark/1.8.1


So yeah. Just installs the basics.


(Apr 30, 2017 02:51 PM)JoshuTee Wrote:  Did you make this? What does it do exactly?

Code
@echo off
color 0b
Mode con cols=75 lines=8
cls
title choco install
echo installing choco stuff...
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install wireshark
choco install glasswire
cls
echo all done!
pause>nul
exit

Lets break it down

Code
@echo off
color 0b
Mode con cols=75 lines=8
cls
title choco install
echo installing choco stuff...

Hides unimportant stuff like in CMD you would normally see C:\windows\system>
Sets color of CMD to 0b (cyan writing on black background)
Changes CMD size
Clears screen
Changes the title of the CMD window to "Choco install"
Writes "Installing choco stuff..." in the window


Code
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install wireshark
choco install glasswire
cls
echo all done!
pause>nul
exit

Runs a powershell command to download https://chocolatey.org/install.ps1
Which saves to your user profile in a folder called chocolatey\bin

Runs choco install - which installs wireshark, https://www.wireshark.org/ and then glasswire https://www.glasswire.com/.

Cls - clears screen

Echo - says "all done!" in your window

pause>nul - waits for user input, when you press something it will continue and then run exit to exit the cmd window
Thanks, very detailed explanation.

I'm going to take a closer look once I get home. Good job mate!
Yeah i just wanted to make it easier to download that stuff but thank you for explaining what it does for me 😁


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by SIM-5110848Jan 26, 2022 10:17 AM 2 343 Jan 26, 2022 10:17 AM
Last Post: mose3c
[C#] by SIM-4704770Aug 6, 2021 05:49 AM 12 862 Aug 6, 2021 05:49 AM
Last Post: RedirectMe
[C] by lans.007Jul 15, 2021 11:02 PM 2 202 Jul 15, 2021 11:02 PM
Last Post: Sajuuk