Posts

Showing posts from July, 2024

How to create your own Linux Distro #linuxdistro #linux

 Creating your own hacking distribution is a complex task that involves several steps, including choosing a base Linux distribution, selecting and configuring software tools, ensuring security and stability, and possibly creating custom scripts and interfaces. Here's a high-level guide to get you started: ### Step 1: Choose a Base Distribution Select a stable and customizable Linux distribution as your base. Popular choices include: - **Debian:** Known for its stability and wide range of available software. - **Ubuntu:** User-friendly and has a large community for support. - **Arch Linux:** Highly customizable and lightweight, but requires more manual setup. ### Step 2: Set Up Your Environment Install the base distribution on a virtual machine, spare computer, or dedicated partition on your main machine. ### Step 3: Install Essential Tools You’ll need to install various tools for different hacking purposes. Some commonly used tools include: - **Network Analysis:**   - Wireshark   -

Run python script from anywhere in terminal #linux #linuxcommands #kalilinux #scripts

 Step:1 Add the path of your python folder or file to environment variables in linux just open ~/.zshrc or ~/.bashrc with any txt editor and how u know that what shell u are using just type echo $0 or echo $SHELL u will get your shell name if bash then update ~/.bashrc or if zsh then update ~/.zshrc. Step:2 source ~/.zshrc or ~/.bashrc Step:3 Make sure that in your python file this shebang is adder #!/usr/bin/env python3. Step:4 Now u are ready to go just reboot if not working.

Immich Installation #immichphotossolution #googlephotosalternative #immich

 Github Repo for Immich https://github.com/immich-app/immich Demo for Immich Desktop https://demo.immich.app/ Mobile https://demo.immich.app/api CTRL+S to Save the documents below or Right Click and Save As.. docker-compose.yml https://raw.githubusercontent.com/imm... .env https://raw.githubusercontent.com/imm... .env envrioment variable to use localhost VITE_SERVER_ENDPOINT=http://192.168.x.xxx:2283/api' Immich-CLI https://github.com/immich-app/CLI GitClone Command git clone https://github.com/alextran1502/immic... Install Dependencies npm install Run npm run build Run the Photo Upload node bin/index.js upload --email testuser@email.com --password password --server http://192.168.x.xxx:2283/api -d X:\Your\photos\to\upload https://www.youtube.com/watch?v=BgryM8fucQY

SElinux - Security for web server , database server , file servers & network servers etc. #security

 SELinux can be a powerful tool for enhancing the security of your Linux system. Here's how you can use SELinux and where it’s typically applied: ### How to Use SELinux 1. **Check SELinux Status**:    - You can check the current status of SELinux with the following command:      ```bash      sestatus      ```    - Alternatively, you can use:      ```bash      getenforce      ```      This command will show you the current mode (Enforcing, Permissive, or Disabled). 2. **Change SELinux Mode**:    - To temporarily change the SELinux mode, use:      ```bash      setenforce [Enforcing|Permissive]     setenforce 0 - Permissive/Disable     setenforce 1 - Enable      ```    - For a permanent change, you need to modify the SELinux configuration file:      ```bash      sudo nano /etc/selinux/config      ```      Change the line `SELINUX=` to your desired mode (e.g., `SELINUX=enforcing`). 3. **Managing SELinux Policies**:    - **List Installed Policies**: Use `semanage` to list and manage SEL

How to block advertising on my network using raspberry pi 4 #raspberrypi #blockadvertisement #adblocker #blockad #ad

 Using a Raspberry Pi 4 to block advertising on your network is commonly done by setting up a Pi-hole. Pi-hole acts as a network-wide ad blocker, filtering out unwanted content before it reaches your devices. Here's a step-by-step guide to set up Pi-hole on your Raspberry Pi 4: ### Requirements - Raspberry Pi 4 - microSD card (8GB or larger) - Power supply for Raspberry Pi - Network connection (Ethernet or Wi-Fi) - Optional: Case for Raspberry Pi ### Step-by-Step Guide #### 1. Prepare the microSD Card 1. **Download Raspberry Pi OS:**    - Go to the [Raspberry Pi website](https://www.raspberrypi.org/downloads/) and download Raspberry Pi OS (Lite version is recommended for Pi-hole). 2. **Flash the OS to the microSD Card:**    - Use a tool like [Balena Etcher](https://www.balena.io/etcher/) to flash the downloaded OS image to the microSD card. 3. **Enable SSH:**    - After flashing the OS, create an empty file named `ssh` (without any extension) in the boot partition of the microSD ca

