- First you want to create a partition with descent amount of available disk.
Start computer management on the computer that you are going to dual boot. Find your primary partition, right click it and shrink it by roughly 40000 mb. This will create around 40 gb of free unallocated space to use. - Download Rufus and download the latest Kali Linux ISO for bare metal installations. Bare metal simply means that it gets installed directly on the computer, not a virtual machine or a USB.
- Now run Rufus and flash the Kali Linux ISO to the USB-drive. I used the option "DD image" that pops up. Leave the USB-drive plugged in.
- Boot into UEFI of your computer and turn fast boot and secure boot off, then boot from the USB. Run the graphical installer and when it comes to partition, make a main partition with about 35 gb and then a swap partition with the rest (about 5 gb). Once you're near the end of the installation, it will ask you to unplug. Do so and continue to boot.
- You will notice that you now get the option of choosing what to boot into when starting or restarting the computer. In my case it auto boots to Kali if I just leave it for a few seconds, but using the arrow keys and enter key I can choose between my Windows 11 and Kali Linux.
- On your Kali installation you might want to open the terminal (ctrl + alt + T) and enter the following command in order to update and upgrade the OS/programs.
sudo apt-get update && apt-get upgrade - Don't forget to customize your installation further, such as rearranging the task bar, installing keyboard layouts and choosing a nice background.
Search This Blog
Sunday, June 25, 2023
Dual Boot: Windows 11 and Kali Linux
Tuesday, June 6, 2023
PowerShell: Creating Forms
To create a simple GUI you can use Windows Forms, I've previously written a post on how I created a simple game using PowerShell and Windows Forms.
In this post I will rather talk a bit about the different components available, in the form of a reference guide for building various GUI-oriented scripts.
If you have worked with Tkinter in Python, you might be familiar with the concept of putting layer upon layer, or boxes within boxes, placed with a coordinate system. It's helpful to know but not at all a requirement. Let's dig in!
For some forms it is helpful to enter this at the start:
[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
Main window
Labels
Textbox
Button with function
Sunday, June 4, 2023
iPhone: How to downgrade iOS
Prerequisites
If you for some reason want to reinstall the OS manually on your iPhone it is possible. Perhaps you experienced issues with the copy of software that you upgraded to or perhaps you just need get an older version of the OS.
For those that do jailbreaking of an iPhone it requires certain versions of the iOS installed for example.
The important detail is that the software that you install manually has to be signed by Apple. The software is available to download on ipsw.me. There you will see if the software is signed or not. If the version you want is not signed it will not work, there are guides on how to bypass it out there, but I haven't tried them myself yet.
While downloading a copy of the iOS you also need iTunes installed on your computer.
Manually installing iOS
To install the iOS manually you simply connect your phone, put it in recovery mode (each model has a combination of the buttons that you have to press in order to enter "DFU mode"). You will now have the option of "restore" your iPhone.
Make sure to shift click the restore button in order to manually choose the software that you want to write to the iPhone.
It will then extract and install the software.