DISCLAIMERS: This project is student made with inspiration from other projects such as the scripts made by Ethan Fowler from TEAM BYTE.
This script also uses Microsoft Sysinternals suite which is owned and created by Microsoft.I do not take any credit in the creation of that program.(I don’t want to get sued)
FYI: This will be mostly used for a backup location for my scripts and will not always have the most up to date versions.
|Before using any of these scripts for the CyberPatriot Challenges, please make sure that you complete as many of the Forensic Questions as possible!If not, then you risk the chance that the script will remove or change something that the Forensics Question requires later.|
Set-ExecutionPolicy Unrestricted (For Powershell Scripts only)
Current Scripts and GUI’s Available
I currently have two Command Line scripts:
These two scripts currently have around 10-20 commands each.They do most of the basic commands that you would use in competition, but, they are not good enough that they could get you a ton of points by just using them alone.
|The Command Line Script are on hold for now as currently I am spending all of my efforts on the GUI’s.This is mostly due to it being A.) more fun for me and B.) because due to the fact that the GUI’s are cross platform, I no longer need to manage 2-3 different scripts for different OS’s and use more than one coding/scripting language.(It becomes very hard to remember how to do things in both Bash and Powershell the bigger your script gets :S )|
I currently have available three GUI’s.Of the three, only two are very developed.The following list are the available GUI’s to choose from:
Built on the TKinter framework so it looks like it was made in the 90’s
This GUI is built on the PyQt frame work.This is the newest best version of all of the GUI’s and Scripts Combined.It is the most modern looking and has the most commands, platform support, and Ease of Use.
How to compile GUI
Make sure you have the correct version of Pyinstaller:
pip install auto-py-to-exe to install the compiler.
For executables that work on Windows: Run auto-py-to-exe on a windows
For executables that work with Linux: Run auto-py-to-exe on a Linux/Unix machine.
1.) Move all files that are to be converted into a .exe onto the desktop.
2.) open powershell/terminal as admin and type
Script Location in the newly opened window, put in the location of the .py file
that launches the GUI
4.) Under Additional Files, add all folders and files that are to be used in the script
5.) Under Advanced, change Output Directory to the desktop to easily locate the newly created .exe file
Convert .PY TO .EXE
7.) your newly created .exe file should now have been created and added to the desktop
Usage Instructions For CLI Powershell Scripts:
1.) Run Powershell as Admin
2.) Navigate to location of script file through powershell ex:
3.) In Powershell type the following:
Do this to allow the execution of
4.) Once at the location where the script is located type the following:
That is it! Good Luck!
Some of the commands might require for you to execute them twice if they did not show a list when they should have. I am currently working on fixing this problem.
Usage Instructions For Linux CLI Scripts
1.) Navigate to directory where script is located in terminal
2.) Type the following:
sudo bash ./linux_Script.sh
3.) The script is now running and you are now free to choose the commands to execute
First Number: Generation (General Information → 0, Cli → 1, Tkinter
→ 2, PyQt5 →3, Electron → 4)
This number is to be used to identify which generation of script has been changed. For example, if I were to change something in the CLI version it would uploaded as version 1.x.x.x, but if I were to change something in the Electron version, I would upload as version 4.x.x.x
Second Number: used for noting number of os’s completely supported in the generation
Third Number: Number of completed commands regardless of OS type or section of program (mainly used in the GUI versions).
Fourth Number: used for patches, minor updates, and updates that are working towards
a new feature.
This is also updated when code has been edited to become more efficient or after finding a typo and making a quick edit. Also changes if a file was forgotten when pushing to the repository.
|When ever a version number has been updated, all of the numbers to the right of the changed number is set to zero.|