How to enable ssh in raspberry pi in boot partition in any media drive or flash drive #ssh #raspberrypi

  Enable SSH: After flashing the OS, create an empty file named ssh (without any extension) in the boot partition of the microSD card. This enables SSH access. After Booting Connect to the Raspberry Pi: Find the IP address of the Raspberry Pi on your network. You can use a network scanner or check your router’s connected devices list. SSH into the Raspberry Pi using a terminal (replace pi_ip_address with the actual IP address): sh ssh pi@pi_ip_address The default password is raspberry .

Android OS #os #operatingsystem

1.Lineage OS - https://lineageos.org/ 2.Graphene OS - Only Supports Pixel Phones 3.Androidx86 https://www.android-x86.org/

Microsoft Office Activation Key #windows

Image
irm https://get.activated.win | ex

Resize icons on taskbar: Move taskbar to top of screen #windows

👋 Additional resources - Resize icons on taskbar: Location in registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced Click New and then DWORD (32-bit) Value Set the name of the DWORD Value as “TaskbarSi” and hit the Enter key to save changes. Small taskbar – TaskbarSi value 0 Default taskbar – TaskbarSi value 1 Large taskbar – TaskbarSi value 2 - Move taskbar to top of screen Location in registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3 00 - Left (this doesn't currently work) 01 - Top 02 - Right (this doesn't currently work) 03 - Bottom - TaskbarXI: https://github.com/ChrisAnd1998/Taskb...

Ventoy Themes #usb

 Big Sur ventoy theme Vimix

USB Toolkit u need #usb #iso

 ISO files are disk images that can be used for a variety of purposes, including system recovery, operating system installation, and software deployment. Here are some of the important ISO files you might consider for recovery and other tasks: ### Operating System Recovery ISOs 1. **Windows Installation Media**:    - **Windows 10/11 ISO**: Official Windows installation media which can be used to reinstall Windows, repair system files, and troubleshoot startup issues.    - Download from [Microsoft's official website](https://www.microsoft.com/software-download/windows10). 2. **Linux Distributions** :    - **Ubuntu Live CD**: A popular Linux distribution that offers a live environment to troubleshoot, repair, or reinstall Linux systems.    - Download from [Ubuntu's official website](https://ubuntu.com/download/desktop).    - **Fedora Live CD**: Another Linux distribution known for its cutting-edge features and stability.    - Download from [Fedora's official website](https://

Ventoy - Boot Drive - Multiple Boot Drive #usb

  The ULTIMATE USB Boot Drive (youtube.com) Support theme Go to gnome-look.org grub themes right side choose the themes especially download for ventoy. Download the ventoy theme and copy to drive along with ISOs. Most of the theme don't have premade ventoy themes download. Here is how you do it. case sensitive - create a folder to a usb drive with name of ventoy. ventoy themes then paste the downlaod back cd .. then create ventoy.json { "theme": { "file": "ventoy/themes/Vimix/theme .txt"         } } Its supports json file:-

A windows recovery drive us fresh installation of windows #windows #usbtools #usb

 A recovery drive and a fresh installation of Windows serve different purposes and processes for restoring or setting up the Windows operating system. Here’s a breakdown of the differences: ### Recovery Drive A recovery drive is a special type of storage device (usually a USB drive) that contains a copy of your system’s recovery partition. It can be used to troubleshoot and fix problems with your Windows installation or to restore your system to a previous state. **Key Points**: 1. **Purpose**:    - To repair your existing Windows installation.    - To restore your computer to factory settings or a previous backup state. 2. **Contents**:    - System recovery tools.    - A copy of the system image (if created).    - Troubleshooting options such as System Restore, System Image Recovery, and Startup Repair. 3. **Usage**:    - Boot from the recovery drive to access recovery tools.    - Use it to repair or recover your Windows installation without losing your personal files (in some cases).

Win + R Commands For Settings , Control Panel Applets #windows

Sure! Here's the list with headings bolded for clarity: ### **System Settings** - **About**:   ```   ms-settings:about   ``` - **Bluetooth**:   ```   ms-settings:bluetooth   ``` - **Display Settings**:   ```   ms-settings:display   ``` - **Network & Internet**:   ```   ms-settings:network   ``` - **Personalization**:   ```   ms-settings:personalization   ``` - **Power & Sleep**:   ```   ms-settings:powersleep   ``` - **Privacy Settings**:   ```   ms-settings:privacy   ``` - **System**:   ```   ms-settings:system   ``` - **Time & Language**:   ```   ms-settings:timelanguage   ``` - **Update & Security**:   ```   ms-settings:windowsupdate   ``` - **Ease of Access**:   ```   ms-settings:easeofaccess   ``` ### **Control Panel Applets** - **Control Panel**:   ```   control   ``` - **Add or Remove Programs**:   ```   appwiz.cpl   ``` - **Administrative Tools**:   ```   control admintools   ``` - **AutoPlay**:   ```   control /name Microsoft.AutoPlay   ``` - **BitLocker Dr

