Skip to content

Instantly share code, notes, and snippets.

@jayluxferro
jayluxferro / Kali_Desktop_Environments_Installation_and_Removal.md
Last active July 6, 2024 16:33
Kali Desktop Environments Installation and Removal

XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

@jayluxferro
jayluxferro / List_of_Hacking_Websites_and_Forums.md
Last active June 14, 2024 19:38
List of Hacking Websites and Forums
@jayluxferro
jayluxferro / kali-apt-key-deprecation-fix.md
Created October 13, 2022 15:22
Fix for Kali apt-key deprecation warning when updating system

Run the command below to fix apt-key deprecation warning in Kali

sudo apt-get update

sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
 lsb-release
@jayluxferro
jayluxferro / WireGuardInstaller.sh
Last active August 21, 2023 23:09
WireGuard Installer
#!/bin/bash
if [ $(whoami) != 'root' ]; then
echo 'Please run as root'
exit 1
fi
# install wireguard
apt install resolvconf wireguard wireguard-tools -y
@jayluxferro
jayluxferro / Aircrack Commands
Last active August 22, 2022 23:14 — forked from victorreyesh/Aircrack Commands
Cracking WPA2 / WEP Wifi / Aircrack 10 seconds guide. For Mac OSX
//Install Macports.
//Install aircrack-ng:
sudo port install aircrack-ng
//Install the latest Xcode, with the Command Line Tools.
//Create the following symlink:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
//Figure out which channel you need to sniff:
sudo airport -s
sudo airport en1 sniff [CHANNEL]
@jayluxferro
jayluxferro / OpenWrt_Virtualbox.md
Created June 13, 2018 12:45
OpenWrt Virtualbox
  1. Download and install VirtualBox
  2. Get an OpenWrt image:
  3. Either use an existing image,
  4. Download the generic combined image for x86 (32-bit), e.g. chaos_calmer/15.05.1/x86/) LEDE 17.01.1 x86
  5. Download the generic combined image for x86_x64 (64-bit), e.g. chaos_calmer/15.05.1/x86/64) LEDE 17.01.1 x86_x64
  6. Uncompress the image if needed: gunzip openwrt.img.gz
  7. Convert it to native VirtualBox format:
VBoxManage convertfromraw --format VDI openwrt.img openwrt.vdi (in virtualbox version 5.0.12 the "--format VDI" is at the end of command)
@jayluxferro
jayluxferro / ExpandDefenderSig.ps1
Created March 28, 2019 21:21 — forked from mattifestation/ExpandDefenderSig.ps1
Decompresses Windows Defender AV signatures for exploration purposes
filter Expand-DefenderAVSignatureDB {
<#
.SYNOPSIS
Decompresses a Windows Defender AV signature database (.VDM file).
.DESCRIPTION
Expand-DefenderAVSignatureDB extracts a Windows Defender AV signature database (.VDM file). This function was developed by reversing mpengine.dll and with the help of Tavis Ormandy and his LoadLibrary project (https://github.com/taviso/loadlibrary). Note: Currently, "scrambled" databases are not supported although, I have yet to encounter a scrambled database. Thus far, all databases I've encountered are zlib-compressed.
@jayluxferro
jayluxferro / ClusterSize.py
Created March 3, 2021 11:25
Cluster size for wireless networks
#!/usr/bin/env python
list = []
def n(i, j):
return (i ** 2) + (j ** 2) - (i * j)
for x in range(1, 11):
for y in range(x + 1):
_n = n(x, y)
@jayluxferro
jayluxferro / pcap2wav
Created May 4, 2019 19:52 — forked from avimar/pcap2wav
Convert raw PCAP files into a .wav file
#!/bin/bash
#
# pcap2wav
# Original Author: Michael Collins <msc@freeswitch.org>
#Standard disclaimer: batteries not included, your mileage may vary...
# Updated by Avi Marcus <avi@bestfone.com>
#
# Accepts arg of pcap file w/only 2 RTP streams
# Creates a .<codec> file and a .wav file
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s)
@jayluxferro
jayluxferro / binwalk_installer.sh
Last active October 18, 2020 21:54
binwalk installer
#!/bin/bash
# root access
if [ $(whoami) != 'root' ];
then
echo 'Please run as root'
exit 1
fi
apt-get install python3 python3-pip python3-crypto python3-numpy python3-scipy python3-pip mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools sleuthkit default-jdk lzop srecord zlib1g-dev liblzma-dev liblzo2-dev git -y