Posts

Enable WIFI ADAPTER Monitor Mode in Kali Linux

Connect the WIFI adapter and add it in VirtualBox USB Settings TP-Link TL-WN725N 150Mbps Wireless N Nano USB Adapter https://www.amazon.in/gp/product/B008IFXQFU Check the Adapter Chippet lsusb Bus 001 Device 002 : ID 2357 : 0109 TP-Link TL-WN823N v2 / v3 [Realtek RTL8192EU] Bus 001 Device 001 : ID 1 d6b: 0002 Linux Foundation 2 . 0 root hub Bus 002 Device 002 : ID 80 ee: 0021 VirtualBox USB Tablet Bus 002 Device 001 : ID 1 d6b: 0001 Linux Foundation 1 . 1 root hub Find Appropriate Driver for Realtek RTL8192EU from GitHub https://github.com/clnhub/rtl8192eu-linux Install the dependencies sudo apt install linux-headers-generic build-essential dkms git Clone the Driver git clone https://github.com/clnhub/rtl8192eu-linux.git Configure the Architecture and Monitor Mode Open MakeFile in Text Editor or Nano If you're using a different architecture than x86, the set (MakeFile) CONFIG_PLATFORM_I386_PC = n set your architecture CONFIG_PLATFORM_ARM_AARCH64

How to Run VirtualBox Guest OS (E.g. Kali Linux) in Command Mode?

Running VirtualBox Guest OS (E.g. Kali Linux) in Command Mode will consume less resources comparing GUI mode. This can be achieved by using VBoxManager CLI Command and Headless Mode of Guest OS. Follow the given below instructions for activating Guest OS, Set the PATH variable for VirtualBox in Windows Goto Environment Variables and then edit Path variable Add this path: C:\Program Files\Oracle\VirtualBox Ensure that VBoxSDS Service is running or not (if not running run the below command in Admin Command Windows) sc config VBoxSDS start=demand To Display ALL Guest OS vboxmanage list vms To Start Guest OS through Command Mode VBoxManage.exe startvm Guest_OS_Name E.g. VBoxManage.exe startvm "Kali Linux" To Start the Guest OS in Headless Mode VBoxManage startvm "Kali Linux" --type headless Now you can access Kali Linux through SSH in your Host OS ssh username@kali_ip_address To Shutdown the Guest OS VBoxManage controlvm "Kali Linux&quo

Setup SSH Server in Ubuntu or Virtualbox Guest OS

To Install SSH Server in Ubuntu apt install openssh-server To check the status of the service you can use: systemctl status ssh.service SSH Service Commands To start the servcie systemctl start ssh.service To stop the servcie systemctl stop ssh.socket To enable the servcie systemctl enable ssh.service To disable the servcie systemctl disable ssh.service For temporarily start up of SSH service systemctl start ssh.socket systemctl stop ssh.socket Connect to SSH Server (From Client) ssh username@ipaddress Download Link for SSH GUI Client Bitvise Clinet: https://www.bitvise.com/ssh-client-download

How to add or remove plugins to Redmine Project Management Software?

Download the plugin: You can either download the plugin from the Redmine plugin directory or from a third-party source. https://www.redmine.org/plugins https://github.com/haru/redmine_code_review/releases/tag/1.1.0 Install the plugin: Extract the Archive file and Place the plugin in the "plugins" directory of your Redmine installation. The path should look like "redmine_root/plugins/". sudo cp -r redmine_code_review/ /opt/redmine/plugins Restart Redmine: Restart the Redmine application and Apache web Server to ensure that it recognizes the new plugin. cd /opt/ redmine/ sudo rake redmine: plugins: migrate RAILS_ENV=production sudo sudo systemctl reload apache2 Activate the plugin: Log in to your Redmine application as an administrator, then go to the "Administration" section and click on "Plugins". Find the newly installed plugin and click on the "Configure" link to activate it. Configure the plugin: Some plugins may

Using ChatGPT in Python Programming

ChatGPT is a powerful language model developed by OpenAI that can generate human-like text. It can be used for a variety of tasks such as language translation, text summarization, and conversation generation. In this document, we will go over the basics of using ChatGPT. Prerequisites In order to use ChatGPT, you will need to have Python 3 and the OpenAI API key. You can sign up for a free API key on the OpenAI website. Installation To use ChatGPT, you will need to install the openai python package. You can do this by running the following command: import openai openai .api_key = "YOUR_API_KEY" prompt = "Write a short story about a robot" completions = openai .Completion .create ( engine= "text-davinci-002" , prompt=prompt, max_tokens= 1024 , n= 1 , stop=None, temperature= 0.5 , ) message = completions .choices [ 0 ] .text print (message) In this example, we are using the text-davinci-002 engine, which is the latest ve

How to Install Sublime Text in Ubuntu or Kali Linux ?

Run ALL the given below commands in Terminal Install the GPG key wget -qO - https: // download.sublimetext.com /sublimehq-pub.gpg | gpg --dearmor | sudo tee / etc /apt/ trusted.gpg.d /sublimehq-archive.gpg > / dev /null Add stable channel from official website echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources. list .d/sublime- text . list Update apt sources bash sudo apt-get update Ensure that apt is set up to work with https sources sudo apt- get install apt-transport- https Install Sublime Text: sudo apt- get install sublime- text

Installing Kali Linux in Windows 11 using WSL2

Image
Kali Linux is the powerful operating system for penetrate testing and ethical hacking. You can install Kali Linux in three ways, Install along with Windows (Dual Boot) Install using Virtual Machine (VMWare or Virtual Box) Install using WSL2 (Windows Subsystem for Linux) This post explains how to install Kali Linux in Windows 11 using WSL2. Prerequisites: Running Windows 10 version 2004 or higher Open PowerShell as administrator and run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Restart the Windows OS Open PowerShell as administrator and run: dism.exe /online / enable-feature /featurename:VirtualMachinePlatform / all /norestart dism.exe /online / enable-feature /featurename:Microsoft-Windows-Subsystem-Linux / all /norestart Restart the Windows OS Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel Open PowerShell as administrator and run: wsl -- set - default -version 2 Install Kali Linux from the