How to change the location of screenshot in windows 10/11? #windows

 To change the default location where screenshots are saved in Windows 10, you can follow these steps: For Screenshots Taken with the Print Screen Key Open the Pictures Library : Open File Explorer and go to the "Pictures" library. Locate the Screenshots Folder : Find the "Screenshots" folder. By default, this is where screenshots are saved. Move the Screenshots Folder : Right-click the "Screenshots" folder and select "Properties". Go to the "Location" tab. Click the "Move..." button. Choose the new location where you want the screenshots to be saved. Click "Select Folder", then click "Apply". Confirm the Move : A prompt will appear asking if you want to move all of the files from the old location to the new location. Click "Yes". For Screenshots Taken with Snipping Tool or Snip & Sketch Screenshots taken with Snipping Tool or Snip & Sketch typically prompt you to choose a save location wh

Immuntable Linux Distro

silver blue ,  arkane linux ,  nix os   immunatable os 

Customize windows #windows #windowscustomization part - 1

 Rainmeter.net rainmeter skins - https://rainmeterhub.com/ or https://www.deviantart.com/ vsthemes.org - search for white neon 2 - then download files visualskins.com - mond click it on - then download this - monetary github wallpaperflare.com - for wallpapers then open rainmeter Spider man desktop themes https://www.youtube.com/watch?v=4e36T1Pjpoc All Links - https://techrifle.com/smlw/ Spiderman Theme ZIP File mega link including rainmeter widgets dock icons  - https://mega.nz/file/wAZD1TSD#hRfiFx9wFS5AkMOQe4QMEJrcw4gh4wRTMtKjUft4KR8 Dock Download link - https://www.winstep.net/nexus.asp Roundtb - for taskbar customization

How to make your pc asthetics ? #windows

 Making your PC aesthetic involves customizing various aspects of your user interface, desktop environment, and overall system appearance. Here are some steps you can follow to make your PC look more visually pleasing: ### 1. **Choose a Theme** - **Windows Themes**: Go to Settings > Personalization > Themes. You can select from pre-installed themes or download new ones from the Microsoft Store. - **Third-Party Themes**: Tools like Rainmeter can allow for more in-depth customization, though they require more setup and may involve modifying system files. ### 2. **Customize Your Wallpaper** - **High-Resolution Wallpapers**: Choose a high-quality wallpaper that suits your aesthetic. Websites like Unsplash, Pexels, and Wallpaper Engine on Steam offer a wide range of options. - **Dynamic Wallpapers**: Apps like Wallpaper Engine allow for animated and dynamic wallpapers that can add a unique look to your desktop. ### 3. **Modify Taskbar and Start Menu** - **Taskbar Settings**: Right-cli

How to disable taskview in windows #windows

 Just in taskbar right click  and you will get the option of task view un the taskview option

How to check the gpt or mbr partition which one is your using? #windows #cmd

Method 1   Go to disk management disk 0 properties and explore options to find that Method 2 Open Powershell type this command - Get-Disk

How to install windows in a usb drive as live and can save data from that anywhere i take that? #windows

Rufus Windows ISO Run Rufus Then in boot selection option just choose Disk or an ISO Image - Important step Then Choose Image to go - another important step Or You can use software like win to usb [Official] Best Free Windows To Go Creator Wizard Helps Create Portable Windows 11/10/8/7! (easyuefi.com) Use windows 10 home in usb installation for lighter version

How to add clock widget in windows 10 #windows #time

1. https://8gadgetpack.net/ Download the widget Scan from totalvirus for safety purposes 2. Download rainmeter.net Download  Elegant Clock Rainmeter Skin (visualskins.com) Download Wallpaper -  Vector Wallpaper 3440x1440 by FriekDesign on DeviantArt

How to Hide Time and Date from Taskbar on Windows 10? #windows

 Taskbar Settings Notification Area Turn System Icons Turn on or off

how to remove Keyboard layout widget in Windows taskbar #windows

Method 1 Settings  Time and Language Typing  Advance Keyboard Settings Language Bar Options Hidden Then in advance keyboard settings choose use the desktop language bar when its avliable Method 2 Settings  Time and Language Typing  Language& Region Remove The Language Advance Keyboard Settings Language Bar Options Hidden

how to remove News and Interests" widget in Windows taskbar #windows

 Right Click in taskbar  News and Interest  Turn off from taskbar

