
Soluții
Forensic Analysis with SleuthKit and Autopsy on Kali Linux
[mai mult...]AI deployment solution – Chatbox
Chatbox AI is an AI client application and smart assistant. Compatible with many cutting-edge AI models and APIs.Assuming you have Ollama running on a machine locally, you can access it from any device connected to your local network by a web browser interface.
[mai mult...]How to use QEMU to boot another Operating System
- How to Run Windows 11 in a Virtual Machine
You’ll need a place to install the legacy system inside QEMU, and for that you’ll need a virtual C: drive. In DOS, just as in Windows, drives are represented as letters. A: and B: are the first and second floppy disk drives, and C: is the first hard drive. Other media, including other hard drives or CD-ROM drives, are assigned D:, E:, and so on.
Under QEMU, virtual drives are image files. To initialize a file that you can use as a virtual C: drive, use the qemu-img
command. To create an image file that’s about 200MB, type this:
$ qemu-img create image.img 200M
You should get an output reading something like “Formatting ‘image.img’, fmt=raw size=209715200” in your terminal.
1. The Command to Start QEMU
To emulate a legacy PC system (from before Windows 7, typically), use qemu-system-i386
. To emulate a more modern system, use qemu-system-x86_64
instead.
2. The Virtual Disk
Use -hda imagefile
to tell QEMU to use imagefile as the hard drive image. This should be the same virtual disk you defined with the qemu-img
command.
3. The Boot ISO
Set -cdrom isofile
to define the CD-ROM or DVD image file. For example, this might be the bootable ISO image to install Linux, Windows, or another operating system.
4. The Memory Amount
Set the amount of memory in the virtual machine with the -m size
option. If you do not explicitly set this, QEMU defaults to 128 MB. You can also append a suffix of M
or G
to specify the memory in MB or GB.
5. The Boot Order
Use -boot [options]
to specify the order that QEMU should look for bootable devices. For example, set -boot order=dc
to tell QEMU to try the CDROM ( d
) first, then the hard drive ( c
).
Now that we have the essentials to start a virtual machine with QEMU, we can put it all together on a single command line to create and boot your virtual machine!
Let’s try it with an example: installing a copy of the FreeDOS operating system. FreeDOS is an open source DOS-compatible operating system that you can use to run legacy business software and other DOS applications. Any program that works on MS-DOS should also run on FreeDOS.
First, download a copy of the FreeDOSinstall CD-ROM from the FreeDOS website. At the time of writing, the latest version is FreeDOS 1.3, so our file will be named FD13LIVE.iso.
$ qemu-img create image.img 200M
Use that virtual disk in the command line to start QEMU:
$ qemu-system-i386 -hda image.img -cdrom FD13LIVE.iso -m 16M -boot order=dc
And follow the prompts to install FreeDOS:
Note that you may be prompted to reboot after partitioning your C: drive. After doing that, restart the installation process to complete it.
[mai mult...]How to share Files from Mac to Android
In order to share files between your Mac and an Android device, you will need to configure each device, check their network configurations, and set up file sharing on macOS.
- First, take a few minutes to check that both your Mac and Android devices are connected to the same network.
- On your Mac, check the Wi-Fi status from the menu bar. Alternatively, you can confirm connectivity by going to System Settings > Network.
- On Android, open Settings and then typically Wi-Fi, just to confirm it’s on the same network as your Mac.
Enable File Sharing on macOS
- To start, you must first enable file sharing on macOS, so your Mac can share files with all your network devices, including Android devices.
- Open System Settings > General > Sharing, and then enable “File Sharing” in the Sharing menu.
- Select the icon to the right to open the Shared Folders configuration window, and then select “Options”. Make sure SMB File Sharing is on and also enable your account for Windows File Sharing.
When you’re finished, select “Done” to return to the Shared Folders window.
While you’re at it, you might want to add folders you want to share, add new users, and configure how they can access them.
- In order to add a shared folder, first click the “+” below the Shared Folder pane, then select the folder, and select “Open”. Once you’ve done that, you can configure access, by selecting the folder, then a user and setting access permissions, for example “Read Only” to just view folders and their content, or “Read & Write” to edit them.
- To add or remove users, select the “+” or “–” buttons at the bottom of the Users pane.
- On Android, you can access your Mac’s file shares, but it’s a little complicated to access Android stuff from Mac. The best workaround I’ve found is to copy and paste stuff on Android to a shared folder on your Mac.
I selected the Local Network option, which makes it just a little bit easier to connect to your other machines because it automatically fills in the Host (IP address) and Display Name (NetBIOS name). Then, select your Mac, enter your credentials, and select “OK”. You should now be able to access your Mac’s shared locations.
- Setting up an Android device as a Samba server isn’t as easy as it is to do on Linux. It’s easier if you have files you want to put onto your Mac from your Android device (such as screenshots), then you’re better off copying or moving them.
- To do this on File Manager +, you just browse to the device’s location, select the file, and then “Copy” or “Move”. Next, browse to the location on your Mac where you want to relocate the files, then select “Paste”.