how to make my taskbar apps in center in windows 10 - TaskbarX Github #windows

 To center the taskbar icons in Windows 10, you can use a third-party tool like TaskbarX or FalconX. These utilities allow you to customize the taskbar by centering the icons, adjusting their spacing, and even applying animations. Here’s a general guide using TaskbarX: 1. **Download and Install TaskbarX**:    - Go to the TaskbarX GitHub repository or the developer's website.    - Download the latest version of TaskbarX.    - Install the application by following the on-screen instructions. 2. **Configure TaskbarX**:    - Once installed, open TaskbarX.    - You may see a default configuration applied immediately.    - If not, you can configure the settings by right-clicking the TaskbarX icon in the system tray and selecting "Edit settings" or similar option. 3. **Adjust Settings**:    - In the settings window, you can customize various aspects such as:      - **Taskbar Centering**: Set to center icons horizontally or vertically.      - **Icon Spacing**: Adjust the space bet

DD #server #backup- like rsync

 `dd` is a command-line utility for Unix-like operating systems, including Linux distributions such as Raspberry Pi OS. It is used for low-level copying and conversion of raw data. Fortunately, `dd` is typically pre-installed on most Unix-like systems, including Raspberry Pi OS.  To check if `dd` is installed, you can simply run it from the command line: ```sh dd --version ``` If `dd` is not installed (which is unlikely), you can install it by ensuring that the `coreutils` package is installed, as `dd` is a part of this package. Here’s how to install it: 1. **Update the package list:**     ```sh     sudo apt update     ``` 2. **Install `coreutils`:**     ```sh     sudo apt install coreutils     ``` 3. **Verify the installation:**     ```sh     dd --version     ``` This should ensure that `dd` is installed and ready to use on your Raspberry Pi. `dd` is a powerful command-line tool used for copying and converting data. Below are some common use cases and examples to help you get started:

Automation and Scripting #startup #linuxstartup crontab = cronjob | Startup scripts

  Automation and Scripting Cron Jobs : Automate tasks using cron jobs. Edit cron jobs using crontab -e . Startup Scripts : Add scripts to /etc/rc.local or create systemd services for programs you want to run on startup. To run programs or scripts at startup on a Linux system, you can use either the `/etc/rc.local` file or create systemd services. Here's how to use both methods: ### Method 1: Using `/etc/rc.local` The `/etc/rc.local` file is a traditional way to run commands at startup. Note that in some modern Linux distributions, this file may not exist by default, but you can create it. #### Step 1: Create or Edit `/etc/rc.local` 1. Open a terminal. 2. Edit the `/etc/rc.local` file using a text editor (you need superuser privileges):    ```sh    sudo nano /etc/rc.local    ``` #### Step 2: Add Your Commands 1. Add your startup commands or scripts to the file. Ensure the file starts with the shebang (`#!/bin/sh -e` or `#!/bin/bash`) and ends with `exit 0`.    ```sh    #!/bin/sh -e

How to fix - REMOTE HOST IDENTIFICATION HAS CHANGED! in ssh

 The error message you're seeing indicates that the host key for the SSH server at `10.71.77.3` has changed since the last time you connected to it. This could happen for legitimate reasons (like the server being reinstalled or reconfigured) or potentially due to a security issue (like a man-in-the-middle attack). Here’s how you can fix this issue: 1. **Remove the offending key**: Follow the suggestion in the error message to remove the offending key from your `known_hosts` file. In your case, the offending key is identified on line 6 of `/home/maverick/.ssh/known_hosts`.    To remove the key, run the following command in your terminal:    ```    ssh-keygen -f '/home/maverick/.ssh/known_hosts' -R '10.71.77.3'    ```    This command removes the entry for `10.71.77.3` from your `known_hosts` file, allowing you to establish a new connection without encountering the warning. 2. **Establish the connection**: After removing the old key, try to SSH again to `10.71.77.3`:

How to use my laptop as Secondary Monitor #windows

 To use your laptop as a secondary monitor, you can use the built-in Windows feature called **Projecting to this PC** or third-party software. Here’s how you can set it up using both methods: ### Using Windows 10/11 Built-in Feature: #### On the Laptop (Secondary Monitor): 1. **Enable Projecting to this PC:**    - Go to `Settings > System > Projecting to this PC`.    - Set `Some Windows and Android devices can project to this PC when you say it's OK` to `Available everywhere`.    - Set `Ask to project to this PC` to `Every time a connection is requested` or `First time only` based on your preference.    - Configure `Require PIN for pairing` if you want additional security. 2. **Launch Connect App:**    - Type `Connect` in the search bar and open the `Connect` app. Your laptop is now ready to receive a projection. #### On the Primary PC: 1. **Connect to the Secondary Monitor:**    - Press `Win + P` on your keyboard to open the Project menu.    - Select `Extend` to use the lapt